Skip to content

Commit

Permalink
Merge pull request #80 from 21km43/develop
Browse files Browse the repository at this point in the history
Add flush size on TinyUSB example
  • Loading branch information
maxgerhardt authored Jan 10, 2025
2 parents 89860b1 + a74ff94 commit 8af7925
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions examples/tinyusb-arduino/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@ board_build.core = openwch
; uncomment this to use USB bootloader upload via WCHISP
;upload_protocol = isp

[env:genericCH32V203C6T6_no_usb]
board = genericCH32V203C6T6
[env:genericCH32V203C8T6_no_usb]
board = genericCH32V203C8T6

[env:genericCH32V203C6T6_tinyusb_usbd]
board = genericCH32V203C6T6
; needs a chip with 64K FLASH, not 32K
[env:genericCH32V203C8T6_tinyusb_usbd]
board = genericCH32V203C8T6
build_flags = -DPIO_FRAMEWORK_ARDUINO_USBD

[env:genericCH32V203C6T6_tinyusb_usbfs]
board = genericCH32V203C6T6
; needs a chip with 64K FLASH, not 32K
[env:genericCH32V203C8T6_tinyusb_usbfs]
board = genericCH32V203C8T6
build_flags = -DPIO_FRAMEWORK_ARDUINO_USBFS

[env:ch32v307_evt_no_usb]
Expand Down

0 comments on commit 8af7925

Please sign in to comment.