We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89db771 commit d5318ccCopy full SHA for d5318cc
platformio.ini
@@ -31,3 +31,19 @@ framework = arduino
31
build_flags = -DIS_MCP2515
32
lib_deps =
33
https://github.com/sandeepmistry/arduino-CAN.git
34
+
35
+[env:stm32f405]
36
+platform = ststm32
37
+board = adafruit_feather_f405
38
+framework = arduino
39
+build_flags =
40
+ -DIS_STM32_BUILTIN
41
+ ; Enable serial.
42
+ ; See https://github.com/platformio/platform-ststm32/issues/420#issuecomment-672277396
43
+ -USBCON
44
+ -DPIO_FRAMEWORK_ARDUINO_ENABLE_CDC
45
+ ; Enable CAN module in HAL drivers.
46
+ ; See https://github.com/pazi88/STM32_CAN
47
+ -DHAL_CAN_MODULE_ENABLED
48
+lib_deps =
49
+ https://github.com/pazi88/STM32_CAN.git#1.2.0
0 commit comments