Commit Graph

2011 Commits (mbed-os-5.9)

Author SHA1 Message Date
Jimmy Brisson 7122a538c3 Check for no match in version check 2018-06-29 17:10:17 +01:00
Jimmy Brisson 081fc8eac2 Escape '.' in regex 2018-06-29 17:10:17 +01:00
Jimmy Brisson 6e71c4ceba Search all stdout for version regex; check > 1 matches 2018-06-29 17:10:17 +01:00
Jimmy Brisson efcba8830e Improve ARM compiler regex 2018-06-29 17:10:17 +01:00
Jimmy Brisson c17a5d9c1b Use Non-blocking Error and LooseVersion 2018-06-29 17:10:17 +01:00
Jimmy Brisson 53083b7456 Check version of Mbed CLI compile 2018-06-29 17:10:17 +01:00
TomoYamanaka e2c2e3590c Update arm pack manager for GR-PEACH
I changed the information("sectors" and "memory") of GR-PEACH for supporting bootloader in index.json file of arm pack manager.
2018-06-29 17:10:17 +01:00
TomoYamanaka 350980aedc Fix definitions of IAR exporter for GR-PEACH and GR-LYCHEE 2018-06-29 17:10:17 +01:00
TomoYamanaka c927369ee9 Update arm pack manager for GR-LYCHEE
I added the information of GR-LYCHEE for supporting bootloader in index.json file of arm pack manager.
2018-06-29 17:10:17 +01:00
Mahesh Mahadevan f3207adac1 MIMXRT1050: Update to EVK Rev B
1. Add the IVT header to the binary as this is required for boot up
   This was earlier added by the DAPLink firmware. As it is no longer
   handled in DAPLink, the header needs to be added inside mbed.
2. Update drivers

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-06-29 17:10:17 +01:00
Cruz Monrreal II a76d7bb0df Compiling Cortex-A cores in uVision is not supported. Reference: http://www2.keil.com/mdk5/selector 2018-06-29 17:10:17 +01:00
ben 518ac5adb7 update pack index 2018-06-29 17:10:17 +01:00
Kevin Bracey 41335ad3e9 IAR: Suppress C "bypasses initialization" warning
By default IAR generates "transfer of control bypasses initialization"
warnings for C code - it's a legal construct that frequently occurs when
doing Linux-style "goto error". Many occurrences in Nanostack.

Suppress the warning for C only, to align with GCC and ARMCC. Have to
take care not to put it in the "common" section, as this would suppress
it for C++, where it actually is illegal.
2018-06-29 17:10:17 +01:00
Jimmy Brisson ed43eab65d Allow hex BL, SD and application merging 2018-06-29 17:10:17 +01:00
Jimmy Brisson 44bf7d6dd5 Force small lib usage when using uARM tc 2018-06-29 17:10:17 +01:00
Jimmy Brisson 2c4a868734 Correct "defalut" typo 2018-06-29 17:10:17 +01:00
Jimmy Brisson 51708bcd76 Compute ARM_STD and ARM_MICRO labels with target attrs 2018-06-29 17:10:17 +01:00
Jimmy Brisson 2f128459b5 Heed default_lib in arm compiler 2018-06-29 17:10:17 +01:00
Jimmy Brisson ad016f43b9 Correct supported check of uvision to include uARM 2018-06-29 17:10:17 +01:00
Jimmy Brisson a72365c9fa Skip second header when every bl config paramater used 2018-06-15 13:30:56 +01:00
klaas019 f56dc0ac19 Add files via upload 2018-06-15 13:30:56 +01:00
klaas019 4020708351 Delete bootloader.bin 2018-06-15 13:30:56 +01:00
Juha Ylinen 8dbd41c57f Add targets to Greentea EMAC tests
Update test configuration file for WicedInterface
2018-06-15 13:30:56 +01:00
Jimmy Brisson 6259e81451 Add show full path option to armc6 linker
### Description
Full paths in the map file are required to have correct memap parsing.
This PR adds the option `--show_full_path` to ARMC6 in every profile.
This option only affects the map file output, so it's safe to add.
2018-06-15 13:30:56 +01:00
jeromecoutant aba7367d8b ISM pin configuration is now in ISM driver json file 2018-06-15 13:30:56 +01:00
jeromecoutant 34bfb084c4 Add ISM43362 driver support for STM32 wifi DISCO boards
2 DISCO boards:
- DISCO_F413ZH
- DISCO_L475VG_IOT01A

3 tests supported:
- tests-netsocket-tcp
- tests-netsocket-udp
- tests-network-wifi
2018-06-15 13:30:56 +01:00
Jimmy Brisson 752b6c2efe Use TerminalNotifier in singletest 2018-06-15 13:30:56 +01:00
Cruz Monrreal II 40cc4e3e64 Updated makefile exporter to not rely on enumerating over map. No longer supported in Py3. 2018-06-15 13:30:56 +01:00
Marc Emmers 5cb665ed07 Added STM32L433RC to iar exporter options 2018-06-15 13:30:56 +01:00
Mike Harrington bd6503fb81 Fixed incorrect clean_flags method and float-abi linker option for CCES exporter. 2018-06-15 13:30:56 +01:00
Martin Kojtal d3e48c2317 test: remove verbose from buil libs calls
it was removed recently, not used anymore
2018-06-06 08:03:32 +01:00
Martin Kojtal 3e8488adab build: fix notifier typo and passing to builds API
Notifier should be passed to build libs functions, otherwise it's
none and fails.

Missing notify object in toolchain also fixed.
2018-06-06 08:03:22 +01:00
Cruz Monrreal d743f7fab5
Updated lines missed during Notifier API migration 2018-06-05 17:18:54 -05:00
Jimmy Brisson babfb00b80 Use Notifier API when building mbed2 2018-06-05 13:43:45 -05:00
Cruz Monrreal II 97028c5fd8 Removed extraneous file open 2018-06-05 15:05:18 +01:00
Cruz Monrreal II cc5a36ba81 Modified IntelHex tofile parameter to use path. Py3 open(...) returns a BufferedReader instead of a file. 2018-06-05 15:05:18 +01:00
Cruz Monrreal II 25c49f286a Modified memap path separator parsing to support Py3. Had to remove part of test that was incompatible with Py3 on Windows. 2018-06-05 15:05:18 +01:00
Cruz Monrreal II e8661f5b86 Sets module no longer needed to use set() 2018-06-05 15:05:18 +01:00
Cruz Monrreal II 6daf367b93 Modified LazyDict to inherit from object instead of dict, and removed iteration over values. Py3 no longer supports dictionaries that self-modify their item lists during iteration. 2018-06-05 15:05:18 +01:00
Cruz Monrreal II a7f73de527 Added basestring import for proper string concatenation in Py3 2018-06-05 15:05:18 +01:00
Cruz Monrreal II f84c74a920 Encapsulated Windows file separator for proper regex parsing 2018-06-05 15:05:18 +01:00
Cruz Monrreal II 2c750c405e Updated local variable in memap/parse_test.py to be lower case. 2018-06-05 15:05:18 +01:00
Cruz Monrreal II 03a51d6e71 Added windows path separator to list of alphabet characters to ignore. Corrected instance of hard-coded unix path separator. 2018-06-05 15:05:18 +01:00
Cruz Monrreal II b5789f324d Modified memap tests to perform file path comparisons agnostic of the path separator. 2018-06-05 15:05:18 +01:00
Cruz Monrreal II 8de0876333 Removed test that needs to be rearchitected due to subprocess limitations 2018-06-05 15:05:18 +01:00
Martin Kojtal 501a7b6949
Merge pull request #7009 from bulislaw/merge_feature_branches_for_5.9
Bring in improved HAL APIs to master
2018-05-28 12:31:14 +02:00
Cruz Monrreal 9c62ea311d
Merge pull request #7023 from adbridge/master
Add new examples to example list for CI.
2018-05-25 20:27:51 -05:00
Cruz Monrreal d597a8b3f3
Updated blockdevice example to target only K64F 2018-05-25 15:23:26 -05:00
Cruz Monrreal 45dc00dfaa
Merge pull request #6665 from VeijoPesonen/greentea_netsocket_more_tests
Greentea netsocket more tests
2018-05-25 15:20:17 -05:00
adbridge d5941e022c Add 2 more examples and remove deprecated one.
Removed:
mbed-os-example-fat-filesystem
Added:
mbed-os-example-error-handling
mbed-os-example-blockdevice
2018-05-25 18:35:31 +01:00
Bartek Szatkowski 2d11b05756 Disable Maxim boards as LP_TICKER is used in RTC and they don't respect device_has 2018-05-25 12:20:09 -05:00
Bartek Szatkowski 6e9f04bf2f Rename DEVICE_LOWPOWERTIMER to DEVICE_LPTICKER
That's to match DEVICE_USTICKER.
2018-05-25 12:20:09 -05:00
adbridge aa7f0692bd Add new examples to example list for CI.
The following examples have been added:

https://github.com/ARMmbed/mbed-os-example-thread-statistics
https://github.com/ARMmbed/mbed-os-example-sys-info
https://github.com/ARMmbed/mbed-os-example-cpu-usage
https://github.com/ARMmbed/mbed-os-example-cpu-stats
2018-05-25 17:34:02 +01:00
Martin Kojtal 54ac90fb5a
Merge pull request #7003 from adbridge/master
Add devicekey example to examples list
2018-05-25 14:01:26 +02:00
Juha Ylinen 83fdd131a2 Update Greentea test configuration files
Add .json files for WicedInterface and SpwfSAInterface
Add target configurations for
MTB_UBLOX_ODIN_W2
MTB_ADV_WISE_1530
MTB_USI_WM_BN_BM_22
MTB_MXCHIP_EMW3166
NUCLEO_F401RE
2018-05-25 09:38:22 +03:00
Veijo Pesonen 2f410b0ce2 Rely on ARM's and U-Blox's echo servers
Make the server as default. Use the hostnames instead of plain IP addresses.
2018-05-25 09:35:14 +03:00
Cruz Monrreal 322c95c3a7
Limit devicekey example to only K64F
Lines up devicekey example with nvstore example
2018-05-24 17:38:02 -05:00
Cruz Monrreal 2f86c152f0
Merge pull request #6794 from RonEld/cc310_porting
Cryptocell 310 support
2018-05-24 10:05:46 -05:00
Kevin Bracey 13dcef63e3
Merge pull request #6847 from ARMmbed/feature-emac
Merge feature-emac branch into master
2018-05-24 16:47:04 +03:00
adbridge 5c3539c8ca Add devicekey example to examples list 2018-05-24 11:13:45 +01:00
Martin Kojtal d8cb72a0a2
Merge pull request #6273 from bulislaw/update_cmsis_5.3
Update cmsis/rtx to version 5.3
2018-05-24 09:37:40 +02:00
Cruz Monrreal 99df848e1c
Merge pull request #6968 from theotherjimmy/test-relpath
Test build: Reduce include command length
2018-05-23 14:47:58 -05:00
Kevin Bracey ff32b28d1e Refill example lists - all current Ethernet boards
Remove check for LWIP - check target flagging for EMAC drivers.
Should still be DEVICE_EMAC, but tooling doesn't support that.
2018-05-23 18:40:12 +03:00
Mika Leppänen 91531a2aaa Updated ublox odin greentea test configuration file connect statement
Statement now uses network interface wifiInterface() method to
get wifi interface instead of casting.
2018-05-23 12:25:18 +03:00
Michael Zhang 162a8c0a00 add-rtl8195am-feature-emac (#6904)
rtl8195am feature emac implementation.
2018-05-23 12:25:18 +03:00
Mika Leppänen ef68eb8b4d Enabled greentea and mbed-os-example-tls/client/sockets test for STM 2018-05-23 12:24:02 +03:00
Kevin Bracey d831bcb514 Remove Ethernet from NUCLEO_F429ZI test
Pending EMAC driver update, these tests won't compile.
2018-05-23 12:24:00 +03:00
Kevin Bracey 1683ff18ba Disable Nanostack border router test
Pending Nanostack EMAC work, disable the border router.
2018-05-23 12:23:59 +03:00
Kevin Bracey 2548f1894d Restrict client and socket example tests to K64F+K66F
I would like to restrict these to devices with "device_has": "EMAC", but
the framework doesn't currently permit that.  Revisit as more drivers
are EMAC-enabled or if the framework changes.
2018-05-23 12:23:59 +03:00
Kevin Bracey 586a62a87b Adjust test configurations for EMAC
Make ETHERNET configuration the default if DEVICE_EMAC is present,
instead of if FEATURE_LWIP is present.

This limits it to targets which have been ported to the new EMAC API.

Add LWIP feature to JSON config, as in principle the targets shouldn't
be adding it themselves. Opens scope to having Nanostack-based tests.

Disable tests for the Realtek and Wifi drivers that aren't ported yet.
2018-05-23 12:23:59 +03:00
Mika Leppänen 28ff255533 Updated greentea network interface configuration files 2018-05-23 12:23:57 +03:00
Martin Kojtal 261f73fbfd
Merge pull request #6896 from Alex-EEE/master
Export folder needs to not ignore .mbed files.
2018-05-22 14:42:12 +02:00
Jimmy Brisson 3e7fd9e0f0 Use relative path for scanning built mbed-os 2018-05-21 13:48:41 -05:00
Cruz Monrreal b165e9c3da
Merge pull request #6823 from theotherjimmy/remove-build-everything
tools: Remove long-deprecated build_everything.py
2018-05-21 10:16:02 -05:00
Cruz Monrreal 1ae48fcee9
Merge pull request #6939 from jeromecoutant/PR_NOT_SUPPORTED
NOT_SUPPORTED error was not supported any more in test_api.py script
2018-05-21 10:08:03 -05:00
Ron Eldor 23ba8bc1f5 Change Cryptocell target to a feature
Change the Cryptocell310 target to `FEATURE_CRYPTOCELL310`
2018-05-21 13:40:43 +03:00
jeromecoutant 109524d83d NOT_SUPPORTED error was not supported any more in test_api.py script 2018-05-17 11:58:13 +02:00
Cruz Monrreal II 4ea96d982d Added explicit target for NVStore, per example readme 2018-05-15 12:48:48 -05:00
Cruz Monrreal 83d7444331
Merge pull request #6886 from cmonr/additional-py3-fixes
Corrected iteritems py2/3 compatability in test_api.py
2018-05-15 10:08:28 -05:00
Cruz Monrreal 0fd5447ff7
Merge pull request #6885 from theotherjimmy/fix-startaddr-conflict
BL mode: Prevent jump address conflicts
2018-05-14 16:16:34 -05:00
Alex-EEE c0103c328b Export folder needs to not ignore .mbed files.
Fixing a bug.  .mbed is ignored in the high level .gitignore file.  But .mbed is actually a needed file inside of tools/export.  Even though the file is still in the main repo, since it's ignored now, you can easily lose it or remove it without seeing the change.  Adding this .gitignore file here will add .mbed back into the tracked files for only this directory
2018-05-14 12:25:07 -05:00
Cruz Monrreal d3cc4e1066
Merge pull request #6833 from andrewleech/test_ignore_arg
mbed test: add argument `--ignore` to allow passing in mbedignore patterns
2018-05-14 10:37:26 -05:00
Cruz Monrreal 598e5118a7
Merge pull request #6838 from ajaakko-arm/sw4stm_tmppath_fix
export: Fix invalid config header path in Sw4STM32
2018-05-14 10:37:01 -05:00
Bartek Szatkowski 00a321846d Rename __DOMAIN_NS to DOMAIN_NS to match CMSIS 2018-05-14 12:18:21 +01:00
Bartek Szatkowski 31eee7db20 Fix cmsis_importer.json so it works with the newest CMSIS 2018-05-14 12:18:21 +01:00
Bartek Szatkowski 07aad3c862 CMSIS/RTX: Adapt Mbed OS to CMSIS/RTX device support scheme 2018-05-14 12:18:21 +01:00
Cruz Monrreal II daa0f9bc35 Corrected iteritems py2/3 compatability in test_api.py 2018-05-11 13:17:48 -05:00
Jimmy Brisson 4ad8ce073a Prevent jump address conflicts in bootloader modes 2018-05-11 11:23:01 -05:00
Kimmo Vaisanen b61912cbbe Build mbed-os-example-lora only for lora targets
mbed-os-example-lora should be only compiled for targets which support lora.
2018-05-11 14:45:21 +03:00
Andrew Leech 3b79b3f65e add `--ignore` argument to `mbed compile` & `mbed export` commands 2018-05-11 14:00:01 +10:00
Jaakko Heikkilä 5330fa8ce5 export: Remove debug print from sw4stm32 2018-05-09 09:03:17 +03:00
Andrew Leech badd753466 mbed test: add argument `--ignore` to allow passing in extra mbedignore args
In particular this allows ignoring a project main.cpp file when running unit tests
2018-05-09 10:02:02 +10:00
Cruz Monrreal ceeedfd99c
Merge pull request #6805 from theotherjimmy/reorder-test-configs
tools: Reorder test configuration priority
2018-05-07 19:15:14 -05:00
Cruz Monrreal 53d3c4344f
Merge pull request #6781 from theotherjimmy/refactor-notify
tools: Refactor notification API
2018-05-07 10:48:48 -05:00
Cruz Monrreal ab81b61e6c
Merge pull request #6657 from tsailer/exporter-codeblocks-ncs
add ncs36510 fib and trim generation
2018-05-07 10:40:51 -05:00
Cruz Monrreal 2ddce27a42
Merge pull request #6769 from theotherjimmy/fix-subtract-basepath
Move subtract basepath into the resources class
2018-05-07 10:33:36 -05:00
Cruz Monrreal c52a8d6044
Merge pull request #6793 from theotherjimmy/fix-test-config-passing
tools: Pass app-config to get_config
2018-05-07 10:28:03 -05:00
Jaakko Heikkilä 03b16fc1c3 export: Fix invalid config header path in Sw4STM32
Removed tmp-path from config header path, when project is exported
in online compiler. Parallel build is enabled by default.
2018-05-07 15:27:25 +03:00
Jimmy Brisson 8e4ab30de7 Remove build_everything.py
It's not used
2018-05-04 11:48:17 -05:00
adbridge cfe2676b30 Remove example update scripting from tools
The examples updating functionality has now been moved to the
mbed-release script and thus can be removed from here.
2018-05-04 13:57:18 +01:00