Postmortem Debugging to serial port (#20492)
This commit is contained in:
@@ -64,6 +64,7 @@ default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
||||
-<src/sd/usb_flashdrive/Sd2Card_FlashDrive.cpp>
|
||||
-<src/sd/cardreader.cpp> -<src/sd/Sd2Card.cpp> -<src/sd/SdBaseFile.cpp> -<src/sd/SdFatUtil.cpp> -<src/sd/SdFile.cpp> -<src/sd/SdVolume.cpp> -<src/gcode/sd>
|
||||
-<src/HAL/shared/backtrace>
|
||||
-<src/HAL/shared/cpu_exception>
|
||||
-<src/HAL/shared/eeprom_if_i2c.cpp>
|
||||
-<src/HAL/shared/eeprom_if_spi.cpp>
|
||||
-<src/feature/babystep.cpp>
|
||||
@@ -223,6 +224,8 @@ YHCB2004 = red-scorp/LiquidCrystal_AIP31068@^1.0.4, red-scorp/Sof
|
||||
HAS_TFT_LVGL_UI = lvgl=https://github.com/makerbase-mks/LVGL-6.1.1-MKS/archive/master.zip
|
||||
src_filter=+<src/lcd/extui/lib/mks_ui>
|
||||
extra_scripts=download_mks_assets.py
|
||||
POSTMORTEM_DEBUGGING = src_filter=+<src/HAL/shared/cpu_exception> +<src/HAL/shared/backtrace>
|
||||
build_flags=-funwind-tables
|
||||
MKS_WIFI_MODULE = QRCode=https://github.com/makerbase-mks/QRCode/archive/master.zip
|
||||
HAS_TRINAMIC_CONFIG = TMCStepper@~0.7.1
|
||||
src_filter=+<src/feature/tmc_util.cpp> +<src/module/stepper/trinamic.cpp> +<src/gcode/feature/trinamic/M122.cpp> +<src/gcode/feature/trinamic/M906.cpp> +<src/gcode/feature/trinamic/M911-M914.cpp>
|
||||
@@ -637,14 +640,6 @@ platform = atmelsam
|
||||
extends = env:DUE
|
||||
board = dueUSB
|
||||
|
||||
[env:DUE_debug]
|
||||
# Used when WATCHDOG_RESET_MANUAL is enabled
|
||||
platform = atmelsam
|
||||
extends = env:DUE
|
||||
build_flags = ${common.build_flags}
|
||||
-funwind-tables
|
||||
-mpoke-function-name
|
||||
|
||||
#
|
||||
# Archim SAM
|
||||
#
|
||||
@@ -662,12 +657,6 @@ extra_scripts = ${common.extra_scripts}
|
||||
platform = ${common_DUE_archim.platform}
|
||||
extends = common_DUE_archim
|
||||
|
||||
# Used when WATCHDOG_RESET_MANUAL is enabled
|
||||
[env:DUE_archim_debug]
|
||||
platform = ${common_DUE_archim.platform}
|
||||
extends = common_DUE_archim
|
||||
build_flags = ${common_DUE_archim.build_flags} -funwind-tables -mpoke-function-name
|
||||
|
||||
#################################
|
||||
# #
|
||||
# SAMD51 Architecture #
|
||||
@@ -763,6 +752,8 @@ lib_ignore = SPI, FreeRTOS701, FreeRTOS821
|
||||
lib_deps = ${common.lib_deps}
|
||||
SoftwareSerialM
|
||||
platform_packages = tool-stm32duino
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/fix_framework_weakness.py
|
||||
|
||||
#
|
||||
# STM32F103RC
|
||||
@@ -788,7 +779,7 @@ build_flags = ${common_stm32f1.build_flags}
|
||||
-DUSE_USB_COMPOSITE
|
||||
-DVECT_TAB_OFFSET=0x2000
|
||||
-DGENERIC_BOOTLOADER
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
extra_scripts = ${common_stm32f1.extra_scripts}
|
||||
pre:buildroot/share/PlatformIO/scripts/STM32F1_create_variant.py
|
||||
buildroot/share/PlatformIO/scripts/STM32F103RC_MEEB_3DP.py
|
||||
lib_deps = ${common.lib_deps}
|
||||
@@ -934,7 +925,7 @@ upload_protocol = serial
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = common_stm32f1
|
||||
board = genericSTM32F103VE
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
extra_scripts = ${common_stm32f1.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/STM32F103VE_longer.py
|
||||
build_flags = ${common_stm32f1.build_flags}
|
||||
-DMCU_STM32F103VE -DSTM32F1xx -USERIAL_USB -DU20 -DTS_V12
|
||||
@@ -948,7 +939,7 @@ build_unflags = ${common_stm32f1.build_unflags}
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = common_stm32f1
|
||||
board = genericSTM32F103VE
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
extra_scripts = ${common_stm32f1.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/mks_robin_mini.py
|
||||
build_flags = ${common_stm32f1.build_flags}
|
||||
-DMCU_STM32F103VE
|
||||
@@ -974,7 +965,7 @@ upload_protocol = jlink
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = common_stm32f1
|
||||
board = genericSTM32F103ZE
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
extra_scripts = ${common_stm32f1.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/mks_robin.py
|
||||
build_flags = ${common_stm32f1.build_flags}
|
||||
-DSS_TIMER=4 -DSTM32_XL_DENSITY
|
||||
@@ -1008,7 +999,7 @@ lib_deps =
|
||||
[env:mks_robin_pro]
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = env:mks_robin
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
extra_scripts = ${common_stm32f1.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/mks_robin_pro.py
|
||||
|
||||
#
|
||||
@@ -1017,7 +1008,7 @@ extra_scripts = ${common.extra_scripts}
|
||||
[env:trigorilla_pro]
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = env:mks_robin
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
extra_scripts = ${common_stm32f1.extra_scripts}
|
||||
|
||||
#
|
||||
# MKS Robin E3D (STM32F103RCT6) and
|
||||
@@ -1041,7 +1032,7 @@ build_flags = ${common_stm32f1.build_flags}
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = common_stm32f1
|
||||
board = genericSTM32F103VE
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
extra_scripts = ${common_stm32f1.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/mks_robin_e3p.py
|
||||
build_flags = ${common_stm32f1.build_flags}
|
||||
-DMCU_STM32F103VE -DSS_TIMER=4
|
||||
@@ -1055,7 +1046,7 @@ upload_protocol = jlink
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = common_stm32f1
|
||||
board = genericSTM32F103RC
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
extra_scripts = ${common_stm32f1.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/mks_robin_lite.py
|
||||
|
||||
#
|
||||
@@ -1065,7 +1056,7 @@ extra_scripts = ${common.extra_scripts}
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = common_stm32f1
|
||||
board = genericSTM32F103RC
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
extra_scripts = ${common_stm32f1.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/mks_robin_lite3.py
|
||||
|
||||
#
|
||||
@@ -1075,7 +1066,7 @@ extra_scripts = ${common.extra_scripts}
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = common_stm32f1
|
||||
board = genericSTM32F103ZE
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
extra_scripts = ${common_stm32f1.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py
|
||||
build_flags = ${common_stm32f1.build_flags}
|
||||
-DSTM32F1xx -DSTM32_XL_DENSITY
|
||||
@@ -1230,7 +1221,7 @@ extra_scripts = ${common.extra_scripts}
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = common_stm32f1
|
||||
board = genericSTM32F103RC
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
extra_scripts = ${common_stm32f1.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/fly_mini.py
|
||||
build_flags = ${common_stm32f1.build_flags}
|
||||
-DDEBUG_LEVEL=0 -DSS_TIMER=4
|
||||
@@ -1557,7 +1548,6 @@ build_flags = ${common_stm32.build_flags} -DENABLE_HWSERIAL3 -DTIMER_SE
|
||||
build_unflags = ${common_stm32.build_unflags} -DUSBCON -DUSBD_USE_CDC
|
||||
extra_scripts = ${common.extra_scripts} pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py buildroot/share/PlatformIO/scripts/stm32_bootloader.py
|
||||
|
||||
|
||||
#################################
|
||||
# #
|
||||
# Other Architectures #
|
||||
|
||||
Reference in New Issue
Block a user