Commit Graph

1279 Commits (e3896f5db92e81c2059605276b4e76a7698e8267)

Author SHA1 Message Date
Andrew Leech 5f529a6df7 Add basic unit tests for custom_targets.json handling 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 e940d204d7 Handle situation when options.source_dir is None 2017-07-03 11:46:45 +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
arostm 90a68fb074 DISCO_F413ZH: Remove usb from build_travis.py 2017-07-03 11:46:43 +01:00
arostm a7b41df447 DISCO_F413ZH: Typo correction in build_travis.py 2017-07-03 11:46:43 +01:00
arostm e4e3d0f3a4 DISCO_F413ZH: delete RTOS in build_travis.py 2017-07-03 11:46:42 +01:00
arostm 5d04388686 DISCO_F413ZH: add IAR exporter 2017-07-03 11:46:42 +01:00
arostm cc1386ae8e DISCO_F413ZH: corrections
- leds definition
- add sw4stm32 exporter
- recomment mco debug
2017-07-03 11:46:39 +01:00
arostm 3a8612f656 DISCO_F413ZH: add terget.json, build_travis.py and test.py changes 2017-07-03 11:46:39 +01:00
amq cc84e140d8 Fix unresolved include of mbed_config.h in Eclipse 2017-07-03 11:46:37 +01:00
sarahmarshy 6f149fa0f3 Turn off "browse information" in Uvision template
"Browse information," or the indexer for MDK, causes extremely long
build times when enabled.
2017-07-03 11:46:37 +01:00
bcostm b7aa3334c5 DISCO_L475VG_IOT01A: remove rtos from build_travis.py 2017-06-20 17:13:46 +01:00
bcostm c4bf5c215e Remove fat, usb_host, USB_10, USB_11 in build_travis.py --> alignment with other targets after rebase 2017-06-20 17:13:44 +01:00
bcostm 15f20cb7ab Add "01A" suffix in target name 2017-06-20 17:13:42 +01:00
bcostm 0de4feffb0 Add DISCO_L475VG_IOT in build, export and tests python files 2017-06-20 17:13:41 +01:00
Jimmy Brisson 38370530b8 Fix a bug in print_large_string 2017-06-20 17:13:39 +01:00
Jimmy Brisson a68fa4ae98 Accept app config option for export 2017-06-20 17:13:38 +01:00
Brian Daniels b8b416eb5a Enable verbose builds when running example build tests 2017-06-20 17:13:31 +01:00
Jimmy Brisson 65db7d19eb Export static files from mbed export 2017-06-20 17:13:30 +01:00
Jimmy Brisson ceae03eccc Filter supported devices with a post-bin whitelist in uvision 2017-06-20 17:13:30 +01:00
Jimmy Brisson ee5006f672 Improve error messages for bootloader build errors 2017-06-11 09:48:46 +01:00
Sam Grove de31126ba0 Add mbed-os-eample-cellular to release data 2017-06-11 09:48:38 +01:00
Martin Kojtal aaa316aadf tools: mbed sdk boot should be separate object file
This was probably deleted during the rebase, as mbed sdk boot needs to be
own object file due to using weak functions.
2017-06-11 09:48:37 +01:00
Jimmy Brisson 1b7af5fbb4 Correct FPU setting for Cortex-M7FD
They had floating point turned off before
2017-06-11 09:48:32 +01:00
Jimmy Brisson 68c58c32d7 Correct profile handling in GNUARMEclipse exporter 2017-06-11 09:48:32 +01:00
Jimmy Brisson de72fd6973 Remove unsupported part from IAR 2017-06-11 09:48:31 +01:00
Jimmy Brisson 07276fb4d6 Remove incompatible post binary hook 2017-06-11 09:48:31 +01:00
Jimmy Brisson 42bfa06b48 Use absolute paths for bootloader binaries 2017-06-11 09:48:23 +01:00
Jimmy Brisson 121b7f1361 Fix typo in tools code to handle bootloader builds
fixes a regression
2017-06-11 09:48:16 +01:00
Sam Grove 236ce19779 Remove previous docs building method and replaced by `doxygen doxyfile_options` 2017-06-11 09:48:13 +01:00
Jimmy Brisson 5a0bd97927 Fix a typo in test code
I goofed on spelling (swapped two letters). Whoops.
2017-06-11 09:48:07 +01:00
Niklas Hauser 8fb74f42d2 uVisor: Wrap _memalign_r and _calloc_r 2017-06-04 14:41:59 +01:00
Yuguo Zou 88d4d1d0f8 exporter coding style fix
should use space instead of tab
2017-06-03 20:15:04 +01:00
Yuguo Zou 92ca664fda Add support for mbed exporter
(uvision, gcc_arm, iar)
2017-06-03 20:15:04 +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 02687b5ec5 A fix to enum issue 2017-06-03 20:14:54 +01:00
Yuguo Zou f8019f4526 Mute RAM1 messages 2017-06-03 20:14:52 +01:00
Yuguo Zou d461776ca7 Fix postbuild for ARM & GCC 2017-06-03 20:14:52 +01:00
Yuguo Zou 7867a816d7 WiFi test fix for GCC
right now still need to add flag in gcc.py, we are fixing!
2017-06-03 20:14:51 +01:00
Yuguo Zou 9514cf810a improve py code 2017-06-03 20:14:51 +01:00
Yuguo Zou d75c5dbef0 minor fixes
correct heap size in icf file;
improve REALTEK_RTL8195AM.py
2017-06-03 20:14:50 +01:00
Yuguo Zou 0894548b3d complete postbuild process for IAR
also reduce replicated code
2017-06-03 20:14:50 +01:00
Yuguo Zou ad85a1409b Remove IPV4 from features in targets.json 2017-06-03 20:14:49 +01:00
Yuguo Zou 49baa975cd py coding style 2017-06-03 20:14:46 +01:00
Yuguo Zou 9e9878f377 improve coding style
consistent with other tools
2017-06-03 20:14:45 +01:00
Yuguo Zou 53e837bce2 add support for REALTEK_RTL8195AM 2017-06-03 20:14:45 +01:00
Russ Butler 737c5a9cea Trap on errors when building with debug profile
Define MBED_TRAP_ERRORS_ENABLED to 1 for the debug profile so errors
are obvious when building as debug.
2017-06-02 23:50:40 -05:00
Jimmy Brisson 9277c6e564 Move profile processing into build_api 2017-06-02 12:05:01 +01:00
Jimmy Brisson caa50cb8a8 Allow overriding of non-cumulative target attributes 2017-06-02 12:03:53 +01:00
Sam Grove 4c4fb822dd Merge pull request #4415 from theotherjimmy/disable-2-builds
Disallow building of mbed OS 2 + RTOS, and remove mbed OS 5 support for Cortext-A
2017-06-01 23:43:40 -05:00
Jimmy Brisson cee0cbd900 Remove Cortex-A mbed OS 5 support 2017-06-01 13:16:09 -05:00
Jimmy Brisson d8caee9077 Disallow building of mbed OS 2 + rtos 2017-06-01 13:16:03 -05:00
Jimmy Brisson 07a6c07408 Revert "Disable Cortex-A in tooling to provide better error messages"
This reverts commit f5859b308b.
2017-05-31 13:06:30 -05:00
Jimmy Brisson 4806229090 Fix bug in dependency handling 2017-05-31 09:54:09 -05:00
Martin Kojtal 88c398b52a Merge pull request #4377 from theotherjimmy/disable-cortex-A
Disable Cortex-A in tooling for better error messages
2017-05-31 07:50:21 +01:00
Jimmy Brisson f5859b308b Disable Cortex-A in tooling to provide better error messages
Disable Cortex-A in compile supported matrix
Disable Cortex-A in export supported matrix
2017-05-30 14:32:06 -05:00
Anna Bridge ddc015fb6e Merge pull request #4303 from nvlsianpu/nrf52840_iar
enable iar exporter for nRF52840
2017-05-30 16:45:25 +01:00
Sam Grove 704ffd7010 Merge pull request #4331 from theotherjimmy/depend-on-profile
Have objects depend on their respective compiler invocations
2017-05-26 17:06:23 -05:00
Sam Grove d11289b576 Merge pull request #4165 from adustm/can_init
fix #3863 Add an mbed API that allows the init of the CAN at the bus frequency
2017-05-26 10:45:19 -05:00
Sam Grove 2e5ba49b59 Merge pull request #4395 from theotherjimmy/fix-uvision-support
Allow generic core exports to UVision
2017-05-26 10:20:33 -05:00
Jimmy Brisson 598cbdf023 Merge pull request #4381 from janjongboom/vscode-intellisense-engine
Fix vscode intellisense engine to 'Tag Parser'
2017-05-25 15:06:54 -05:00
Jimmy Brisson 4d1a4a41fa Fix Uvision supported check
Should now allow for generic targets
2017-05-25 15:01:20 -05:00
Brian Daniels 3966139cd7 Allowing examples to specify which repo source to use for testing.
They can pick from either the mbed developer site or the GitHub
repository.
2017-05-24 11:10:49 -05:00
Jan Jongboom 1b0d7ee120 Fix vscode intellisense engine to 'Tag Parser' 2017-05-24 10:56:45 +01:00
Vincent Coubard 897667deaa makefile exporter: Escape double quote in toolchain flags.
Without this fix macro defined as -DFOO="BAR" won't be correctly
interpreted by the compiler.
2017-05-23 14:08:24 +01:00
Vincent Coubard deaabf3123 uvision exporter: Escape double quote in flags.
Without this fix macro defined as -DFOO="BAR" won't be correctly handled
by uvision.
2017-05-23 14:04:05 +01:00
Jimmy Brisson 7b04a52a46 Mock the function I just added in testing 2017-05-19 16:30:49 -05:00
Jimmy Brisson 3123a1d394 Switch dependencies to their respective CIL flags 2017-05-19 16:30:49 -05:00
Jimmy Brisson 5152c1c7ac Make object files depend on compiler flags 2017-05-19 16:29:55 -05:00
Sam Grove 94b67de439 Merge pull request #4202 from theotherjimmy/rom-size-injection
Add support for Unmanaged Bootloader
2017-05-18 09:34:13 -05:00
Sam Grove 943ef8648b Merge pull request #4325 from theotherjimmy/fix-unicode
Decode STDERR from compiler
2017-05-18 09:26:06 -05:00
Andrzej Puzdrowski 83c4b585c1 nRF52840_xxAA: enable iar exporter. nRF5x-MDK-IAR 8.11.1 or newer is required. 2017-05-17 11:45:57 +02:00
Jimmy Brisson 4ed87e2f3c Decode STDERR from compiler 2017-05-15 14:13:50 -05:00
Russ Butler 0a3b2561bc Merge pull request #4316 from c1728p9/remove_cortex_a
Remove Cortex A boards as Cortex-A it is not supported in CMSIS5/RTX2
2017-05-15 11:55:36 -05:00
Martin Kojtal 12e6f8a1a8 Merge pull request #4293 from theotherjimmy/dedupe-iar-flags
Revome duplicate optimization flags in IAR export
2017-05-15 16:20:12 +01:00
Martin Kojtal 7a656302b2 Merge pull request #4286 from theotherjimmy/fix-coide-missing-template
Remove unsupported Coide exports
2017-05-15 16:16:10 +01:00
adustm f9b94d5f6c Add NUCLEO_F303ZE in MBED_A30 test list 2017-05-15 14:27:22 +02:00
jeromecoutant f027cf429b Add new CAN API test MBED_A30 2017-05-15 14:27:22 +02:00
Bartek Szatkowski e535493a01 Remove Cortex A boards as Cortex-A it is not supported in CMSIS5/RTX2 2017-05-12 17:14:04 -05:00
Martin Kojtal 4b9b7188b8 tools: fix objects names that we need because of weak linkage
Fixing retarget and board object files, plus adding new one mbed_main.
2017-05-12 14:51:51 -05:00
Martin Kojtal 2977d0c387 tools: remove usb host from mbed 2 scripts
usb host has dependency on rtos1 that is no longer in the
code base.
2017-05-12 14:51:49 -05:00
Martin Kojtal 8c4258ceb5 tools: remove all rtos1 references
These references are removed from mbed 2 scripts, including travis script.
2017-05-12 14:51:47 -05:00
Jimmy Brisson 2821fd548f Mock config in toolchain tests 2017-05-12 14:04:08 -05:00
Bartek Szatkowski 2ddf4b33cb CMSIS5: Remove ARM7 support and targets 2017-05-12 13:48:43 -05:00
Martin Kojtal d4cd403039 tools: remove net libraries
Remove any reference to net libraries that are unsupported. As we removed net libraries, these are no longer in the codebase.
2017-05-11 17:51:01 -05:00
Jimmy Brisson 58167a2071 All C files depend on mbed_app.json 2017-05-11 14:20:09 -05:00
Jimmy Brisson 59e32b2fc6 Merge pull request #4289 from netzimme/master
LPC4088: add "LPC4088Code.binary_hook" to the white list of the embit…
2017-05-10 15:56:24 -05:00
Jimmy Brisson 6b8dd7b880 Revome duplicate optimization flags in IAR export 2017-05-09 14:20:48 -05:00
Daniel Zimmermann 8e02855101 LPC4088: add LPC4088Code.binary_hook to the white list of the embitz, gnuarmeclipse and makefile exporter. 2017-05-09 11:59:03 -05:00
Jimmy Brisson d04d588106 Merge pull request #4276 from nvlsianpu/patch-1
avoid 03/05 intel-hex records for nordic devices
2017-05-08 16:05:24 -05:00
Jimmy Brisson c782054eb5 Remove unsupported Coide exports
They simply would error with "template not found". Instead, lets just
disable them.
2017-05-08 14:03:27 -05:00
Jimmy Brisson bbde3797cb Make binary depend on config directly 2017-05-08 13:33:37 -05:00
Jimmy Brisson fd26d5b5a7 Allow app config to override start and size 2017-05-08 13:25:28 -05:00
Jimmy Brisson c1cbd26f1d Merge pull request #4256 from arostm/dev_disco_lora
DISCO_L072CZ_LRWAN1: add a new platform
2017-05-08 11:15:00 -05:00