moved USB directory

This commit is contained in:
true 2024-11-06 20:12:48 -08:00
parent 74961268f5
commit 2bee391469
6 changed files with 29 additions and 17 deletions

View File

@ -18,7 +18,7 @@
#include "usb_prop.h" #include "usb_prop.h"
#include "usb_pwr.h" #include "usb_pwr.h"
#include "../../user/usb/cdc.h" #include "periph/usb/cdc.h"

View File

@ -16,7 +16,7 @@
#include "usb_desc.h" #include "usb_desc.h"
#include "usb_pwr.h" #include "usb_pwr.h"
#include "../../user/usb/cdc.h" #include "periph/usb/cdc.h"

View File

@ -5,9 +5,21 @@
* *
* version 0.0.1 * version 0.0.1
* *
*
* notes: * notes:
* *
* - last 2K of flash memory is reserved for configuration storage * - last 2K of flash memory is reserved for configuration storage
*
*
* project todo:
*
* - implement config storage
*
* - implement USB CDC commmand shell
*
* - when USB is not active, go into super low power state
* - light sensor is only checked once every two seconds or so
* - buttons are on wakeup
*/ */
#include <ch32v20x.h> #include <ch32v20x.h>
@ -19,7 +31,7 @@
#include "periph/rgbled.h" #include "periph/rgbled.h"
#include "periph/rtc.h" #include "periph/rtc.h"
#include "usb/cdc.h" #include "periph/usb/cdc.h"
#include "usb_lib.h" #include "usb_lib.h"