1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00
Commit graph

23 commits

Author SHA1 Message Date
Michael Keller
39c8d1851e Revert the workaround for the EXST linker script. 2019-11-27 18:14:12 +13:00
mikeller
a302b5bae2 Removed ATOMIC_BARRIER check, fixed ITCM_RAM overflow. 2019-11-25 01:16:08 +13:00
Michael Keller
564f3031b2
Add NUCLEOF303RE target (#8938)
Add NUCLEOF303RE target
2019-10-20 22:50:18 +13:00
Michael Keller
9f5bbf6e5c
DSHOT telemetry optimizations (#8772)
DSHOT telemetry optimizations
2019-10-20 22:39:32 +13:00
jflyper
cb1bdfe204 Add Nucleo-F303RE support 2019-10-18 00:19:52 +09:00
jflyper
4e9923569a NUCLEOF103RG target
NUCLEOF103RG is a target for Nucleo-F103RG (Nucleo-F103RB transplanted
with STM32F103RG which has 1MB of FLASH).
Such hardware with this target comes in handy when a firmware that
doesn't fit in smaller FLASH variant when compiled with DEBUG option.

The target definition files are straight copy of NAZE, except LED0_PIN
has been redefined to use Nucleo's LD2 (User LED).

It is also easy to convert exisiting F1 targets to be built to run on
the Nucleo-F103RG board:

- Add
    #define FLASH_PAGE_SIZE 0x800
    to target.h

- Also add
    #undef USE_DSHOT
    #undef USE_LED_STRIP
    #undef USE_TRANSPONDER
    #undef USE_CAMERA_CONTROL
    to target.h to avoid non-F1 compatible code from getting in.

- Add
FLASH_SIZE  = 1024
    to target.mk
2019-09-23 23:58:03 +09:00
Dominic Clifton
376441f89f F3 - Add support for code in CCM RAM. 2019-09-02 18:40:13 +02:00
mikeller
3128328224 Fixed start / end addresses for custom defaults. 2019-09-01 13:35:10 +12:00
mikeller
5c9e51bb5f Fix extended custom defaults. 2019-08-18 16:12:33 +12:00
mikeller
35e075098d Renamed things to make them more understandable. 2019-08-11 21:32:58 +12:00
mikeller
2c8d197ccb Added support for custom defaults in sector 0. 2019-08-11 21:32:01 +12:00
mikeller
7518ec67f5 Experimental support for on-board custom defaults. 2019-08-11 21:32:01 +12:00
Dominic Clifton
a76e0bccfc EXST - Use the .bin file as the source for the hex file.
* This bypasses the problem introduced when the .data section was moved
from RAM to DTCM_RAM.
* This also ensures that the hash in the .hex file will be valid when
the hex is flashed to a NAND chip as the hash is generated from the .bin
file content.  If the hex contains gaps between sections and the gaps
are erased on the NAND flash then erased sectors are full of 0xFF, not
0x00, which will mean the computed hash won't match.

EXST - Add note regarding currently supported bootloader requirements
regarding the CODE_RAM address.

EXST - Fix make 'dirty' file issue.

When `make` is run twice, the TARGET_BIN is recreated incorrectly.

Root cause was that objcopy actually modifies the INPUT file when no
output file is specified, even when the operation is to extract a
section from the input file...

EXST - Improve messaging when generating EXST bin files.

This should help with understanding of the exact operations required for
EXST bin file generation.

Added warning about hard coded start address.
2019-08-10 13:36:03 +12:00
Dominic Clifton
aa1f22d9e1
Merge pull request #8682 from hydra/fix-invalid-spracingh7extreme-load-address-2
Fix invalid H7 EXST targert invalid load addresses (Solution B)
2019-08-09 12:32:43 +02:00
Michael Keller
ed583af1f2
Removed non-printable characters from 'stm32_flash_h743_ram_bas… (#8670)
Removed non-printable characters from 'stm32_flash_h743_ram_based'.
2019-08-08 22:46:48 +12:00
Dominic Clifton
924552318a STM32H750_EXST - Move initialised data into DTCM ram. 2019-08-08 12:09:20 +02:00
Dominic Clifton
17c34edfce Revert "Fix RAM overflow on SPRACINGH7EXTREME."
This reverts commit ebc33bb45b.
2019-08-07 15:32:54 +02:00
mikeller
d3fce37ade Removed non-printable characters from 'stm32_flash_h743_ram_based'. 2019-08-07 01:31:25 +12:00
mikeller
ebc33bb45b Fix RAM overflow on SPRACINGH7EXTREME. 2019-08-06 22:33:19 +12:00
mikeller
1c60776487 Added target variant NUCLEOH743_RAMCONFIG to get CI coverage of 'EXST' changes.
Changing over to be RAM based.

Changes required for MPU configuration service.

Added documentation.
2019-07-27 18:20:05 +12:00
jflyper
c8252fabdd Introduce memProtXXX MPU configuration service 2019-07-24 11:32:11 +09:00
jflyper
dad1110181 [H7] Relocate LD files to match betaflight/master branch 2019-06-26 12:36:34 +02:00
blckmn
4e529e1c25 moved the linker files to the src directory head 2019-04-28 16:04:44 +10:00