36 lines
1.0 KiB
INI
36 lines
1.0 KiB
INI
; 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
|
|
|
|
[env:nucleo_l432kc]
|
|
platform = ststm32
|
|
board = nucleo_l432kc
|
|
framework = zephyr
|
|
|
|
monitor_speed = 115200
|
|
|
|
upload_flags =
|
|
-c
|
|
reset_config srst_only srst_nogate connect_assert_srst
|
|
|
|
; CSV-útprentun í Operational fyrir step/load response (sjá capture_serial.py)
|
|
; build_flags = -D LOG_CSV=1
|
|
|
|
; Part 2.1: CAN bring-up test (src/can_send_test.c) instead of the motor app.
|
|
; Build/upload: pio run -e can_test -t upload
|
|
[env:can_test]
|
|
extends = env:nucleo_l432kc
|
|
build_flags = -D CAN_SEND_TEST=1
|
|
|
|
; L4.4 example (src/CAN_FRAME_TEST.c) instead of the motor app.
|
|
; Build/upload: pio run -e can_frame_test -t upload
|
|
[env:can_frame_test]
|
|
extends = env:nucleo_l432kc
|
|
build_flags = -D CAN_FRAME_TEST=1
|