The fault handlers blink different LEDs depending on the kind of fault: HardFault -> All MemManage -> Left of display BusFault -> Right of display UsageFault -> Left and right of display Additionally, they dump information about the fault to the flash and Serial (if connected). The information dumped to the flash can later be retrieved via Serial by sending a 'd'.
22 lines
561 B
INI
22 lines
561 B
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]
|
|
platform = atmelsam
|
|
board = due
|
|
framework = arduino
|
|
lib_deps = sebnil/DueFlashStorage@^1.0.0
|
|
|
|
[env:combustion]
|
|
src_filter = +<*> -<18estw.cpp>
|
|
|
|
[env:electric]
|
|
src_filter = +<*> -<18stw.cpp>
|