1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00
Commit graph

376 commits

Author SHA1 Message Date
Dominic Clifton
a325e2386d STM32H730 - Initial ST32H730 support.
The H730 is a value-line CPU, similar to the H723/H725, but with only
128kb RAM.

The FC firmware code is designed to RUN from external flash in MEMORY
MAPPED mode, via OctoSPI.  Use of ITCM/DTCM advised for core loops, like
PID control.

A bootloader is required to enable memory-mapped mode and jump to the
firmware, similar to how EXST bootloader system works.

Config storage is not part of this commit and is a problem when using a
single flash chip in memory mapped mode because the CPU can't run
read/write routines from the flash chip while writing to the flash chip.
Until flash read/write routines are updated the solution requires either
a second flash chip on an SPI interface, or the use of an SD card for
config storage.

Additional commits will support read/write of config to the code/data
storage flash chip to enable cheap and space efficient single-flash-chip
FC solutions.

Squashed commits:
STM32H730 - Workaround issue with 2GB `.elf` files being created.
STM32H730 - Reduce firmware size to 1MB.
STM32H730 - Add USB HS configuration.
STM32H730 - Add ADC internal tag mappings.
STM32H730 - Update all ADC mappings based on the referenced ST
documentation.  Add the VBAT channels.
STM32H730 - Fix DMA continuous requests.
STM32H730 - Fix ADC_INTERNAL confusion.
STM32H730/G4 - Disambiguate use of ADC_CHANNEL_INTERNAL_FIRST_ID.
STM32H730 - Fix documentation reference.
STM32H730 - Add DMA request mapping for ADC3.
STM32H730 - Explicitly set the ADC clock.
STM32H730 - Configure PLL2 speeds correctly.

* Tested with Ultrafast 64GB SanDisk SDXC card.

STM32H730 - Use 50Mhz clock for SDXC cards.

* Tested with SanDisk Ultra 64GB.  100Mhz clock gave CRC errors.

STM32H730 - Ensure USB has a lower NVIC priority than the SDMMC card
reads.

If it's higher, 0, then the SDMMC's DMA IRQ handler doesn't get called
when handing USB MSC storage reads.

STM32H730 - Support CPU name in CLI.

STM32H730 - Rebuild when linker scripts changes.
2021-12-23 15:02:23 +01:00
haslinghuis
4f0d4b81b1
Merge pull request #10788 from phobos-/express-lrs
ExpressLRS over SPI - sx1280 and sx1276 support
2021-12-22 23:46:03 +01:00
Steve Evans
877adf4634 Calculate moving sum delta time in 10ths us 2021-12-21 18:49:42 +00:00
phobos-
e00a3abc59 ExpressLrs v2.0.0 support 2021-12-21 17:59:47 +01:00
Ivan Efimov
d5c31accdf FW sliders: separate MSP commands for requesting calculations but not applying them into the FW 2021-12-19 04:00:50 -06:00
Steve Evans
ab1baccc66 Track state execution time for OSD, baro, rx and GPS tasks and inform scheduler of next state execution time 2021-12-17 15:40:01 +00:00
Steve Evans
246a02dcc1 Support SPI MOSI/MISO DMA stream assignment
Add SPI_TX/SPI_RX aliases for SPI_MOSI/SPI_MISO for dma command
Only assign SPI DMA before motors on F4/F7
2021-12-12 16:35:59 +00:00
KarateBrot
450cee3e08 Removed dynamic notch from features 2021-11-10 23:03:43 +01:00
Michael Keller
ea3e64d49a
Merge pull request #10987 from mikeller/add_simplified_tuning_on_reset 2021-10-10 16:12:56 +13:00
Michael Keller
22780eab02
Merge pull request #10962 from tstibor/remove_redundant_bool_check 2021-10-03 17:04:02 +13:00
Steve Evans
d5f62be013 Trigger gyro SPI DMA reads in EXTI handler if supported and lock gyroTask loop to gyro to eliminate missed updates and jitter 2021-09-28 01:38:18 +13:00
Michael Keller
6a6930e34f Added application of simplified tuning on reset. 2021-09-27 03:11:33 +13:00
Michael Keller
a2ecc5c3e7 Clarified the macro name for the resourceValue_t max index. 2021-09-10 22:22:40 +12:00
Thomas Stibor
582e2c684f Remove redundant check representing same value 2021-09-10 10:33:40 +02:00
ctzsnooze
4ef02928e0 smoothing fix level mode 2021-09-01 11:22:11 +10:00
Michael Keller
55f2be55f6
Merge pull request #10765 from cruwaller/pr-fix-vcp-baudrate-change 2021-08-05 23:31:18 +12:00
Michael Keller
8a18651319
Merge pull request #10863 from mikeller/add_n_channel_to_timer_show 2021-08-04 01:43:30 +12:00
Michael Keller
4d79c0fbd2 Rename timer functions to make them easier to understand. 2021-07-28 01:01:46 +12:00
Michael Keller
1d555a6297 Added check to disable bidirectional Dshot when N-channel timers are used. 2021-07-28 00:23:30 +12:00
Michael Keller
9eda7b4735 Added indication for N-channel timers to 'resource show all'. 2021-07-27 18:35:13 +12:00
Michael Keller
33dd967736
Merge pull request #10755 from mikeller/add_parameter_group_reset_defaults
Added resetting to defaults for individual parameter groups.
2021-06-28 11:07:17 +12:00
cruwaller
885c520adb cli: fix baudrate reconfigure based on USB VCP baudrate 2021-05-25 14:29:16 +03:00
ctzsnooze
c26428232a msp and other small fixes 2021-05-25 08:29:32 +10:00
Michael Keller
b414be320f
Merge pull request #10727 from ctzsnooze/PT2-PT3-options-for-filters 2021-05-25 01:53:53 +12:00
Michael Keller
64961e8b23 Added resetting to defaults for individual parameter groups. 2021-05-23 00:48:32 +12:00
ctzsnooze
636d563abe major rc changes ctzsnooze 2021 2021-05-07 14:40:43 +10:00
mikeller
687c7014c0 Added MCU id / name for STM32G474. 2021-04-27 01:37:33 +12:00
ctzsnooze
a096c99664 PT2 and PT3 filter maths PT3 for RC smoothing 2021-04-26 14:12:54 +12:00
Steve Evans
bb119e95c5 Display late execution stats in tasks command 2021-03-08 17:46:31 +00:00
Michael Keller
243be1d216
Merge pull request #9119 from IvoFPV/add-tuning-sliders 2021-01-06 02:19:29 +08:00
Michael Keller
7fc3c7cea6 Renamed 'tuning sliders' to 'simplified tuning'. 2020-12-26 14:26:56 +01:00
IvoFPV
cff19dc113 Implement tuning sliders, add to CMS, MSP 2020-12-26 14:26:50 +01:00
Michael Keller
0b81b26ce0 Fixed MSP command to send Dshot commands. 2020-12-15 16:12:11 +01:00
jflyper
1feb306674 [H7] H723/H725 support 2020-11-11 23:45:15 +09:00
jflyper
697d0f7ed3 [H7] H7A3 support 2020-11-01 00:32:39 +09:00
Michael Keller
b92f030434
Merge pull request #10113 from knoopx/improve-custom-builds 2020-10-11 13:45:15 +13:00
Michael Keller
b085bf77ab
Merge pull request #10237 from jflyper/bfdev-fix-dmaopt-timup-numbering
Fix dmaopt peripheral numbering for TIMUP
2020-10-07 00:57:21 +13:00
jflyper
24b4ffa912 Fix dmaopt peripheral numbering for TIMUP 2020-10-04 00:06:04 +09:00
jflyper
08f1f91c50 [G4] CLI and config changes for overclocking 2020-10-01 20:40:44 +09:00
Victor Martinez
88f2fdcf7d prevent unused warning when using USE_QUAD_MIXER_ONLY 2020-08-19 00:42:52 +02:00
Bruce Luckcuck
ed35b1d773 Fix CLI range check error message formatting 2020-08-11 18:27:11 -04:00
Michael Keller
899cae197c
Merge pull request #9998 from mikeller/fix_stack_check
Fixed stack size monitoring.
2020-07-22 02:12:58 +12:00
mikeller
386be8d742 Added registration for bus devices. 2020-07-08 21:34:31 +12:00
mikeller
81abf873da Fixed stack size monitoring. 2020-07-08 20:08:39 +12:00
Michael Keller
3822d6eb75
Merge pull request #9688 from mikeller/show_configuration_status
Show configuration status in CLI.
2020-07-05 21:09:01 +12:00
Michael Keller
97ad043f9e
Merge pull request #9691 from mikeller/add_common_hardware_settings
Added the most common (reasonable) hardware settings to 'dump hardware'.
2020-06-22 01:07:17 +12:00
Michael Keller
88cf45872f
Merge pull request #9632 from mikeller/improve_error_formatting
Improved styling of error messages in CLI.
2020-06-22 00:22:24 +12:00
mikeller
15114d0e43 Added the most common (reasonable) hardware settings to 'dump hardware'. 2020-06-07 12:57:30 +12:00
Michael Keller
f101a730a1
Merge pull request #9871 from mikeller/fix_resource_command
Fixed pin id parsing in CLI.
2020-06-03 23:37:18 +12:00
mikeller
4b5273c34e Fixed parsing of over length custom default headers. 2020-06-01 23:08:18 +12:00