Jimmy Brisson
bfd39bdccb
Test memap IAR for multiple arguments per line
2018-01-02 14:34:10 -06:00
Jimmy Brisson
6a8be65904
Use non-scoped imports in memap
2018-01-02 14:19:00 -06:00
Jimmy Brisson
0c08fabbae
Correct Gcc builtin module naming
2018-01-02 13:37:25 -06:00
Jimmy Brisson
527c0a2554
Rework parsing dispatch
...
Parsing dispatch now uses a metaclass as a Trait and a series of classes
that implement the trait for dispatching parsing. This structure gives
each parser it's own namespace, avoiding tacking on suffixes to each
attribute indicating which parser uses it.
2018-01-02 13:11:38 -06:00
Jimmy Brisson
fc9bd60d4c
Format memap
2018-01-02 10:43:10 -06:00
Jimmy Brisson
003913b22f
Use os.sep and os.join instead of string ops
2018-01-02 10:31:00 -06:00
Jimmy Brisson
23c7af799f
Handle multiple args per line in IAR cmd parser
2018-01-02 10:29:53 -06:00
Martin Kojtal
e07b3c7ac6
tools: cmsis and hal are build together
...
Build api used to build cmsis separately (how mbed 2 is being build). This is
currently not how cmsis is being defined. As there target dependencies in some
cases, we should include paths from targets when building cmsis
2018-01-02 11:48:56 +00:00
Martin Kojtal
038324a7e5
Travis: add RZ_A1H target
...
Travis: dsp only for cortex-m
2018-01-02 11:48:47 +00:00
Adam Heinrich
da81229186
NUCLEO_F413ZH: Add support for the NUCLEO-F413ZH board
...
Merged from the existing TARGET_DISCO_F413ZH code (which has the same MCU)
and TARGET_NUCLEO_F412ZG code (which has the same Nucleo-144 board and
pinout).
2017-12-29 15:30:10 +01:00
Cruz Monrreal II
65dd31489a
Merge pull request #5755 from jorisa/fix-make-paths
...
Fix for #5676 make.py generates duplicate file entries in link_files.txt
2017-12-28 20:57:20 +00:00
Cruz Monrreal II
2b718feba3
Merge pull request #5628 from TomoYamanaka/master
...
Reregistration GR-PEACH as mbed support board
2017-12-28 20:20:31 +00:00
Cruz Monrreal II
b8de0f299a
Merge pull request #5693 from li-ho/ev-cog-iar-export
...
Enable IAR export for EV_COG_AD3029LZ and EV_COG_AD4050LZ
2017-12-28 18:27:01 +00:00
Cruz Monrreal II
0cb4fcd341
Merge pull request #5756 from adbridge/master
...
Add mbed-os-example-filesystem to examples list
2017-12-28 18:18:17 +00:00
adbridge
533657fa9c
Add mbed-os-example-filesystem to examples list
2017-12-21 17:09:49 +00:00
Joris Aerts
d3f6ea4ed2
Fix for #5676 make.py generates duplicate file entries in link_files.txt
2017-12-21 13:53:19 +01:00
TomoYamanaka
8e854b1c89
Add Cortex-A9 for ARMCC and ARMC6
...
I added the definition of "Cortex-A9" for core support of ARMCC and ARMC6 in arm.py.
2017-12-21 14:09:24 +09:00
TomoYamanaka
8f42cf7ef5
Revert "Remove Cortex-A mbed OS 5 support"
...
I changed the python and json files to re-registering GR-PEACH to Mbed OS 5.
2017-12-21 14:09:24 +09:00
Deepika
6804361d76
Build failed as code section was not included in map.
...
Fix by Jimmy
2017-12-20 09:49:43 -06:00
Martin Kojtal
9ebefcd63d
Merge pull request #5470 from ashok-rao/master
...
Add device_name for TB_SENSE_12.
2017-12-20 14:54:48 +00:00
Martin Kojtal
203fc36157
Merge pull request #5559 from yennster/tools-config-fix
...
Fix for default test config file
2017-12-20 14:54:11 +00:00
Martin Kojtal
2e6f24518b
Merge pull request #5707 from adustm/stm32l475_iar_export
...
Add IAR exporter for STM32L475VG (mcu of DISCO_L475VG_IOT01A)
2017-12-20 14:40:35 +00:00
Martin Kojtal
6ee23bcbd4
Merge pull request #5715 from dhwalters423/detect-targets-fix
...
Fixed call to deprecated get_details_txt
2017-12-20 14:40:00 +00:00
Martin Kojtal
1b3cff54fb
Travis: define vendor matrix
...
Use vendor matrix, creates a job for each vendor folder (targets/TARGET_XXX).
This fixes the errors we have seen, as a job has a limit 50 minutes.
2017-12-19 12:13:30 +00:00
David Walters
faec0c3ce5
Fixed call to deprecated get_details_txt
2017-12-15 15:31:36 +00:00
Seppo Takalo
0d6f760c16
Add minimal debug info to release and develop profiles.
...
This allows minimal debugging and allows tools like
mbed-os-linker-report to work properly.
Because debugging info is kept in .elf file and not flashed to device
there is no side effects to flash sizes.
2017-12-14 17:18:31 +02:00
adustm
f76207921b
Add IAR exporter for STM32L475VG (mcu of DISCO_L475VG_IOT01A)
2017-12-14 15:50:56 +01:00
Martin Kojtal
98a1aecfc1
Merge pull request #5685 from 0xc0170/fix_gettinstarted
...
Export: fix link in gettingstarted template
2017-12-13 09:20:11 +00:00
Edmund Hsu
df3d0ad167
Enable IAR export for EV_COG_AD3029LZ and EV_COG_AD4050LZ
...
- ADuCM3029 is the MCU name for EV_COG_AD3029LZ
- ADuCM4050 is the MCU name for EV_COG_AD4050LZ
2017-12-13 12:05:31 +11:00
Martin Kojtal
32edb92299
Merge pull request #5657 from theotherjimmy/fix-e2studio
...
Correct typo? in e2studio exporter code
2017-12-12 17:40:04 +00:00
Martin Kojtal
1137b4107a
Merge pull request #5489 from theotherjimmy/correct-pack-syntax
...
Correct pack_* members to refer to PACK files
2017-12-12 17:32:31 +00:00
Martin Kojtal
95b02936fa
Export: fix link in gettingstarted
2017-12-12 08:46:06 +00:00
Jimmy Brisson
e0ba3e857c
Update Cortex-A build errors
2017-12-07 14:43:40 -06:00
Jimmy Brisson
44e72fdc7d
Correct typo? in e2studio exporter code
2017-12-05 10:01:15 -06:00
Jimmy Brisson
b3ba9a55b9
Use Config class to find mbed_app.json
2017-12-01 15:18:04 -06:00
Jenny Plunkett
5f5014ef42
Added check for options.source_dir is none
2017-12-01 15:02:50 -06:00
Jenny Plunkett
fa56189de5
Removed typos
2017-12-01 15:00:34 -06:00
Jenny Plunkett
6dd260e1ab
Added default check for mbed_app.json
2017-12-01 14:55:02 -06:00
Jenny Plunkett
830e9e0bcd
Added options source_dir to get_default_config
2017-12-01 14:54:35 -06:00
Jenny Plunkett
d438324d31
Look for mbed_app.json in root dir if no --app-config is provided
2017-12-01 12:13:13 -06:00
Martin Kojtal
2e1c2a1cdf
Merge pull request #5538 from geky/littlefs-staging
...
Integrate littlefs into mbed OS
2017-12-01 08:15:26 +00:00
Clemens Mandl
ff7d723fec
Removed unnecessary list comprehension
2017-11-29 08:01:31 +01:00
Tony Wu
a4575a965f
rtl8195am - refactor bootloader and ota support
...
1. move ota region 1 from 0x00b000 to 0x040000
2. move ota region 2 from 0x0c0000 to 0x120000
3. refactor bootloader header as follows:
uint32_t tag;
uint32_t ver;
uint64_t timestamp;
uint32_t size;
uint8_t hash[32];
uint8_t campaign[16];
uint32_t crc32;
where,
a. hash is the sha256 checksum of the payload.
b. crc32 is the crc32 checksum of headers from tag to campaign.
4. Call NVIC_SystemReset for soft reset.
Signed-off-by: Tony Wu <tung7970@gmail.com>
2017-11-28 21:33:51 +08:00
Tony Wu
985c2b0ec7
rtl8195am - cleanup post-processing binary hook
...
Preparing for bootloader redesign.
Signed-off-by: Tony Wu <tung7970@gmail.com>
2017-11-28 21:29:49 +08:00
Clemens Mandl
52839aaa91
Refactoring of function get_netbeans_file_list(file_list) to have a clearer code
2017-11-28 07:42:13 +01:00
Clemens Mandl
61461bcc43
Removed another block of unused (commented) code
2017-11-28 07:15:41 +01:00
Clemens Mandl
2843c9fbd7
Removed commented Line
2017-11-28 07:14:14 +01:00
Christopher Haster
47684d89a5
Added test config for simulated block devices
...
Not all devices have enough heap to fit a simulated heap block device,
however using a simulated heap block device is preferred if available
(reduced flash wear, faster testing).
Added MBED_TEST_SIM_BLOCKDEVICE for tests that only need a simulated
block device (wear_leveling + resilience), and added support for targets
that are known to have enough heap.
2017-11-27 19:48:56 -06:00
Clemens Mandl
e423947af3
Fixed Linking with Linker Script
2017-11-27 17:03:39 +01:00
c.mandl
b112ad7da4
Refactoring of Netbeans Exporter...still some more work to do, because linking still not works
2017-11-24 09:45:46 +01:00
Russ Butler
abe431f48b
Prevent traceback when memap fails to parse
...
If map file parsing fails then memap_instance is set to None. To
prevent a traceback when parsing fails check if this is None before
trying to access any of its fields.
2017-11-20 12:41:26 -06:00
Jimmy Brisson
08f3402b7c
Merge pull request #5407 from deepikabhavnani/importer_script
...
Python script to add cmsis/rtx changes in mbed-os
2017-11-20 10:51:43 -06:00
c.mandl
8e23b80561
Removed commented Line
2017-11-20 10:05:06 +01:00
c.mandl
1b30df938c
Added Netbeans Exporter
2017-11-20 10:02:08 +01:00
Jimmy Brisson
6720bfdbdc
Merge pull request #5335 from yennster/test-configs-update
...
Fix for configurable network driver tests
2017-11-16 14:13:01 -06:00
Martin Kojtal
d6d9afc7f2
Merge pull request #5499 from adbridge/master
...
Remove mbed-cloud-client-example-internal.
2017-11-16 16:11:39 +00:00
Jimmy Brisson
4c57d86cd2
Remove include paths from uvision assembler export
2017-11-15 15:33:43 -06:00
Deepika
d4f7291b9a
Corrected the input to remove command
2017-11-15 11:31:30 -06:00
Deepika
51430cdeb3
Updated code as per Python style guide
...
https://www.python.org/dev/peps/pep-0008/
2017-11-15 11:30:50 -06:00
Martin Kojtal
41eb565d9c
Merge pull request #5342 from ARMmbed/feature_cortex_a
...
Update CMSIS/RTX with Cortex-A support
2017-11-15 11:24:36 +00:00
adbridge
c0164d6c75
Remove mbed-cloud-client-example-internal.
2017-11-14 11:56:00 +00:00
Jenny Plunkett
fbdd019e24
Removed special config for K64F
2017-11-13 15:04:15 -06:00
Jenny Plunkett
5fbc88f6b6
Updated if statements for conciseness
2017-11-13 15:01:11 -06:00
Jenny Plunkett
b3e8dec8ea
Updated get_test_config function returns comment
2017-11-13 15:01:11 -06:00
Jenny Plunkett
49b0522818
Use ethernet as default config if target has LWIP feature
2017-11-13 15:01:11 -06:00
Jimmy Brisson
0c5ba43f5e
Correct pack_* members to refer to PACK files
...
They referred to PDSC files before
2017-11-13 13:21:31 -06:00
Bartek Szatkowski
2ea01ac8a9
Enabled restrict keyword for IAR
2017-11-10 09:53:42 +00:00
Martin Kojtal
18393f3faf
Merge pull request #5424 from jeromecoutant/PR_L496
...
NUCLEO_L496ZG_P support
2017-11-09 16:32:56 +00:00
deepikabhavnani
43251e162d
Updated the script to be generic for any repo
2017-11-07 13:17:07 -06:00
Martin Kojtal
fa11a18dcb
test: realtek net config default to none
...
Changing this to none as result of build failures. Wifi needs own configuration
per an enviroment. By setting this to none, net tests are skipped for Realtek
platform.
2017-11-07 09:19:07 +00:00
Jimmy Brisson
863b3fdcc1
Merge pull request #5291 from SenRamakri/sen_RealtekWiFiConfig
...
Add RealTek WiFi test configuration
2017-11-06 10:26:12 -06:00
jeromecoutant
88c3bcfd1c
NUCLEO_L496ZG_P support
2017-11-03 11:06:45 +01:00
Jimmy Brisson
9e8a9a9a62
Merge pull request #5413 from studavekar/disable_cleanup
...
Collect build artifacts, disable cleanup
2017-11-02 10:44:55 -05:00
Jimmy Brisson
c40b642455
Merge pull request #4650 from catiedev/master
...
NUCLEO_L496ZG: Add new Platform
2017-11-02 10:36:23 -05:00
deepikabhavnani
d4e6decf32
Added arguments to importer script
...
Repository and json file will be mandotory inputs to script file.
As part of this change we do not need to clone/remove CMSIS repository
2017-11-01 17:05:42 -05:00
deepikabhavnani
78fdb7bcd6
Renamed importer script file
2017-11-01 17:05:42 -05:00
deepikabhavnani
021caa6dcf
Python script to add cmsis/rtx changes in mbed-os
2017-11-01 17:05:42 -05:00
Jimmy Brisson
44c4d84082
Merge pull request #5359 from ganesh-ramachandran/master
...
Added IAR export for TMPM066
2017-11-01 13:28:08 -05:00
Jimmy Brisson
cbc3d83f83
Remove include from assember in makefile exporter
...
The build system does not do this, so this is a consistency fix
2017-11-01 09:26:25 -05:00
Shrikant Tudavekar
ccd82c24c8
Collect build artifacts disable cleanup
...
In preparation to exporter tests
2017-10-31 17:34:06 -05:00
Jimmy Brisson
acb384c88a
Merge pull request #5332 from adbridge/master
...
Improve domain handling and status checking of updated examples.
2017-10-30 10:08:42 -05:00
Anna Bridge
97e2d4a8c5
Merge pull request #5025 from grygorek/master
...
LPC1769 port
2017-10-26 11:35:35 +01:00
Anna Bridge
c7e51daf41
Combine string constants passed to 'join' function
2017-10-24 15:08:41 +01:00
Jimmy Brisson
ab8a8de1a7
Merge pull request #5317 from theotherjimmy/fix-arm-supported-check
...
Tools: Check for toolchain and core support for Arm Compilers
2017-10-23 10:33:22 -05:00
Ganesh Ramachandran
0a1d9fa018
added IAR export for TMPM066
2017-10-23 11:17:31 +05:30
Jimmy Brisson
b0fc103de6
Check for core support in ARM toolchain
2017-10-20 10:05:37 -05:00
Jimmy Brisson
3a2f58ebc8
Test the supported check in the ARM toolchains
...
They fail right now, Cores are not checked
2017-10-20 10:05:17 -05:00
Anna Bridge
e9e0595188
Merge pull request #5042 from tung7970/fix-tools
...
RTL8195AM - Respect Toolchains paths in post bulid script.
2017-10-20 10:23:25 +01:00
Martin Kojtal
2af7213c51
Merge pull request #5104 from architech-boards/master
...
add support for SILICA_SENSOR_NODE platform
2017-10-19 16:44:17 +01:00
Martin Kojtal
57439f48aa
Merge pull request #5246 from theotherjimmy/no-print-memap
...
Remove debug print from memap IAR impl
2017-10-19 16:43:23 +01:00
adbridge
bb579dcfaf
Improve domain handling and status checking of updated examples.
...
All the examples cloned from Mercurial should use the new
os.mbed.com domain. Thus update corrects that.
A new option has been added to the update.py script , -s which shows
the status of any PRs raised against the examples that are tagged with
the current release label.
2017-10-17 18:18:21 +01:00
Jimmy Brisson
4673fb6580
Check for uARM support when compiling with uARM
2017-10-17 11:08:58 -05:00
Christopher Haster
9fd6c5ae56
Fix behaviour of empty .mbedignore
...
Should ignore nothing, currently ignores everything
An empty .mbedignore is easy to create when tinkering with a local repo
2017-10-13 11:52:13 -05:00
Jimmy Brisson
299af9742d
Merge pull request #5247 from kegilbert/example-build-profile-arg
...
Add profile argument to mbed-os example build tools
2017-10-13 09:24:04 -05:00
Jimmy Brisson
5c8ef54e2f
Merge pull request #5224 from adbridge/master
...
Fix branch updates and make Linux compatible
2017-10-13 09:22:59 -05:00
Jimmy Brisson
a67737f993
Merge pull request #5086 from pan-/systick_sleep_fix
...
Sleep: Disallow sleep for targets turning off the systick clock at sleep entry
2017-10-13 09:19:10 -05:00
Senthil Ramakrishnan
10a1e6e477
RealTek WiFi test configuration
2017-10-10 14:55:58 -05:00
Roberto Spelta
b969979127
added IAR export for STM32L476JG
2017-10-10 16:04:52 +02:00
Tony Wu
7d6e66db2f
rtl8195am - use TOOLCHAIN_PATHS to locate toolchain
...
Use TOOLCHAIN_PATHS to locate toolchain binaries for users might set
compiler paths, through mbed_settings.py, env vars, or system path.
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-10-09 23:38:03 +08:00
Pierre-Marie Ancele
c17c410dc6
add target definition for sw4stm32 exporter
2017-10-06 11:37:03 +02:00
adustm
88a1540813
Add STM32L496VG to be able to exprot a program in IAR
2017-10-06 11:35:16 +02:00
Pierre-Marie Ancele
2290847876
build_travis.py Fix indentation
2017-10-06 11:35:16 +02:00
Pierre-Marie Ancele
0ebbbc2c34
NUCLEO_L496ZG update build_travis.py
2017-10-06 11:35:16 +02:00
Jimmy Brisson
0fd13b5288
Merge pull request #5240 from studavekar/retry-on-clone-failure
...
Add retry to handle git clone failure
2017-10-05 11:15:41 -05:00
Jimmy Brisson
23d201cb21
Merge pull request #5237 from 0xc0170/fix_examples_eddy
...
examples: remove eddystone ble examples
2017-10-05 11:15:14 -05:00
Jimmy Brisson
9b62dce47e
Merge pull request #5199 from mgiaco/master
...
Add quotes to preprocessor path on export
2017-10-05 11:12:24 -05:00
Jimmy Brisson
41998d5836
Merge pull request #5084 from adustm/NUCLEO_L486_export
...
Allow exporters for NUCLEO_L486RG
2017-10-05 11:12:06 -05:00
Jimmy Brisson
da78647c1d
Merge pull request #5077 from dhwalters423/dhwalters423-add-detect-info
...
Added interface version information to mbed detect command.
2017-10-05 11:11:33 -05:00
Kevin Gilbert
f8fa90209e
Remove -p as an argument flag for profile
2017-10-03 16:14:07 -05:00
Kevin Gilbert
310f833f52
Add profile argument to mbed-os example build tools to allow non-default build profiles to be passed in
2017-10-03 15:24:29 -05:00
Jimmy Brisson
0524ba40bd
Remove debug print from memap IAR impl
2017-10-03 13:46:30 -05:00
Shrikant Tudavekar
cdd29b87a5
Add retry to handle git clone failure
...
more info on https://github.com/ARMmbed/mbed-os/issues/5239
2017-10-02 14:39:24 -05:00
Mahadevan Mahesh
880f106740
Change LPC54608 to LPC546XX to include support for LPC54608/18/28
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-10-02 11:20:27 -05:00
Martin Kojtal
e6b1ef508e
examples: remove eddystone ble examples
...
They are not part of the releases
2017-10-02 15:37:52 +01:00
Piotr Grygorczuk
728a3a4a76
mbed LPC1768 & Xpresso LPC1769 unified
...
Target of LPC1769 links to mbed LPC1768.
The PinNames.h has conditional compile for the pin names.
LWIP lpc17xx emac driver modified to allow LPC1769 target
2017-10-02 11:05:39 +01:00
adbridge
31407a17ca
Move to using command strings rather than command lists.
...
Previously the script used
cmd =['git','checkout', branch]
syntax. This does not work well cross platform. The solution it to
actually use strings. E.g.
cmd = "git checkout " + branch
2017-09-29 16:17:33 +01:00
Jimmy Brisson
24418b43da
Merge pull request #5182 from theotherjimmy/test-flags-assumptions
...
tools/toolhains - Test for flag passing in constructor
2017-09-29 10:14:29 -05:00
Jimmy Brisson
1a04b0a7b4
Merge pull request #5052 from mbedNoobNinja/Branch_Export
...
ds5 & e2studio export fix
2017-09-29 10:09:30 -05:00
David Walters
61f46b809d
Changed type => test_type
2017-09-29 15:34:32 +01:00
David Walters
bb79f6991b
Minor copy edits, added comment
2017-09-29 10:12:02 +01:00
David Walters
a047f6276d
Increased test coverage / mocking of external modules
2017-09-29 10:05:05 +01:00
Jimmy Brisson
e3cb228d5e
Merge pull request #4795 from sarahmarshy/test-configs
...
Add configurable network driver tests
2017-09-28 14:06:38 -05:00
adbridge
d2d2b68fc5
Fix the prepare_branch function
...
Currently when checking if the destination branch already exists the
command 'git branch' is used. This only returns local branches. What is
actually required is the list of remote branches. This can be obtained
by the command 'git branch -r' and filtering the result.
2017-09-27 17:59:19 +01:00
Jimmy Brisson
6cecd09d07
Merge pull request #4961 from theotherjimmy/check-rtos-export
...
Check for mbed 5 support on export
2017-09-27 09:02:38 -05:00
Mathias Giacomuzzi
ca5bcf7592
remove the first join
2017-09-27 12:31:45 +02:00
Jimmy Brisson
b9b4bb5c25
Move IAR flag passing to constructor
2017-09-26 08:59:01 -05:00
Jimmy Brisson
ef6de7eb3b
Check for flag passing in toolchain constructor
2017-09-26 08:58:59 -05:00
Mathias Giacomuzzi
0947db6400
add quotation marks for compiler path
2017-09-26 11:01:01 +02:00
David Walters
4c2d17eee0
Removing unused imports/update copywright`
2017-09-25 16:58:52 +01:00
David Walters
b887bb7de6
Added safety check, added test converage for new function
2017-09-25 16:53:41 +01:00
Jimmy Brisson
482c2aef2d
Merge pull request #5149 from theotherjimmy/update-export-link
...
Update link in GettingStarted to current docs
2017-09-25 10:13:09 -05:00
Jimmy Brisson
6ca2342fba
Merge pull request #5166 from theotherjimmy/force-armc5-preproc
...
Force preprocessing of asm for make_armc5
2017-09-25 10:12:28 -05:00
Jimmy Brisson
b8863862cc
Merge pull request #4959 from phyokyaw/master
...
e2 studio exporter update
2017-09-25 10:11:13 -05:00
adustm
4817f06435
Allow exporters for NUCLEO_L486RG
2017-09-22 14:21:00 +02:00
Martin Kojtal
c6f655c02e
Merge pull request #4779 from JarnoEtt/sw4stm_exporter_fix
...
Fixed sw4stm32 exporter
2017-09-22 11:36:21 +01:00
Jimmy Brisson
69c38012eb
Force preprocessing of asm for make_armc5
...
It seem to preprocess asm with the `.S` extension on linux, but the
windows build of Arm Compiler 5 seems to omit the preprocessing step
unless you have a `.sx` extension. Odd.
2017-09-21 17:37:10 -05:00
Jimmy Brisson
97b0dd8bd5
Update link in GettingStarted to current docs
2017-09-21 15:32:26 -05:00
Jimmy Brisson
4de448142b
Merge pull request #5125 from theotherjimmy/improve-memap-performance
...
Refactor memap for speed
2017-09-21 11:40:41 -05:00
Sarah Marsh
92a642bc5e
Turn off Odin testing by default
2017-09-20 18:31:06 -05:00
Sarah Marsh
8ef849da79
Add new Odin configuraiton to remove emac device_has
2017-09-20 18:31:06 -05:00
Sarah Marsh
26aa4eaa6a
Use ethernet as default test configuration for Odin netsocket tests
2017-09-20 18:31:06 -05:00
Sarah Marsh
6a44ceb094
Add copyright headers and use mbed error to skip tests without network config files
2017-09-20 18:31:06 -05:00
Sarah Marsh
4161e5c48d
Move test config keys out of targets.json
...
Change TestConfig class methods to module methods
2017-09-20 18:30:08 -05:00
Sarah Marsh
e48f9948a7
Add ETHERNET and ODIN_WIFI to odin device has. Add odin WiFi test configuration
2017-09-20 18:29:38 -05:00
Sarah Marsh
dee8e7f0ea
Use default mbed-os test configuration if no app_config is supplied
2017-09-20 18:29:38 -05:00
Sarah Marsh
ba6eb98b5c
Use only one flag for test configuration file
...
Tools will figure out if user passed in a custom path (to indicate configration file for module) or whether they used a keyword (to indicate they'd like to use an mbed OS configuration)
2017-09-20 18:29:37 -05:00
Sarah Marsh
e982eed4ad
Add option to add a configuration file for modules
2017-09-20 18:27:59 -05:00
Sarah Marsh
8c0bc781d9
Allow tools to use networkinterface configs in tests
2017-09-20 18:27:59 -05:00
Jimmy Brisson
727256a05d
Remove prefix stuff from GCC memap parser
...
It's just not used anymore
2017-09-20 11:00:02 -05:00
Jimmy Brisson
3d5bea337f
Test the module_add function
2017-09-20 10:49:12 -05:00
Jimmy Brisson
06203c4fcc
Test GCC memap parser
2017-09-20 10:39:42 -05:00
Jimmy Brisson
bcd89dae18
Test memap parsing for ARMC6 and IAR
2017-09-19 15:14:43 -05:00
Anna Bridge
02a10e5974
Merge pull request #5094 from deepikabhavnani/m23_armc6
...
ARMC6 support for Cortex-M23
2017-09-19 10:25:33 +01:00
Anna Bridge
f18d2d862a
Merge pull request #5091 from theotherjimmy/fix-nordic-concat
...
Correct booting on Nordic devices with ARMC6
2017-09-19 10:24:54 +01:00
Jimmy Brisson
fdd4ae3056
Parse full paths from ARM map file
...
Now we don't have to scan!
This is a 20% speed improvement
2017-09-18 17:18:01 -05:00
Jimmy Brisson
8c54c4efa8
Display full paths in armlink output
2017-09-18 16:40:52 -05:00
Jimmy Brisson
6d135c26b3
Remove warnings for Zero sized sections
...
We just don't care if we don't know where they go
2017-09-18 15:45:05 -05:00
Jimmy Brisson
0d2a0a0c1d
Parse filenames from IAR map file
...
Instead of scanning.
Is a 8ms/15% speedup.
2017-09-18 15:45:03 -05:00
Jimmy Brisson
2114ccd5a1
Refactor memap for speed
2017-09-18 15:24:18 -05:00
Jimmy Brisson
a9bd33e51e
Merge pull request #5103 from theotherjimmy/fix-memap-libs
...
Parse libraries with memap-arm
2017-09-18 09:12:48 -05:00
Jimmy Brisson
faa3375397
Mock supported_toolchains values in tests
2017-09-15 17:59:46 -05:00
Jimmy Brisson
4e46aa9e02
Merge pull request #5111 from theotherjimmy/armc6-emit-deps
...
Emit dependency information with ARMC6
2017-09-15 17:50:23 -05:00
David Walters
7b4959125f
Added in safety check if details_txt is None
2017-09-15 16:00:20 +01:00
David Walters
aafe61414e
Edited get_interface_version info for clarity
2017-09-15 15:49:08 +01:00
David Walters
256ab6114a
Fixed mount_point example usage
2017-09-15 15:30:34 +01:00
David Walters
e4b55dd6a0
Removed get_mounted_details_txt from test_api.py
...
Fixed minor typos in test_api.py
Added get_interface_version to detect_targets
2017-09-15 10:15:24 +01:00
Jimmy Brisson
bd7f320387
Emit dependency information with ARMC6
...
Which allows it to be parsed
2017-09-14 16:17:44 -05:00
Deepika
eea29d34a7
Corrected check for ARM/ARMC6 toolchain
...
ARMC6 support required ARM compiler support as mandatory requirement which
should not be the case. Cortex-M23/M33 devices are not suuported by ARM compiler5
Adding ARMC6 without ARM in target.json should work now.
2017-09-14 14:14:35 -05:00
Jimmy Brisson
7eccec425f
Parse libraries with memap-arm
2017-09-14 09:50:47 -05:00
Jimmy Brisson
a62f89da05
Correct uvision template to correctly pass include paths
2017-09-14 09:39:00 -05:00
Jimmy Brisson
8db0fa9819
Correct rename mistake in make arm compiler exporters
2017-09-14 09:14:47 -05:00
Deepika
60c600ac11
ARMC6 support for Cortex-M23
2017-09-13 17:07:05 -05:00
Jimmy Brisson
3e1b96d899
Disable response files on export
...
None of the exporters can handle them, so just don't do it
2017-09-13 15:14:26 -05:00
Jimmy Brisson
58372d3fdf
Allow ARMC6 to run post-binary-hooks marked for ARM
2017-09-13 14:50:06 -05:00
Anna Bridge
7b428916f5
Merge pull request #4949 from theotherjimmy/feature-armc5+armc6
...
NEW TOOLCHAIN: Add the ARMC6 Compiler
2017-09-13 10:39:15 +01:00
Vincent Coubard
682816d86e
Sleep: Disallow sleep for targets turning of the systick clock at sleep entry.
...
When the RTOS is present and the tickless mode is not implemented, it is
expected that the next tick issued by the Systick timer will wake up the MCU.
However nothing prevents an implementation of the ARM architecture to gate the
systick clock signal upon sleep entry.
Therefore on those targets sleep shall be prohibited if the RTOS is present and the
tickless mode is not implemented.
To ease life of porters , a new option has been added in the device add list:
STCLK_OF_DURING_SLEEP. This option expose that the target turn of the systick
clock during sleep.
Targets which exhibit such behavior shall add this define in their device_has list.
2017-09-13 10:28:02 +01:00
Jaakko Heikkilä
6b6187a405
export: Add missing flags to Sw4STM32
...
Some of the optimization and warning flags, which were supported by the
gnuarmeclipse exporter, were missing from the sw4stm32.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
c13b80cc75
export: Corrections to Sw4STM32 after review
...
Add double quotes to linker command unconditionally.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
5b0fe22652
export: Fix invalid id's in Sw4STM32 project files
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
b94ad5aa35
export: Remove build directories from excluded paths
...
Directories Debug and Release must not be excluded. Otherwise, Eclipse is
not able to find binaries, which are stored to build directories.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
847276455b
export: Add debug configuration to Sw4STM32
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
9d386b23e4
export: Fix Windows problems with Sw4STM32
...
Quoting linker preprocessor command, if path contains parentheses. Using
relative path to shorten list of included directories. Using Eclipse
variables to get path to preprocessor.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
e1d163ba0a
export: Remove preprocessed ld files after build
...
Sometimes Sw4STM32 exporter receives wrong linker script file. Because build
directories cannot be excluded from scanned resources, ld files are removed.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
98e578f707
export: Fix after testing Sw4STM32
...
Quotation marks in defines had to be replaced with html codes.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
e0cdda6e72
export: Invalid linker script path in Sw4STM32
...
Fixed invalid linker script path in project file.
Using 'defines' instead of 'symbols' in compiler options.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
d8d2b404cd
export: Remove dublicate methods in Sw4STM32
...
Removed unused methods and methods with dublicate functionality.
Removed unused imports. Generating list of defines for assembler.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
83127db09e
export: Sw4STM32 inherits GNUARMEclipse
...
Sw4STM32 is using methods from GNUARMEclipse class to handle flags.
Flags are also passed to cproject file.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
dbf20fca39
export: Change linker script name
...
SW4STM32 linker script name now contains target name.
Print formatting is using new Python style.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
b2876c47d1
export: Fix sw4stm32 linker script problem
...
Added makefile.target, and rule for linker script pre-compilation.
2017-09-13 12:05:27 +03:00
Jarno Komula
fbc4a89607
Review changes + including config header from toolchain.get_config_header() instead of hardcoding it to project file.
2017-09-13 12:05:27 +03:00
Jarno Komula
0b90c827bd
Better readability.
2017-09-13 12:05:27 +03:00
Jarno Komula
2d27e2730f
Review corrections.
2017-09-13 12:05:27 +03:00
Jarno Komula
6289596f04
Fixed sw4stm32 exporter
2017-09-13 12:05:27 +03:00
Shrikant Tudavekar
fec2346627
add ARMC6 in supported compiler
2017-09-12 15:31:50 -05:00
David Walters
7ff57c4671
Changed DAPLink version to interface version.
2017-09-12 10:46:07 +01:00
Jimmy Brisson
23aafbfe6c
Optimize space usage on builds
...
by not creating gigantic exception nonsense
2017-09-11 14:45:21 -05:00
Jimmy Brisson
8a9d79bcbd
Add ARMC6 to supported matrix
2017-09-11 13:20:33 -05:00
Jimmy Brisson
d56c19f253
Detect test skips with armc6
2017-09-11 13:20:33 -05:00
Jimmy Brisson
887d29372b
Check for support in ARMC6
2017-09-11 13:20:33 -05:00
Jimmy Brisson
d72f6dbfe4
Disable MULADDC assembly
...
It's not supported in ARMC6
2017-09-11 13:20:33 -05:00