Moving USB to Output in preparation for additional Output types.
* Initial cli code
This commit is contained in:
parent
e9aa3880a6
commit
59f13f8f4f
23 changed files with 164 additions and 33 deletions
19
Output/pjrcUSB/arm/usb_mem.h
Normal file
19
Output/pjrcUSB/arm/usb_mem.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef _usb_mem_h_
|
||||
#define _usb_mem_h_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct usb_packet_struct {
|
||||
uint16_t len;
|
||||
uint16_t index;
|
||||
struct usb_packet_struct *next;
|
||||
uint8_t buf[64];
|
||||
} usb_packet_t;
|
||||
|
||||
usb_packet_t * usb_malloc(void);
|
||||
void usb_free(usb_packet_t *p);
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue