aboutsummaryrefslogtreecommitdiffstats
path: root/tracker-stm32/platformio.ini
blob: 1521b2c30aeeacab513ad974d2378cde2b356c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[env:hercules]
platform = ststm32
board = genericSTM32F103C8
board_build.mcu = stm32f103c8t6
board_build.f_cpu = 72000000L
upload_protocol = stlink
framework = arduino
lib_deps =
    jgromes/RadioLib@^6.0.0
    mikalhart/TinyGPSPlus@1.0.3
    arduino-libraries/SD@^1.2.4
;    koendv/STM32duino-Semihosting@1.0.5

; USB VID/PID is Openmoko Neo1973 serial
build_flags =
    -D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
    -D USBCON
    -D USBD_VID=0x1d50
    -D USBD_PID=0x5120
    -D USB_MANUFACTURER="HB9EGM"
    -D USB_PRODUCT="\"HERCULES\""