Commit Graph

29 Commits (mbed-os-5.5)

Author SHA1 Message Date
Yuguo Zou 2f88a697de Fix bugs for RTL8195AM with debug profile of compilers
1. Add alignment / padding for postbuild segments
2. Clear tcm.bss section
3. Remove TRAP_OverrideTable(), move lines to PLAT_Start()
2017-09-13 15:55:37 +01:00
Yuguo Zou 9fe3ada07d Remove extension in cmd
Remove extension in command line so the script could work on Linux
2017-09-13 15:55:37 +01:00
Yuguo Zou d314156a2e Add RTL8195AM support for mbed client with IAR Move ticker related code to SRAM due to time drift sensitive 2017-09-13 15:55:37 +01:00
Tony Wu e75704051c rtl8195am - fix ARMCC SRAM + SDRAM porting
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-09-13 15:55:37 +01:00
Yuguo Zou 2b06d0eb3b Fix ARMCC & IAR compile errors 2017-09-13 15:55:37 +01:00
Tony Wu ae8d8cae01 rtl8195am - adjust memory layout and enable fota support
1. Rearrange SDRAM and SRAM layout. Move timing critical code to SRAM,
   and the rest to SDRAM.

2. Add bootloader that's capable of FOTA over mbed cloud.

Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-09-13 15:55:37 +01:00
Yuguo Zou a30d4d6148 enable sdram usage of REALTEK_RTL8195AM
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-09-13 15:55:37 +01:00
jacobjohnson-ON 9212a85207 mbed OS 5.5.3, including the changes needed to enable 640k. Includes the proposed changes by Mac. 7/25/17 2017-08-11 14:16:33 +01:00
Jimmy Brisson 1a2e93ab17 Reduce device has whitelist 2017-07-14 15:13:30 +01:00
Jimmy Brisson a2bbefeb3d Add line between local and module imports 2017-07-14 15:13:30 +01:00
Jimmy Brisson c85f4362bd Add license header 2017-07-14 15:13:30 +01:00
Jimmy Brisson 009019e38c Restrict device_has 2017-07-14 15:13:30 +01:00
Jimmy Brisson 7973551b73 Revamp option parsing and add more checks 2017-07-14 15:13:30 +01:00
Jimmy Brisson 05b9b8ae57 Stylize and add function docs 2017-07-14 15:13:30 +01:00
Jimmy Brisson 31cb52dc88 Added simple linter for targets.json 2017-07-14 15:13:30 +01:00
Andrew Leech 49f46086f8 Prevent modifying existing targets.
A warning will be printed if it is attempted.
2017-07-03 11:46:46 +01:00
Jimmy Brisson 1e2b7bef45 Clear custom-targets uppon setting new taregts.json location 2017-07-03 11:46:46 +01:00
Andrew Leech 4606027784 Add custom_targets.json file contents to targets
Avoid duplication of update_target_data() code
Keep "custom_targets.json" filename definition in Targets()
2017-07-03 11:46:45 +01:00
Jimmy Brisson f22dd38ad5 Find extra targets in all source folders 2017-07-03 11:46:45 +01:00
Andrew Leech 9c575cdd1f Recursively merge extra_targets into targets
Recursively merge any target configs in extra_targets.json rather than completely replacing keys at the top level
2017-07-03 11:46:44 +01:00
Andrew Leech 95c681c951 Add extra_targets.json support to build tools
If the file extra_targets.json exists in the working directory load it over the top of the built in targets.json for defining new and overriding built in mbed target definitions.
2017-07-03 11:46:44 +01:00
Yuguo Zou 0c046a4c38 improve coding style 2017-06-03 20:15:04 +01:00
Yuguo Zou 00ffb04f68 move target specific scripts to tools/targets/ 2017-06-03 20:14:58 +01:00
Yuguo Zou 29e11a1cb9 move REALTEK_RTL8195AM.py, remove progen in targets.json 2017-06-03 20:14:54 +01:00
Yuguo Zou 53e837bce2 add support for REALTEK_RTL8195AM 2017-06-03 20:14:45 +01:00
Bartek Szatkowski 2ddf4b33cb CMSIS5: Remove ARM7 support and targets 2017-05-12 13:48:43 -05:00
Andrzej Puzdrowski c64d2f4411 avoid 03/05 intel-hex records for nordics devices
use Intelhex::write_hex_file instead of IntelHex::tofile
2017-05-05 13:27:29 +02:00
Jimmy Brisson 74998d649a Change target hooks to use correct input format
The input format is now determined by the OUTPUT_EXT key in
targets.json, and defaults to "bin" when not specified. This changes the
Teensy3_1 and the NRF51x targets' post bulid hooks.

Teensy3_1 just converted to intelhex, so we do nothing instead.

NRF51x assumed that it was taking in a bin format file. I made it detect
file type by extension.
2017-04-03 14:54:38 -05:00
Jimmy Brisson f590dc11bd Move target related code into it's own directory
This should make it easier to navigate the code base
2017-03-22 15:20:09 -05:00