Commit Graph

2218 Commits (90ede7a0f08086f49c8c80f41e5930a0e77cc7ea)

Author SHA1 Message Date
Jimmy Brisson 361fc65f08 Allow missing toolchain parameter to get_config 2018-07-16 14:11:08 -05:00
Jimmy Brisson 4c7cf21feb Require notifier in resources 2018-07-16 14:10:21 -05:00
Jimmy Brisson 7c42302854 Update test builder to use new resources 2018-07-16 14:10:21 -05:00
Jimmy Brisson 3e6e9e8c26 Remove unused git hook 2018-07-16 14:10:21 -05:00
Jimmy Brisson 87146cd66a Cleanup and reduced scanning 2018-07-16 14:10:21 -05:00
Jimmy Brisson 519e338667 Rework export resource scanning 2018-07-16 14:10:21 -05:00
Jimmy Brisson 2d8cf737e4 Move resource scanning into it's own module 2018-07-16 14:10:21 -05:00
Jimmy Brisson 285d661373 Show Mbed 2 support in compile -S 2018-07-16 14:07:41 -05:00
Jimmy Brisson 989986288f Correct uvision exporter support check 2018-07-16 11:51:20 -05:00
Jimmy Brisson 9968b547d9 Allow ARMC6 only mbed 5 releases 2018-07-16 08:42:55 -05:00
Cruz Monrreal 904bdf8016
Merge pull request #7477 from theotherjimmy/fix-customtgt-tests
Tools: Skip target lookup in test builds.
2018-07-14 12:15:04 -05:00
Cruz Monrreal 39407adf1b
Merge pull request #7475 from theotherjimmy/py3-release-ver-parse
Tools: py3 compatible mbed-os version lowercasing
2018-07-14 06:29:03 -05:00
Cruz Monrreal d4a0e6cf7a
Merge pull request #7503 from theotherjimmy/unquote-make
Tools: Drop quotes from makefiles
2018-07-13 22:13:33 -05:00
Cruz Monrreal 9667b5e49b
Merge pull request #7500 from theotherjimmy/fix-gcc-v8m-export
Tools: Correct cmse lib creating with make_gcc_arm exporter
2018-07-13 22:13:12 -05:00
Cruz Monrreal 1ee7d8b6d5
Merge pull request #7481 from theotherjimmy/py3-export-supported
Tools: Fix py3 bug with mbed export -S
2018-07-13 22:12:59 -05:00
Cruz Monrreal d33d93bf47
Merge pull request #7501 from theotherjimmy/gen-file-mkdir
Tools: Make directories before gen file uses them
2018-07-13 09:12:07 -05:00
ccli8 1dbdcb2c8b [M2351] Remove M2351KIAAEES from iar_definitions.json
M2351 doesn't support IAR yet.
2018-07-13 13:42:42 +08:00
Jimmy Brisson 33a56b4470 Drop quotes from command line make 2018-07-12 13:11:57 -05:00
Jimmy Brisson ef7b466958 Correct cmse lib creation for the make_gcc_arm 2018-07-12 10:49:26 -05:00
Jimmy Brisson 9a3ad69ee9 Ensure that files generated have a directory 2018-07-12 10:27:14 -05:00
Jimmy Brisson 51276a66b0 Update compiler check to allow only v6 for OS 5 2018-07-12 18:01:40 +08:00
Jimmy Brisson 4400765ece Add `Mxx_NS` core-based labels 2018-07-12 18:01:37 +08:00
ccli8 8f2c717c4c [M2351] Fix part number in IAR export 2018-07-12 17:51:56 +08:00
Deepika ffcc438b5a [M2351] Use Cortex M23 specific header files and interrupts
1. Update use of correct header files
2. Added missing entry of M2351 device in IAR defines.
3. Removed support of ARM toolchain in targets.json
2018-07-12 17:51:00 +08:00
Jimmy Brisson e68b328cf8 Fix Python3 bug with `mbed export -S` 2018-07-11 11:44:50 -05:00
Jimmy Brisson 6d42bd31c6 Tools: Correct release version "parsing" for py3 2018-07-11 09:46:03 -05:00
Jimmy Brisson 5f8aa893ca Partial revert of "CMSIS/RTX: Adapt Mbed OS to CMSIS/RTX device support scheme" 2018-07-11 13:49:57 +01:00
Cruz Monrreal 3becf77b10
Merge pull request #7466 from theotherjimmy/py3-version-check
Tools: py3 compatible version checks
2018-07-11 07:34:49 -05:00
Cruz Monrreal 45b8ec981b
Merge pull request #7410 from theotherjimmy/explicit-exporer-aliases
Tools: Move exporter alias handling to CLI
2018-07-10 22:04:01 -05:00
Jimmy Brisson 444d021b0e Correct string usage in version checking 2018-07-10 14:04:26 -05:00
Jimmy Brisson a9abcf1b15 Add aliases to example exporter options 2018-07-09 09:49:55 -05:00
Jimmy Brisson 930a6119d7 Skip target lookup in test builds.
This should allow custom targets to be transferred to each process
when building in parallel
2018-07-09 09:44:55 -05:00
Jens Alfke 5543849ba4 Recognize ".cc" and ".hh" source file extensions
".cc" --> C++ source code
".hh" --> header

This change allows existing source code with this naming
convention (e.g. my company's) to be used in mbed.os projects.
2018-07-06 10:10:22 -07:00
Jimmy Brisson 047cb631e8 Correct -E help 2018-07-06 10:29:15 -05:00
Jimmy Brisson ec0a4933fa Correct argv usage 2018-07-06 10:22:37 -05:00
Jimmy Brisson 44030c23d3 Simplify main function 2018-07-06 10:20:37 -05:00
Jimmy Brisson 71323af2f5 Reformat part of project.py 2018-07-06 10:10:01 -05:00
Cruz Monrreal 0ba46e74a6
Merge pull request #7377 from theotherjimmy/stats-depth-zero
Tools: Summarize stats when depth is 0
2018-07-05 10:38:18 -05:00
Cruz Monrreal fab08498f8
Merge pull request #7277 from theotherjimmy/error-on-unknown-config
Tools: Persist config errors until validation occurs
2018-07-05 10:36:35 -05:00
Jimmy Brisson b56a7a6a5a Move exporter alias handling into CLI 2018-07-03 13:56:23 -05:00
Jimmy Brisson e53537c267 Use defaultdict in the other place 2018-07-03 10:03:27 -05:00
Cruz Monrreal 9c4c630356
Merge pull request #7367 from theotherjimmy/check-arm-component
Tools: Detect Arm Compiler version using Component
2018-07-03 07:35:57 -05:00
Cruz Monrreal 72684e3a2e
Merge pull request #7370 from jeromecoutant/PR_PERIPPINO
build_api.py : add comment about separate_names
2018-06-29 20:07:20 -05:00
Jimmy Brisson 982d2085ef Summarize memory map when --stats-depth is 0 2018-06-29 12:09:53 -05:00
jeromecoutant e17b1df13d build_api.py : add comment about separate_names 2018-06-29 09:30:07 +02:00
Jimmy Brisson 95c33f7807 Include symbols in dumped build profiles
This will make incremental compile more complete, taking device_has and
inheritance hierarchy into account.
2018-06-28 15:05:23 -05:00
Jimmy Brisson ed04c1b413 Add a test for MDK pro version detection 2018-06-28 10:58:52 -05:00
Jimmy Brisson 37013fb489 Use Component section for ARM compiler version 2018-06-28 10:51:12 -05:00
Jimmy Brisson 5795f5326e Allow missing "bootloader_supported" key 2018-06-28 10:36:18 -05:00
Jimmy Brisson 2a9923f86e Skip invalid undefined errors 2018-06-28 10:26:00 -05:00
Jimmy Brisson 12f490fa02 Make sure that there is always a config_errors member 2018-06-28 10:26:00 -05:00
Jimmy Brisson c380304b93 Persist config errors until validation occurs 2018-06-28 10:26:00 -05:00
Cruz Monrreal cfe0789e99
Merge pull request #7356 from SenRamakri/sen_CrashLogParserCrashFix
Fix tool crashing when lines end with cr(not crlf)
2018-06-28 10:10:39 -05:00
Cruz Monrreal 8baa8c5997
Merge pull request #7353 from jeromecoutant/PR_BUILDOS2
build_api script : separate PeripheralPins.o
2018-06-28 10:08:42 -05:00
Cruz Monrreal dec43922ee
Merge pull request #7247 from theotherjimmy/toolchain-version-check
Tools: Check compiler version
2018-06-27 18:42:49 -05:00
Senthil Ramakrishnan 69a149a232 Fix tool crashing when lines end with cr(not crlf) 2018-06-27 17:06:50 -05:00
jeromecoutant eba9fb1f8f build_api script : separate PeripheralPins.o 2018-06-27 17:15:37 +02:00
Jimmy Brisson c273de6545 Test and correct GCC version check 2018-06-26 09:25:33 -05:00
Jimmy Brisson 8c17a31c42 Test IAR version check 2018-06-26 09:25:21 -05:00
Jimmy Brisson c174ca3f85 Test and correct ARMCC version check 2018-06-26 09:15:01 -05:00
Jimmy Brisson e439b85de1 prepend VPATH to preinclude and don't escape asm macros 2018-06-26 08:47:41 -05:00
Jimmy Brisson 675ca1a698 Add empty configuration for asm profile test 2018-06-26 08:44:37 -05:00
Jimmy Brisson f87fab5f33 Use via file for ASM macros in IAR 2018-06-26 08:44:37 -05:00
Jimmy Brisson a775e6992e Refactor via files to use a common method 2018-06-26 08:44:37 -05:00
Jimmy Brisson a855281633 Use preinclude of mbed_config.h in all toolchains 2018-06-26 08:44:37 -05:00
TTornblom dcd17935e3 IAR: Fixed #6670 2018-06-26 08:44:37 -05:00
Jimmy Brisson 0e56c18058 Check for no match in version check 2018-06-25 18:04:11 -05:00
Jimmy Brisson 59e8631d3a Escape '.' in regex 2018-06-25 17:58:11 -05:00
Jimmy Brisson 1a9474e4d9 Search all stdout for version regex; check > 1 matches 2018-06-25 14:41:37 -05:00
Jimmy Brisson 2aea6c39f7 Improve ARM compiler regex 2018-06-25 11:33:44 -05:00
Cruz Monrreal 8e170ccbd1
Merge pull request #6925 from TomoYamanaka/feature-flashiap_bootloader
Support Flash iAP and Bootloader for GR-PEACH and GR-LYCHEE
2018-06-22 14:23:57 -05:00
Cruz Monrreal 24daf18044
Merge pull request #7105 from codeauroraforum/mxrt_add_ivt
MIMXRT1050: Update to EVK Rev B
2018-06-22 10:15:33 -05:00
TomoYamanaka 72fd8cafd7 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-22 10:53:21 +09:00
TomoYamanaka d5f0e1727b Fix definitions of IAR exporter for GR-PEACH and GR-LYCHEE 2018-06-22 10:47:23 +09:00
TomoYamanaka 22b31e45a5 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-22 10:47:22 +09:00
Cruz Monrreal 95d2b3d55c
Merge pull request #7133 from OpenNuvoton/nuvoton_support_tz_partition
Override ROM/RAM start/size for TrustZone targets
2018-06-21 17:49:47 -05:00
Mahesh Mahadevan 632892d355 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-21 13:34:12 -05:00
Cruz Monrreal II 799cfdbbc2 Compiling Cortex-A cores in uVision is not supported.
Reference: http://www2.keil.com/mdk5/selector
2018-06-21 09:13:24 -05:00
Jimmy Brisson 52e640fc1d Add Rom config info getter and rom defines
* MBED_ROM_START = start of current rom (independent of BL modes)
 * MBED_ROM_SIZE = size of current rom (independent of BL modes)
2018-06-20 10:47:04 -05:00
Cruz Monrreal c4edf065d1
Merge pull request #7266 from bentcooke/update_arm_pack_index
update arm_pack_manager index
2018-06-20 10:02:54 -05:00
Cruz Monrreal f11d0f3be7
Merge pull request #7261 from kjbracey-arm/iar-jump-warning
IAR: Suppress C "bypasses initialization" warning
2018-06-19 21:46:14 -05:00
ben 2bf0273a5c update pack index 2018-06-19 14:42:32 -05:00
Jimmy Brisson a87575fec5 Use Non-blocking Error and LooseVersion 2018-06-19 10:41:08 -05:00
Jimmy Brisson 4e6b830c91 Allow hex BL, SD and application merging 2018-06-19 09:27:09 -05:00
Kevin Bracey 81ed8014cd 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-19 15:54:28 +03:00
Martin Kojtal eb3d3fdb54
Merge pull request #6929 from jeromecoutant/PR_SCRIPT
STM32 : script to generate PeripheralPins.c for new target addition
2018-06-19 14:26:22 +02:00
Jimmy Brisson 6f54a8fdd7 Check version of Mbed CLI compile 2018-06-18 14:03:09 -05:00
Cruz Monrreal 5d8e9dc0ea
Merge pull request #7174 from TeroJaasko/crash_log_parser_make_raw_output_possible
tools: crash_log_parser: make ELF and MAP parameters optional
2018-06-18 10:07:09 -05:00
Jimmy Brisson 86b7adbd30 Force small lib usage when using uARM tc 2018-06-15 10:38:23 -05:00
Anna Bridge 4d8dd59440
Merge pull request #7196 from theotherjimmy/no-double-header
Tools: Remove second header when every bl config param is used
2018-06-15 11:11:58 +01:00
Cruz Monrreal 10d9f7fda1
Merge pull request #7197 from theotherjimmy/uarm-uvision
Tools: Allow exporting of uARM-only targets to uvision
2018-06-14 17:29:25 -05:00
Jimmy Brisson 34792e60c6 Correct "defalut" typo 2018-06-13 09:51:50 -05:00
Jimmy Brisson 92abbb7599 Use memories passed in when getting memory specs 2018-06-13 09:33:39 -05:00
Cruz Monrreal 799ba08017
Merge pull request #7131 from klaas019/master
new mdot bootloader
2018-06-13 08:48:10 -05:00
Jimmy Brisson 1d9fd830af Compute ARM_STD and ARM_MICRO labels with target attrs 2018-06-12 09:54:34 -05:00
Jimmy Brisson b922201a9c Heed default_lib in arm compiler 2018-06-12 09:29:10 -05:00
Jimmy Brisson 0c8f66f87b Correct supported check of uvision to include uARM 2018-06-12 09:28:43 -05:00
Jimmy Brisson 8e26e2c198 Skip second header when every bl config paramater used 2018-06-12 09:02:14 -05:00
jeromecoutant 5fba2e49c5 STM32_gen_PeripheralPins.py : Add license header 2018-06-12 14:30:54 +02:00
Cruz Monrreal e78943e062
Merge pull request #7159 from juhaylinen/greentea_mtb_emac
Add targets to Greentea EMAC tests
2018-06-11 08:51:20 -05:00
Cruz Monrreal 72fde51b02
Merge pull request #7148 from theotherjimmy/nonzero-build-release
Tool, build_release: Return nonzero when builds fail
2018-06-11 08:36:22 -05:00
Cruz Monrreal 9ca3252f6a
Merge pull request #7167 from theotherjimmy/fix-memap-armc6
Add show full path option to armc6 linker
2018-06-11 08:31:24 -05:00
Jimmy Brisson 09cdc0631d Move from tc constructor to config vars 2018-06-08 09:59:19 -05:00
Tero Jääskö 274c3fa690 tools: crash_log_parser: make ELF and MAP parameters optional
On some bug reports the customer is providing only the raw
crash dump but not the ELF and MAP files. Those files are
needed to decode the addresses into symbol names, but the
extremely useful fault reason can still be decoded even
without them.

By making the ELF and MAP arguments optional, one can now
decode the raw dump content into something such as:

--8<--8<--
ELF or MAP file missing, logging raw values.

Crash Info:
	Crash location = <unknown-symbol> [0x000091F4] (based on PC value)
	Caller location = <unknown-symbol> [0x00018E39] (based on LR value)
	Stack Pointer at the time of crash = [200091E8]
	Target and Fault Info:
		Processor Arch: ARM-V7M or above
		Processor Variant: C24
		Forced exception, a fault with configurable priority has been escalated to HardFault
		The processor has attempted to execute an undefined instruction
2018-06-08 13:32:37 +03:00
ccli8 ae16aa2fb7 Fix overridden MBED_ROM_START/MBED_ROM_SIZE/MBED_RAM_START/MBED_RAM_SIZE don't pass to linker 2018-06-08 18:03:56 +08:00
Jimmy Brisson 7f0e7ce722 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-07 11:44:03 -05:00
Cruz Monrreal d216602cbb
Merge pull request #7067 from jeromecoutant/PR_ISM43362
Add ISM43362 driver support for STM32 wifi DISCO boards
2018-06-07 10:17:17 -05:00
Cruz Monrreal a25b9f390f
Merge pull request #6999 from evva-sfw/feature/extend_error_warning_msg_as_link
Extend feature which displays errors/warnings as Link
2018-06-07 10:11:23 -05:00
Cruz Monrreal 7dc4848265
Merge pull request #7124 from theotherjimmy/term-notify-singletest
Tool: Use TerminalNotifier in singletest
2018-06-07 10:09:26 -05:00
Cruz Monrreal 277d5d6121
Merge pull request #7111 from cmonr/py3-exporter-issue
Python 3 makefile export issue
2018-06-07 10:09:07 -05:00
Jimmy Brisson 427d8c2985 Correct status reporting of build_release.py 2018-06-07 08:55:53 -05:00
Juha Ylinen 44ce63e586 Add targets to Greentea EMAC tests
Update test configuration file for WicedInterface
2018-06-07 12:11:38 +03:00
Martin Kojtal 835d38db58
Merge pull request #7132 from theotherjimmy/mbed2-use-notify
Tool: Use TerminalNotifier in Mbed 2 release
2018-06-07 09:17:45 +02:00
ccli8 58f1521623 Pass fixed SRAM information (MBED_RAM_START/MBED_RAM_SIZE) to compiler/linker
This fix relies on target configuration options (mbed_ram_start/mbed_ram_size) defined.
2018-06-06 09:49:44 +08:00
ccli8 f48f30ceb2 Pass fixed flash information (MBED_ROM_START/MBED_ROM_SIZE) to compiler/linker
This fix relies on target configuration options (mbed_rom_start/mbed_rom_size) defined.
2018-06-06 09:46:59 +08:00
ccli8 0cee003bd9 Fix flash start/size in bootloader related build
This fix relies on target configuration options (mbed_rom_start/mbed_rom_size) defined
to override CMSIS pack or no CMSIS pack.

This is useful for a target which:
1. Doesn't support CMSIS pack, or
2. Supports TrustZone and user needs to change its flash partition
2018-06-06 09:45:44 +08:00
Jimmy Brisson 18bdf562af Use Notifier API when building mbed2 2018-06-05 13:26:04 -05:00
klaas019 da0a8dddc4
Add files via upload 2018-06-05 11:43:06 -05:00
klaas019 499034ccc1
Delete bootloader.bin 2018-06-05 11:42:19 -05:00
Cruz Monrreal 4fcaa56b77
Merge pull request #6914 from 0xc0170/fix_build_notifier
build: fix notifier typo and passing to builds API
2018-06-05 10:59:47 -05:00
Jimmy Brisson 8d03fe2de4 Use TerminalNotifier in singletest 2018-06-05 09:31:20 -05:00
jeromecoutant 0c6844d9c3 ISM pin configuration is now in ISM driver json file 2018-06-05 12:02:17 +02:00
Cruz Monrreal 80dde0b953
Merge pull request #7092 from cmonr/py3-in-windows
Additional fixes for running Python 3 in Windows
2018-06-04 21:45:55 -05:00
Cruz Monrreal II 5ed8ad8ffe Updated makefile exporter to not rely on enumerating over map.
No longer supported in Py3.
2018-06-04 21:02:35 -05:00
Cruz Monrreal II f689ace3e3 Removed extraneous file open 2018-06-04 12:02:49 -05:00
Cruz Monrreal 78d9c4f330
Merge pull request #6582 from theotherjimmy/memap-flamegraph
Implement zoomable html-flamegraph memap output
2018-06-04 10:48:08 -05:00
Cruz Monrreal II cdbae994d1 Modified IntelHex tofile parameter to use path.
Py3 open(...) returns a BufferedReader instead of a file.
2018-06-04 09:21:43 -05:00
Cruz Monrreal II e65537790e 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-04 09:21:43 -05:00
Cruz Monrreal II 6e9b7ea276 Added basestring import for proper string concatenation in Py3 2018-06-04 09:21:43 -05:00
Cruz Monrreal II 27d0255cb3 Sets module no longer needed to use set() 2018-06-04 09:21:43 -05:00
Cruz Monrreal II 2abae9e1d1 Modified memap path separator parsing to support Py3.
Had to remove part of test that was incompatible with Py3 on Windows.
2018-06-04 09:21:43 -05:00
Cruz Monrreal II 8b5a7600c4 Encapsulated Windows file separator for proper regex parsing 2018-06-04 09:21:42 -05:00
jeromecoutant 1884070ea9 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-04 14:13:51 +02:00
Cruz Monrreal II 0e85dd821a Updated local variable in memap/parse_test.py to be lower case. 2018-05-31 16:54:58 -05:00
Cruz Monrreal II d2538bfb92 Added windows path separator to list of alphabet characters to ignore.
Corrected instance of hard-coded unix path separator.
2018-05-31 16:32:43 -05:00
Cruz Monrreal II 5cfcf86872 Modified memap tests to perform file path comparisons agnostic of the path separator. 2018-05-31 16:31:17 -05:00
Cruz Monrreal II eb49274a27 Removed test that needs to be rearchitected due to subprocess limitations 2018-05-31 16:28:43 -05:00
Cruz Monrreal 1b168b6717
Merge pull request #7020 from marcemmers/iar-add-stm32l433
Add STM32L433RC to IAR exporter definitions
2018-05-29 10:42:43 -05:00
Cruz Monrreal b70f6e056d
Merge pull request #7011 from mharringADI/fix-cces-export-float-abi
Fixed float-abi linker option for CCES exporter.
2018-05-29 10:41:34 -05: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
Marc Emmers 3b6173c10b Added STM32L433RC to iar exporter options 2018-05-25 14:18:18 +02: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
Mike Harrington daf4c78ad4 Fixed incorrect clean_flags method and float-abi linker option for CCES exporter. 2018-05-24 16:48:29 -04: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
PHST af1e482f52 Correct Bug 2018-05-23 16:19:14 +02:00
PHST b9217d6be0 correct imports 2018-05-23 16:13:50 +02:00
PHST 03422a9df5 Extend show error/warning as Link
PR #6270 added a parameter which allows the user to decide in case of an error or warning to print the output as a link.
This extension of this option also prints the ARM-GCC output in a link format.
2018-05-23 15:40:00 +02: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
jeromecoutant 5b43961860 STM32: move STM32_gen_PeripheralPins.py to tools/targets 2018-05-21 17:22:19 +02: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
Martin Kojtal 9fd52e7beb test: remove verbose from buil libs calls
it was removed recently, not used anymore
2018-05-16 16:19:03 +01:00
Martin Kojtal 0bbfc6199c 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-05-16 13:30:06 +01: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