first working flash using st-flash
This commit is contained in:
parent
ea49af9c53
commit
5b2708a391
@ -2,3 +2,9 @@
|
|||||||
|
|
||||||
Forked from PX4 firmware repository on 04/25/2024
|
Forked from PX4 firmware repository on 04/25/2024
|
||||||
(Latest stable release v1.14.0)
|
(Latest stable release v1.14.0)
|
||||||
|
|
||||||
|
This firmware is designed to work on the following devices:
|
||||||
|
|
||||||
|
- Nimbus FTS-CAN module, based on STM32H753
|
||||||
|
- Nimbus AUTO-FTS module, based on Holybro Pixhawk 6C mini flight control
|
||||||
|
|
||||||
|
|||||||
@ -93,9 +93,10 @@
|
|||||||
* CPUCLK <= 480 MHz
|
* CPUCLK <= 480 MHz
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define STM32_BOARD_USEHSE
|
#define STM32_BOARD_USEHSI 1
|
||||||
|
#define STM32_BOARD_HSIDIV 1
|
||||||
|
|
||||||
#define STM32_PLLCFG_PLLSRC RCC_PLLCKSELR_PLLSRC_HSE
|
#define STM32_PLLCFG_PLLSRC RCC_PLLCKSELR_PLLSRC_HSI
|
||||||
|
|
||||||
/* PLL1, wide 4 - 8 MHz input, enable DIVP, DIVQ, DIVR
|
/* PLL1, wide 4 - 8 MHz input, enable DIVP, DIVQ, DIVR
|
||||||
*
|
*
|
||||||
|
|||||||
4
build.sh
4
build.sh
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
rm -rf build/
|
rm -rf build/
|
||||||
git submodule update --recursive
|
git submodule update --recursive
|
||||||
make px4_fmu-v6x_default
|
#make px4_fmu-v6x_default
|
||||||
#make px4_fmu-v6c_default
|
make px4_fmu-v6c_default
|
||||||
#make px4_fmu-v6c_bootloader
|
#make px4_fmu-v6c_bootloader
|
||||||
@ -1,8 +1,10 @@
|
|||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
|
|
||||||
|
#gdb-multiarch --exec build/px4_fmu-v6c_default/px4_fmu-v6c_default.elf \
|
||||||
#gdb-multiarch --exec build/px4_fmu-v6c_bootloader/px4_fmu-v6c_bootloader.elf \
|
#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 \
|
gdb-multiarch --exec build/px4_fmu-v6c_default/px4_fmu-v6c_default.elf \
|
||||||
-ex "set architecture armv7" -ex "target extended-remote :3333" \
|
-ex "target extended-remote :3333" \
|
||||||
|
-ex "set architecture armv7" \
|
||||||
-ex "monitor reset halt" \
|
-ex "monitor reset halt" \
|
||||||
-ex "set mem inaccessible-by-default off" \
|
-ex "set mem inaccessible-by-default off" \
|
||||||
-ex "load" \
|
-ex "load" \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user