Skip to content

Commit

Permalink
tinyusb port
Browse files Browse the repository at this point in the history
  • Loading branch information
solosky committed Apr 23, 2024
1 parent 7b0ec9a commit 6fd8e63
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 295 deletions.
1 change: 1 addition & 0 deletions fw/application/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@ else
CFLAGS += -DNDEBUG
CFLAGS += -DU8G2_USE_LARGE_GB2312_FONT
endif
CFLAGS += -DCFG_TUSB_MCU=OPT_MCU_NRF5X
CFLAGS += -DMBEDTLS_CONFIG_FILE=\"nrf_crypto_mbedtls_config.h\"
CFLAGS += -DM_USE_THREAD_BACKEND=0
CFLAGS += -mcpu=cortex-m4
Expand Down
2 changes: 1 addition & 1 deletion fw/application/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ int main(void) {
#ifdef NRF52840_XXAA
//usb_init();
board_init();
tusb_init();
tud_init(BOARD_TUD_RHPORT);
#endif

NRF_LOG_DEBUG("init done");
Expand Down
Loading

0 comments on commit 6fd8e63

Please sign in to comment.