first working flash using st-flash

This commit is contained in:
neo-nb3 2024-05-02 23:51:01 +02:00
parent ea49af9c53
commit 5b2708a391
4 changed files with 15 additions and 6 deletions

View File

@ -1,4 +1,10 @@
# Nimbus FTS-CAN
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

View File

@ -93,9 +93,10 @@
* 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
*

View File

@ -2,6 +2,6 @@
rm -rf build/
git submodule update --recursive
make px4_fmu-v6x_default
#make px4_fmu-v6c_default
#make px4_fmu-v6x_default
make px4_fmu-v6c_default
#make px4_fmu-v6c_bootloader

View File

@ -1,8 +1,10 @@
#!/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_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 "set mem inaccessible-by-default off" \
-ex "load" \