-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathplatformio.ini
49 lines (44 loc) · 1.22 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = examples/SineWaveCAN
lib_dir = .
[env:teensy41]
platform = teensy
board = teensy41
framework = arduino
build_flags = -DIS_TEENSY_BUILTIN
[env:uno_r4_minima]
platform = renesas-ra
board = uno_r4_minima
framework = arduino
build_flags = -DIS_ARDUINO_BUILTIN
[env:uno]
platform = atmelavr
board = uno
framework = arduino
build_flags = -DIS_MCP2515
lib_deps =
https://github.com/sandeepmistry/arduino-CAN.git
[env:stm32f405]
platform = ststm32
board = adafruit_feather_f405
framework = arduino
build_flags =
-DIS_STM32_BUILTIN
; Enable serial.
; See https://github.com/platformio/platform-ststm32/issues/420#issuecomment-672277396
-USBCON
-DPIO_FRAMEWORK_ARDUINO_ENABLE_CDC
; Enable CAN module in HAL drivers.
; See https://github.com/pazi88/STM32_CAN
-DHAL_CAN_MODULE_ENABLED
lib_deps =
https://github.com/pazi88/STM32_CAN.git#1.2.0