Commit Graph

654 Commits

Author SHA1 Message Date
Michael Keller ae65d6eb07 Add constant (i.e. string) deduplication, including at link time. 2021-11-07 14:27:36 +13:00
Michael Keller 8f0cfdbe27 Fixed comment in Makefile. 2021-10-04 23:36:31 +13:00
Michael Keller 8570c54c11 Fixed the 'make pre-push' build on MacOS. 2021-08-04 17:29:51 +12:00
mikeller 03d3d94497 Added Unified Target for STM32G4. 2021-04-26 16:18:28 +12:00
Michael Keller 5da56bda05 Minor Makefile improvement. 2021-01-03 19:51:02 +08:00
Michael Keller 6eb7222af6 Removed unused BUILD_DIR target from Makefile. 2021-01-01 10:12:20 +01:00
mikeller 835091992a Use PYTHON environment variable in Makefile. 2020-10-12 03:22:58 +13:00
mikeller c128f33a85 Added STM32F4DISCOVERY_DEBUG target and added it to pre-push. 2020-07-22 02:18:25 +12:00
mikeller c17c7a87e5 Removed broken 'srec' build target. 2020-06-06 17:38:52 +12:00
mikeller b05599fdb8 Added Makefile target to dump compiler versions used to build tests. 2020-06-01 15:30:18 +12:00
mikeller b1d2c4483e Add 'clean' target to 'unified_zip' Makefile target. 2020-05-03 15:55:46 +12:00
mikeller a36c18dd88 Removed legacy targets from 'pre-push target. 2020-03-07 17:38:50 +13:00
mikeller f6dcc09f65 Reduced the number of target groups to build in CI from 6 to 3. 2020-02-18 00:42:08 +13:00
mikeller 7a13e99c30 Added the git revision to the names of generated files. 2020-01-26 12:24:13 +13:00
Michael Keller ff1df466f3
Merge pull request #9369 from mikeller/add_unified_target
Added 'unified' target to Makefile.
2020-01-23 13:24:45 +13:00
jflyper be923434b8 Rename FLASH_SIZE to TARGET_FLASH_SIZE 2020-01-20 12:30:28 +09:00
mikeller 5ac2114b75 Added 'unified' target to Makefile. 2020-01-17 01:33:18 +13:00
mikeller 6c387a0c7e Added '<target>_zip' target to Makefile. 2020-01-16 00:34:10 +13:00
mikeller 935a684765 Fixed use of 'abs()' for floats. 2019-11-30 10:33:12 +13:00
Michael Keller 9637aba9d0
Un-ignore 'address-of-packed-member' warning. (#9241)
Un-ignore 'address-of-packed-member' warning.
2019-11-30 10:30:51 +13:00
Michael Keller 112a0ce61e
Build unified target by default. (#9240)
Build unified target by default.
2019-11-30 10:30:39 +13:00
mikeller 25daf48d3d Un-ignore 'address-of-packed-member' warning. 2019-11-29 12:43:14 +13:00
mikeller 438a801eb8 Fixed 'cast-function-type' warnings, reworked CMS function pointer juggle. 2019-11-29 03:45:27 +13:00
Michael Keller cf86671997
Un-ignore the 'attribute' warning. (#9229)
Un-ignore the 'attribute' warning.
2019-11-29 03:40:57 +13:00
Michael Keller 42588bcfef
Added NUCLEOH743 to pre-push target. (#9238)
Added NUCLEOH743 to pre-push target.
2019-11-29 01:02:46 +13:00
Kenneth Mitchell b9cae56887
Build unified target by default. 2019-11-27 22:59:32 -05:00
mikeller fd12a13b86 Un-ignore the 'attribute' warning. 2019-11-28 12:01:08 +13:00
mikeller 74976f5e3a Added NUCLEOH743 to pre-push target. 2019-11-27 20:03:36 +13:00
Michael Keller 39c8d1851e Revert the workaround for the EXST linker script. 2019-11-27 18:14:12 +13:00
Michael Keller 75dda319fb Update gcc to 9.2.1. 2019-11-27 16:08:22 +13:00
mikeller fd87829aed Fixed and un-ignored the 'stringop-truncation' warning. 2019-11-26 07:45:33 +13:00
Michael Keller 365ecaae9c
Removed the outdated official target list. (#9220)
Removed the outdated official target list.
2019-11-25 19:02:48 +13:00
Michael Keller e9b94deee5
Changed '_flash' targets to only write used segments. (#9217)
Changed '_flash' targets to only write used segments.
2019-11-25 18:46:34 +13:00
mikeller a302b5bae2 Removed ATOMIC_BARRIER check, fixed ITCM_RAM overflow. 2019-11-25 01:16:08 +13:00
mikeller 1a2b9f422a Removed the outdated official target list. 2019-11-24 19:18:47 +13:00
mikeller cce94bbe31 Changed '_flash' targets to only write used segments. 2019-11-24 15:36:40 +13:00
Steffen Windoffer 1583cb8106 add another new warning to ignore until it is fixed 2019-11-24 13:58:07 +13:00
Steffen Windoffer d216e18530 ignoring new warnings util they get resolved 2019-11-24 13:58:07 +13:00
mikeller 971ded14e4 Removed legacy targets from the list of targets built in CI. 2019-10-17 02:36:25 +13:00
mikeller c964eba295 Fixed Unified Target configuration names, added check for correctness. 2019-08-13 21:42:08 +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 577d57ea70 EXST - Ensure HEX files are suitable for flashing using the
configurator.

Without the padding and length the HASH in the HEX will be invalid since
erased flash defaults to 0xFF but the hash is created on the binary file
which has a default of 0x00 for un-filled data.
2019-08-08 02:05:36 +02:00
Dominic Clifton 871486527b EXST - Allow targets to specify VMA offset.
The hex file must have the correct address in order for it to be
uploaded via flashing tools (configurator).

However, the objcopy tool only appears to support an INCREMENT address,
so the increment is determined by subtracting the load address from the
flash address.

For the current SPRacing H7 boards, the bootloader DFU descriptor string
has a start address of 0x9000000 for the external flash, the firmware
partition begins at offset 0x07CE0000, required resulting flash address
is 0x97CE0000.
2019-08-08 02:04:37 +02: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
mikeller e65bc6cb13 Properly add hex file building to '<target>_flash'. 2019-07-03 01:51:43 +12:00
mikeller 0cc448e2b2 Make 'make <target>_flash' build the hex file as well. 2019-06-29 18:39:17 +12:00
mikeller ccf3cb6fa6 Cleaned up 'make *_clean', 'make *_flash'. 2019-06-23 15:18:41 +12:00
Dominic Clifton cf1ce1a67b Support load/save configuration to external flash
Fixes to 6a3e7d8e6 as the flash partition code had changed during
the merge to master.
2019-06-13 09:16:29 +02:00