[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:
Michal Podhradsky
2017-02-11 10:43:42 -08:00
parent e921f08c91
commit 35c38041f6
3 changed files with 2 additions and 2 deletions
-1
View File
@@ -313,7 +313,6 @@ endif
# Settings for GDB
# default port configuration for BMP
BMP_PORT = /dev/ttyACM0
GDB = $(shell which arm-none-eabi-gdb)
+1
View File
@@ -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)"
+1 -1
View File
@@ -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">