Commit Graph

886 Commits (mbed-os-5.3)

Author SHA1 Message Date
ccli8 6538fd6fb7 Support exporting IAR project 2017-02-24 13:24:18 +00:00
Jimmy Brisson 907e7db562 Fix access before variable defined bug in test_api
The worker_result variable was not guaranteed to have a `'result'` or
`'reason'` key and accessing them before testing for them could result
in an error when they are not provided. This patch changes the checks to
prevent check for their existence before accessing them.
2017-02-13 13:27:15 +00:00
Sarah Marsh cdbd0ff31c Add IAR export support for NUCLEO_F207ZG 2017-02-13 13:27:06 +00:00
Russ Butler ecbafafffc Enforce device_name is valid in targets.json
Add a CI test ensure that device_name exists inside the pack index.
2017-02-13 13:27:02 +00:00
Russ Butler fcb2f21483 Fix or remove invalid device names
The field device_name is intended to match that of a target in a
device family pack. Remove this field for devices which do not have
a pack. Fix the name for devices that have the name incorrect. Update
IAR definitions for device which no longer have a device_name but
still need to have support for the IAR exporter.
2017-02-13 13:26:57 +00:00
Russ Butler 45fa0f28b1 exporters: allow target name to be used for IAR
Allow the IAR exporter to fall back to a target's name if the
device_name entry is missing.
2017-02-13 13:26:55 +00:00
Brian Daniels 62b61505ae Adding case insensitive 'error' detection
GCC Assembler errors were being missed because it prints 'error'
with a captial 'E'. This change allows the 'e' to be either lower
case or upper case.
2017-02-13 13:26:51 +00:00
Anna Bridge 0bb8e2bc10 Updated to allow for new directory structure for mbed-dev source.
Fixed issue where some deleted files/folders where not being removed from
 the repo.
 Removed code no longer used/needed.
2017-02-13 13:26:32 +00:00
Jimmy Brisson 810d502c7c Add core to uvision exporter template
Strip trailing F's and D's off of the Cputype in uvision
2017-02-13 12:02:40 +00:00
Brian Daniels d2a86635ea Adding fatal error detection to toolchians.
Before the toolchains would ignore error messages that contained the
string "Fatal error". This would lead to a silent failure unless the
compile command was ran with verbose options. This is now fixed.
2017-02-13 12:02:35 +00:00
mbedNoobNinja 2006082dbc Export IDE support added 2017-02-13 12:02:24 +00:00
bcostm d8ee52820e Enable USB tests in Travis build 2017-02-13 12:01:58 +00:00
Michel Jaouen 34dcdde58b USBHOST STM : add more board NUCLEO : F411RE, L476VG, F746ZG DISCO : L476VG 2017-02-13 12:01:26 +00:00
Michel Jaouen e3950204dd update build_travis.py 2017-02-13 12:01:20 +00:00
Michel Jaouen 3c093a8aab USBHOST : add mouse test 2017-02-13 12:01:16 +00:00
Michel Jaouen 0b0520deef USBHOST : test mass storage 2017-02-13 12:01:11 +00:00
Jimmy Brisson 063a144b75 Move sw4stm32 into its own dir 2017-01-30 11:20:42 +00:00
Jimmy Brisson a9056d7e75 Move simplicity to its own dir 2017-01-30 11:20:38 +00:00
Jimmy Brisson 6d6c2a96fd Move zip into its own dir 2017-01-30 11:20:34 +00:00
Jimmy Brisson 92ede69c68 Move KDS to its own directory 2017-01-30 11:20:30 +00:00
Jimmy Brisson bc677bce8d Move e2studio into its own folder 2017-01-30 11:20:26 +00:00
Jimmy Brisson 44c6412554 Move atmelstudio to its own directory 2017-01-30 11:20:21 +00:00
Jimmy Brisson dd8c22db4a Move DS_5 into its own directory 2017-01-30 11:20:17 +00:00
Jimmy Brisson 60dab4d30d Move coide into its own directory 2017-01-30 11:20:13 +00:00
Jimmy Brisson a9e4180bf7 Move codered to its own directory 2017-01-30 11:20:08 +00:00
Jimmy Brisson 085426a2e3 Allow keyword arguments to jinja env from exporters gen_file 2017-01-30 11:19:24 +00:00
Jimmy Brisson cc3fd017ac Fix undefined keys in CMSIS exporter 2017-01-30 11:19:19 +00:00
Jimmy Brisson 45b0f4020d Fix all undefined key errors in iar exporter 2017-01-30 11:19:14 +00:00
Liviu Ionescu 03d2cb8f03 Exporters: make jinja engine strict
- configure the jinja Environment to raise exception when substitution
variables are not defined
- trim spaces and lines, to avoid empty lines in generated files
2017-01-30 11:19:09 +00:00
Jimmy Brisson cd474c07c5 Use sys_libs from mbedToolchain in Makefiles 2017-01-30 11:18:48 +00:00
Jimmy Brisson c3ff22972e Move sys_libs into mbedToolchain class 2017-01-30 11:18:44 +00:00
Max Vilimpoc f8fe7d5cf9 Allow user overrides of LINKER_SCRIPT Make variable 2017-01-30 11:18:36 +00:00
Max Vilimpoc ad4ab2c7d5 Allow user overrides of LINKER_SCRIPT Make variable 2017-01-30 11:18:32 +00:00
Max Vilimpoc 8b1e77af71 Allow user overrides of LINKER_SCRIPT Make variable 2017-01-30 11:18:27 +00:00
Jimmy Brisson 1230b0d4cf Correct revision compares 2017-01-30 11:18:23 +00:00
Russ Butler dafb9d32c3 arm-pack-manager - fix tracebacks
Fix tracebacks from trying to read dictionary values that don't exist
and from incorrect variable names.
2017-01-30 11:18:19 +00:00
Brian Daniels a9cb3fadd0 Fixing toolchain executable not found error for build.py
Commit 19d56fd40f removed the default file
paths for the toolchains. This was done under the assumption that the
top-level compile scripts were properly checking that the toolchain
executable was availble. The build.py script was doing this in the wrong
place. This commit rearranges the script a bit so the check is performed
properly.
2017-01-30 11:18:15 +00:00
Jimmy Brisson 7eb4663038 Inherit names from target parents 2017-01-30 11:18:01 +00:00
Russ Butler b764241ae8 Fix invalid assert in exporters
Assert that the length is greater than one rather than the value
itself. This bug was introduced in the commit:
329be06ad0 -
"exporters - group by directories in prj root"
2017-01-30 11:17:57 +00:00
Jimmy Brisson f4118c016e Add docstrings 2017-01-30 11:17:53 +00:00
Jimmy Brisson 91fc7f30cd Refactor scan resources to account for base_paths 2017-01-30 11:17:48 +00:00
Jimmy Brisson 182ff5ad67 Make the debug profile the default used for exporting 2017-01-30 11:17:44 +00:00
Sarah b80c3758e7 Turn off optimizations for uvision and IAR 2017-01-30 11:17:40 +00:00
jeromecoutant e288ee5089 DISCO_F769NI: Add analog loop test support 2017-01-30 11:17:36 +00:00
Jimmy Brisson 25096d83e1 Change sorting to ignore case 2017-01-13 14:35:46 +00:00
Jimmy Brisson 735e336f46 Asciiabetize the files within a group 2017-01-13 14:35:44 +00:00
Jimmy Brisson 7c330289de Alphabetize UVision groups 2017-01-13 14:35:43 +00:00
Seppo Takalo 1ac5be8fda Add support for ethernet-only configuration with Nanostack.
This saves about 100kB of flash when using ethernet only configuration.
Otherwise only border router configuration was supporting ethernet.
2017-01-13 14:35:40 +00:00
bcostm 3430f90176 Remove automated flag for MBED_29/30 tests 2017-01-13 14:35:38 +00:00
bcostm 17397467c7 Add CAN feature and activate CAN tests for this platform 2017-01-13 14:35:36 +00:00