mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-26 16:30:07 +08:00
[chibios] Lia works without bootloader (only LED flash tested), ChibiOS is having issues with a bootlodaer (probably something with the linker script)
This commit is contained in:
@@ -313,7 +313,6 @@ endif
|
||||
|
||||
# Settings for GDB
|
||||
# default port configuration for BMP
|
||||
BMP_PORT = /dev/ttyACM0
|
||||
GDB = $(shell which arm-none-eabi-gdb)
|
||||
|
||||
|
||||
|
||||
@@ -144,6 +144,7 @@ else ifeq ($(FLASH_MODE),SWD)
|
||||
# only works if BMP_PORT is defined
|
||||
BMP_PORT ?= $(shell ls /dev/bmp-gdb 2>/dev/null || echo /dev/ttyACM0)
|
||||
BMP_UPLOAD_SCRIPT ?= $(PAPARAZZI_SRC)/sw/tools/flash_scripts/bmp_swd_flash.scr
|
||||
$(info BMP_PORT = $(BMP_PORT))
|
||||
upload: $(OBJDIR)/$(TARGET).elf
|
||||
@echo "Assuming luftboot bootloader: $(ASSUMING_LUFTBOOT)"
|
||||
@echo "Using Black Magic Probe with SWD on BMP_PORT $(BMP_PORT)"
|
||||
|
||||
@@ -86,6 +86,7 @@
|
||||
<board name="naze32*"/>
|
||||
<board name="cjmcu*"/>
|
||||
<board name="openpilot_revo.*"/>
|
||||
<board name="lia_.*"/>
|
||||
</boards>
|
||||
</mode>
|
||||
<mode name="BlackMagic Probe (JTAG)">
|
||||
@@ -97,7 +98,6 @@
|
||||
<board name="li[s]?a_mx_.*"/>
|
||||
<board name="px4fmu_.*"/>
|
||||
<board name="elle*"/>
|
||||
<board name="lia_.*"/>
|
||||
</boards>
|
||||
</mode>
|
||||
<mode name="Px4 bootloader">
|
||||
|
||||
Reference in New Issue
Block a user