dev flash
This commit is contained in:
parent
943bcc6773
commit
ea49af9c53
2
.gitignore
vendored
2
.gitignore
vendored
@ -108,3 +108,5 @@ src/systemcmds/topic_listener/listener_generated.cpp
|
||||
|
||||
# colcon
|
||||
log/
|
||||
|
||||
venv/
|
||||
|
||||
@ -93,7 +93,8 @@
|
||||
* CPUCLK <= 480 MHz
|
||||
*/
|
||||
|
||||
#define STM32_BOARD_USEHSE
|
||||
//#define STM32_BOARD_USEHSE
|
||||
#define STM32_BOARD_USEHSI
|
||||
|
||||
#define STM32_PLLCFG_PLLSRC RCC_PLLCKSELR_PLLSRC_HSE
|
||||
|
||||
|
||||
4
build.sh
4
build.sh
@ -2,4 +2,6 @@
|
||||
|
||||
rm -rf build/
|
||||
git submodule update --recursive
|
||||
make px4_fmu-v6x_default
|
||||
make px4_fmu-v6x_default
|
||||
#make px4_fmu-v6c_default
|
||||
#make px4_fmu-v6c_bootloader
|
||||
@ -91,6 +91,7 @@ function(px4_add_common_flags)
|
||||
-Wno-unused-parameter
|
||||
-Wno-uninitialized
|
||||
-Wno-dangling-pointer
|
||||
#-Wno-address
|
||||
)
|
||||
|
||||
# compiler specific flags
|
||||
|
||||
9
gdb_upload.sh
Executable file
9
gdb_upload.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash -xe
|
||||
|
||||
#gdb-multiarch --exec build/px4_fmu-v6c_bootloader/px4_fmu-v6c_bootloader.elf \
|
||||
gdb-multiarch --exec build/px4_fmu-v6c_default/px4_fmu-v6c_default.elf \
|
||||
-ex "set architecture armv7" -ex "target extended-remote :3333" \
|
||||
-ex "monitor reset halt" \
|
||||
-ex "set mem inaccessible-by-default off" \
|
||||
-ex "load" \
|
||||
-ex "run"
|
||||
Loading…
Reference in New Issue
Block a user