diff options
| author | hathach <[email protected]> | 2024-05-15 20:13:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-05-16 19:18:43 +0700 |
| commit | 2a67ce773dcd68f7f8c4c07fce2e6e4f7947e03d (patch) | |
| tree | 26bbab78171dbc8d63e20e4149eb3689344c94be /src | |
| parent | db60fa1c63ae58c205e43e144253dab6815bb2d1 (diff) | |
change default risv-gcc to riscv-none-elf- and add _zicsr extension
add cmake for ch32v20x, skip freertos examples for CH32V20X, also skip net webserver due to lack of RAM
update to use openocd with wlinke adapter
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/wch/dcd_ch32_usbfs.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/portable/wch/dcd_ch32_usbfs.c b/src/portable/wch/dcd_ch32_usbfs.c index 256c46696..83f625e21 100644 --- a/src/portable/wch/dcd_ch32_usbfs.c +++ b/src/portable/wch/dcd_ch32_usbfs.c @@ -201,6 +201,14 @@ void dcd_disconnect(uint8_t rhport) { USBOTG_FS->BASE_CTRL &= ~USBFS_CTRL_DEV_PUEN; } +void dcd_sof_enable(uint8_t rhport, bool en) +{ + (void) rhport; + (void) en; + + // TODO implement later +} + void dcd_edpt0_status_complete(uint8_t rhport, tusb_control_request_t const *request) { (void) rhport; if (request->bmRequestType_bit.recipient == TUSB_REQ_RCPT_DEVICE && |
