🐛 Fix Artillery Ruby (startup code, build flags) (#23446)

This commit is contained in:
Kyle Hu
2022-01-06 15:54:04 +08:00
committed by Scott Lahteine
parent 4fd1de7fb7
commit f503722c45
3 changed files with 125 additions and 1 deletions

View File

@ -570,5 +570,6 @@ build_flags = ${common_stm32.build_flags}
-DSTM32F401xC -DTARGET_STM32F4 -DDISABLE_GENERIC_SERIALUSB -DARDUINO_ARCH_STM32
-DUSBD_USE_CDC_COMPOSITE -DUSE_USB_FS
-DUSB_PRODUCT=\"Artillery_3D_Printer\"
-DFLASH_DATA_SECTOR=1U -DFLASH_BASE_ADDRESS=0x08004000
extra_scripts = ${common_stm32.extra_scripts}
pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py