usb communication (device side) refactoring

* merge cmd.c into usb_cdc.c
* move back usb_cdc.[ch] to common/
* declare low level functions usb_read() and usb_write() and more functions as static
* use cmd_receive() in bootrom.c and appmain.c
* remove unused memory wasting csrTab[100] in usb_cdc.c
* replace more byte_t by uint8_t
* more whitespace fixes
This commit is contained in:
pwpiwi 2020-01-11 22:10:40 +01:00
commit 867e10a5fd
23 changed files with 98 additions and 195 deletions

View file

@ -20,7 +20,6 @@
#include "fpgaloader.h"
#include "proxmark3.h"
#include "usb_cdc.h"
#include "cmd.h"
#include "protocols.h"
#include "apps.h"