Commit Graph

1883 Commits (5bb3ede8904d2488c60b1d7539dff2edcce87062)

Author SHA1 Message Date
Sarah Marsh 86d4ce1991 Align managed bootloader addresses on sector boundaries
Aligns application start address to sector boundary
Aligns application end address to sector boundary
2018-01-26 13:24:29 -06:00
Sarah Marsh c74de99872 Fix typo in _generate_bootloader_build 2018-01-26 13:24:29 -06:00
Sarah Marsh a2195082cc Add functions for getting sectors in Config class 2018-01-26 13:24:29 -06:00
Sarah Marsh 5009fdb5fc Move FLM parsing to arm_pack_manager and regenerate index
Modify arm_pack_manager to look for new keys in pdsc files, because some
vendors have changed their format
2018-01-26 13:24:29 -06:00
Wilfried Chauveau e6b19d838c add support for STM32L443RC & WISE-1510 2018-01-26 17:06:39 +00:00
Cruz Monrreal da6532e57a
Merge pull request #5857 from TomoYamanaka/master
Registration GR-LYCHEE board as a new mbed board
2018-01-26 10:50:44 -06:00
Cruz Monrreal 9a47f09ea9
Merge pull request #5910 from OSHChip/typo-fix
fix typos in lint.py
2018-01-26 10:36:33 -06:00
Mahesh Mahadevan 060daa99c9 NXP: Add support for MIMXRT1050_EVK
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-01-26 07:46:43 -06:00
Wilfried Chauveau f8e88d7443 add support for the murata's module based on STM32L0 2018-01-26 12:26:25 +00:00
Mahesh Mahadevan 1868e4946c Update CMSIS pack
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-01-25 16:36:44 -06:00
Christopher Haster 471d99c68f Added pretty bar printing for compile output
Looks like this:

    Building project mbed-os-prettyoutput (ARCH_PRO, GCC_ARM)
    Scan: .
    Scan: env
    Scan: mbed
    Scan: FEATURE_LWIP
    Text 70.5KB Data 2.72KB BSS 7.43KB                 ROM 73.2KB RAM 10.1KB
    ROM [|||||||                                             ]  73.2KB/512KB
    RAM [||||||||||||||||                                    ]   10.1KB/32KB
    Image: BUILD/ARCH_PRO/GCC_ARM/mbed-os-prettyoutput.bin

If you build a target without a cmsis-pack it looks like this:

    Building project mbed-os-prettyoutput (ARM_BEETLE_SOC, GCC_ARM)
    Scan: .
    Scan: env
    Scan: mbed
    Scan: FEATURE_BLE
    Text 99KB Data 2.84KB BSS 13KB ROM 102KB RAM 15.8KB
    Image: BUILD/ARM_BEETLE_SOC/GCC_ARM/mbed-os-prettyoutput.bin

And the old behaviour of displaying the memap table can be brought back
by passing the --stats-depth parameter
2018-01-25 11:46:23 -06:00
Clemens Mandl 1ea22c1dd6 Updated List comparision with shorter implementaion using python build-in function zip() 2018-01-24 13:49:24 +01:00
PHST 3ce173b5ce Simplify and Improve error/warning parser for arm_gcc 2018-01-24 08:48:15 +01:00
drewcassidy 6f9aa07491
fix typos in lint.py 2018-01-23 19:19:43 -08:00
Phyo Kyaw d3ac7d3997 Updated exporter for e2 studio: added new launch file 2018-01-23 17:16:26 +00:00
Clemens Mandl 8bb35ca575 Fixed a bug with multiple Sub-Directories with same name 2018-01-23 11:08:58 +01:00
Matthias L. Jugel 0a40a52797 flatten the compiled files list 2018-01-22 19:03:20 +01:00
Matthias L. Jugel c5119ca89e use the normal name without cmake- prefix 2018-01-22 19:03:20 +01:00
Matthias L. Jugel 7acad55f5b add link library paths to build 2018-01-22 19:03:20 +01:00
Matthias L. Jugel c968bc2f86 add ci build operations 2018-01-22 19:03:20 +01:00
Matthias L. Jugel 829b04cb48 change linking stage (dependencies), print built hex file name 2018-01-22 19:03:20 +01:00
Matthias L. Jugel 9e503559bd fix linker issue 2018-01-22 19:03:20 +01:00
Matthias L. Jugel e2ae5607e9 add handling of sub-dependencies, fix profile selection 2018-01-22 19:03:20 +01:00
Matthias L. Jugel c29945b1be simplify the complicated removal of dependency sources
add hex file generation
2018-01-22 19:03:20 +01:00
Matthias L. Jugel 6f667e5ca2 explain code, fix naming, work on linking 2018-01-22 19:03:20 +01:00
Matthias L. Jugel 07b21abc75 add cmake exporter for CLion use 2018-01-22 19:03:19 +01:00
Cruz Monrreal c2784c8962
Merge pull request #5532 from cmens23/master
Exporter for Netbeans GCC_ARM
2018-01-22 10:31:24 -06:00
Cruz Monrreal 47a128a5e5
Merge pull request #5882 from ashok-rao/br-MTB_Dragonfly
Add MTB MTS_Dragonfly as a new target.
2018-01-19 13:58:03 -06:00
Cruz Monrreal 698c7d9e8c
Merge pull request #5819 from geky/test-common
Add COMMON folder for tests
2018-01-18 14:20:23 -06:00
Cruz Monrreal 1a3dae763c
Merge pull request #5858 from yangkunming99/relocate-image-header
RTL8195AM - move region headers to 0xb000 and 0xc000
2018-01-18 11:32:49 -06:00
Ashok Rao 9ee69854ff Adding MTB MTS_Dragonfly as a new target 2018-01-18 17:08:59 +00:00
chrisyang c9fc52166a rtl8195am - reorder some defines properly in ota header file 2018-01-16 13:52:16 +08:00
TomoYamanaka 87968c2536 Enable exporter for GR_LYCHEE is a Renesas new target board
I added GR_LYCHEE as a new target board in DS-5, e2studio and IAR export.
2018-01-16 13:30:31 +09:00
TomoYamanaka 47acc9e551 Add GR_LYCHEE as a new target board in terget.json, build_travis.py and tests.py
I added GR-LYCHEE's configuration in targets.json file. Also, I added GR_LYCHEE as a Renesas new target board in build_travis.py and tests.py.
2018-01-16 13:25:17 +09:00
c.mandl b741e85432 Added Compiler Toolchain Varibales in Templates and modfied generation of jinja 2018-01-15 10:44:36 +01:00
chrisyang a1b4b8f10a rtl8195am - move region headers to 0xb000 and 0xc000
The new layout is as follows:

0x000000 - 0x008000  => bootloader
0x008000 - 0x00b000  => system sectors
0x00b000 - 0x00c000  => region1 header
0x00c000 - 0x00d000  => region2 header
0x00d000 - 0x010000  => reserved
0x010000 - 0x040000  => mbed file system
0x040000 - 0x120000  => region1 image
0x120000 - 0x200000  => region2 image

This is to ensure when daplink erases sections, both regions' headers
are erased properly.
2018-01-15 15:08:13 +08:00
Evan Hosseini 9245b50a54 ARM: ARMC6: Update scatter file shebang include directory 2018-01-12 13:43:20 -06:00
Evan Hosseini 6b21a5539a ARM: ARMC6: Copy headers along with the updated linker scatter file
* Need to copy headers into the build directory as well when also
  writing an updated linker scatter file to the build directory
2018-01-10 15:46:20 -06:00
Christopher Haster d82d9888d4 Added COMMON folder for tests
A COMMON folder allows code reuse across different test cases. This
avoids code duplication or code enterying the application space.

The COMMON folder is uppercase to match naming conventions in Mbed OS.
2018-01-09 16:11:14 -06:00
Clemens Mandl a0703278ea Small Refactoring of variable definitions and removed some unnecessary brackets 2018-01-09 16:54:56 +01:00
Clemens Mandl 212e5669c0 Removed getattr() where it was not needed 2018-01-09 16:13:08 +01:00
Clemens Mandl fe3f533a11 Fixed indention in Line 217 and 218 2018-01-09 15:57:52 +01:00
Senthil Ramakrishnan 47390e62d6 ESP8266 test config and tcp_echo test fix for ESP8266 2018-01-08 14:18:06 -06:00
Jimmy Brisson e301a5b746
Merge pull request #5775 from theotherjimmy/pathsep-memap
Correct memap path handling on windows
2018-01-08 10:37:25 -06:00
Jimmy Brisson 31f7ea7688
Merge pull request #5708 from SeppoTakalo/debug_info
Add minimal debug info to release and develop profiles.
2018-01-08 10:36:30 -06:00
Jimmy Brisson 737f75a68f
Merge pull request #5608 from productize/nucleo-f413zh
NUCLEO_F413ZH: Add support for the NUCLEO-F413ZH board
2018-01-08 10:35:27 -06:00
Evan Hosseini 3c21f1edfb ARM: ARMC6: Fix for ARM linker script cpu formatting 2018-01-08 09:50:33 -06:00
Evan Hosseini 453a1d79f1 ARM: ARMC6: Specify CPU for ARM scatter file preprocessor
Fixes #5796
2018-01-05 15:16:57 -06:00
Jimmy Brisson d94776f909 Assert that reduce depth works and parameterize over path sep 2018-01-02 14:36:10 -06:00
Jimmy Brisson 3db03a77d5 Test gcc memap parser with compiler provided .o's 2018-01-02 14:35:17 -06:00
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
Jimmy Brisson f4b7d8ba77 Avoid forcing preprocessing
We avoid forcing preprocessing by not replacing the first line when it's
not a shebang (#!). Should work pretty darn well.
2017-09-11 13:20:32 -05:00
Jimmy Brisson 06b00683c3 Genericify arm compiler exporter to versions 5 + 6 2017-09-11 13:20:32 -05:00
Jimmy Brisson e9d3166a5e Expose present get_compile_options API in Toolcahins 2017-09-11 13:20:32 -05:00
Jimmy Brisson 15a9a0382b Enable Compiling with ARMC6 across all targets
remove duplicate sys.cpp
2017-09-11 13:20:32 -05:00
Jimmy Brisson 1fef5553b4 Parse deps the same for GCC_ARM and ARMC6 2017-09-11 13:17:54 -05:00
Jimmy Brisson 98b4768434 Initial toolchain class for ARMC6
While ARMC6 does use the same linker (armlink) as ARM Compiler 5, it
is not compatible.

The reason for this incompatibility are twofold:
 * armlink may invoke the C preprocessor by adding a shebang
   (`#!`) to the top of their input files.
 * ARMC6 and ARMC5 differ in how you invoke the preprocessor:
   * ARMC5: `#! armcc -E`
   * ARMC6: `#! armclang -E`

This forces the tools to rewrite the shebang if it's wrong.

This does not yet handle dependencies properly
2017-09-11 13:17:54 -05:00
Deepika ca1f24cc0e Add -mcmse flag for GCC and improved logic for cpu core 2017-09-11 11:49:28 -05:00
Deepika 9422c351e4 Initial RTX and tools support for Cortex M-23/M-33 devices 2017-09-11 11:43:26 -05:00
David Walters d43a847667 Added additional DAPLink version info for `mbed detect` command` 2017-09-11 16:54:32 +01:00
mbedNoobNinja 3ba6620521 "ds5_5 & e2studio export fix" 2017-09-11 09:30:43 +03:00
Jimmy Brisson a108adf396 Merge pull request #4916 from JojoS62/add_MCUXpresso_exporter
Add mcuxpresso exporter
2017-09-08 09:44:25 -05:00
Martin Kojtal 814eaa99fe Merge pull request #5030 from chrissnow/uVision-LDFlags
Export uVision linker flags so that bootloader projects build correctly
2017-09-07 12:46:35 +01:00
Jimmy Brisson a3bb8e370b Allow eclipse to fail for mysteriously in build 2017-09-06 17:38:58 -05:00
Jimmy Brisson 9d51b1afa8 Add imports for build 2017-09-06 16:58:40 -05:00
Jimmy Brisson 7457bbbc5c Merge pull request #4665 from Archcady/enable_sdram
Enable sdram usage of REALTEK_RTL8195AM
2017-09-06 14:26:34 -05:00
Jimmy Brisson 5bcd97a2bc Merge pull request #4984 from theotherjimmy/unify-unit-tests
Unify mbed OS tools testing style with what's used in mbed-ls, htrun, greentea
2017-09-06 14:26:14 -05:00
Chris Snow e783e98066 Export linker flags so that bootloader projects build correctly 2017-09-05 22:03:29 +01:00
Jimmy Brisson 9d0e8abb11 Rename and simplify config test target names 2017-09-05 15:21:08 -05:00
Jimmy Brisson 399b6acfb1 Clean up json
Wipe out all blank lines in json:
  find tools/test -name 'test_data.json' | xargs sed -i -e '/^$/d'
Move all start braces back a space:
  find tools/test -name 'test_data.json' | xargs sed -i -e "s/^ {/{/"
2017-09-05 14:39:48 -05:00
Jimmy Brisson 4a937fe15e Linting and correcting comments 2017-09-05 13:30:16 -05:00
Martin Kojtal c291973f49 Merge pull request #4933 from 0xc0170/fix_stats_depth
test: fix stats depth variable scope
2017-09-04 16:48:53 +01:00
JojoS 32c56b2743 added support for targets with extra SDK
some targets need an additional SDK.
2017-09-01 09:45:42 +02:00
JojoS d00d6f412a add support for K64F target
added template for K64F
2017-09-01 09:43:36 +02:00
JojoS 2615982b3a applied patch from mmahadevan108
- fixes invalid char '#' in linker script
- added 'mbedclean'
2017-09-01 09:41:12 +02:00
Russ Butler ac22225ad9 Move Cortex specific RTX behind TARGET_CORTEX
Update directory structure to include RTX for only cortex targets, and
for all cortex targets. This patch accomplishes this by moving mbed-os
specific RTX files and RTX itself into rtos/TARGET_CORTEX along with
removing TARGET_CORTEX_M from the RTX5 directory.

The old directory structure:

rtos/rtx5/<mbed-os specific RTX files>
rtos/rtx5/TARGET_CORTEX_M/*
rtos/rtx4/*
rtos/<mbed-os specific RTX files>

Is re-arranged to:

rtos/TARGET_CORTEX/rtx5/*
rtos/TARGET_CORTEX/rtx4/*
rtos/TARGET_CORTEX/<mbed-os specific rtx files>

This both encapsulates RTX code more cleanly and makes it easier to
experiment with non-cortex cmsis-os2 backends, such as a posix
based cmsis-os2 backend.

Note - A potentially better name for the CORTEX_M directory would be
something like FEATURE_RTX5 since this directory only contains RTX5
related files. This cannot be done because there is not an easy way
to turn this feature on, since it cannot be done from mbed_lib.json.
2017-08-31 19:55:54 -05:00
Martin Kojtal b99e6b5f7a Pass stats depth to singletest correctly
Fixes #4930
2017-08-31 10:41:20 -05:00
Jimmy Brisson 318e92c028 Merge pull request #4950 from OpenNuvoton/nuvoton_usb
M487: Support USB device/host
2017-08-29 13:45:55 -05:00
Jimmy Brisson a2bcae0b7a Rework test_api testing and fix a bug
Bug was found by the new tests
2017-08-28 15:40:35 -05:00
Jimmy Brisson 817eb5ab05 Unify configuration testing and the travis command 2017-08-28 15:10:50 -05:00
Jimmy Brisson de9f9dd3a2 Convert memap tests to pytest style 2017-08-28 13:52:28 -05:00
Jimmy Brisson 177fb7933d Rework config_test to use py.test 2017-08-28 12:27:09 -05:00
Yuguo Zou c834b7faac Fix bugs for RTL8195AM with debug profile of compilers
1. Add alignment / padding for postbuild segments
2. Clear tcm.bss section
3. Remove TRAP_OverrideTable(), move lines to PLAT_Start()
2017-08-28 19:04:26 +08:00
Shrikant Tudavekar ddc9e0840a disable -f option for assembly files for IAR 2017-08-25 16:59:21 -05:00
Yuguo Zou a0064ae47c Remove extension in cmd
Remove extension in command line so the script could work on Linux
2017-08-24 11:26:40 +08:00
Phyo Kyaw 2cbca704d8 e2 studio exporter update 2017-08-23 17:00:55 +01:00
JojoS 025b8d9a4d changed execuatable name for tests 2017-08-23 17:02:33 +02:00
Jimmy Brisson dc6398a385 Check for mbed 5 support on export 2017-08-23 08:31:07 -05:00
JojoS f776631d3b added target LPCPC54608
from patch by mmahadevan108
2017-08-22 21:37:14 +02:00
Yuguo Zou 1e398cfc60 Add RTL8195AM support for mbed client with IAR
Move ticker related code to SRAM due to time drift sensitive
2017-08-22 17:34:00 +08:00
ccli8 a98ef4323d [M487] Update travis file 2017-08-22 10:57:37 +08:00
JojoS 07355e1362 removed empty project
was just an copy template for new targets
2017-08-21 22:19:42 +02:00
JojoS 9f628bb431 use UID class from gnuarmeclipse exporter
use global UID class
removed  outcommented code
2017-08-21 22:08:07 +02:00
JojoS e4570dbb49 add template for LPC1549 2017-08-21 21:26:16 +02:00
JojoS 9d77dffc2a fix export static_files to zip
fixed adding a list and a tuple
2017-08-16 23:37:35 +02:00
JojoS 6710e79486 fixed is_target_supported()
path for checking the templates was not independent
2017-08-16 23:04:08 +02:00
JojoS e2fd0ea152 revert hack to force zipfile creation
remove forcing to create zipfiles
2017-08-16 18:45:39 +02:00
JojoS 9dc1191c60 derive from gnuarmeclipse class
derive from gnuarmeclipse class instead of copy
is_target_supported is true when .cproject template for targetname exists
2017-08-16 18:16:36 +02:00
JojoS 239406dd25 removed unnecessary entrys 2017-08-16 18:15:10 +02:00
JojoS 9e1abfe16c added missing flags
added:
- compiler standard
- optimization flags
- warning flags
- different other flags
2017-08-16 18:14:33 +02:00
JojoS 7e7aa72c81 added support for LPC54114 and LPC54608
project template for LPC54114 is from preinstalled MCU, template for LPC54608 is empty because SDK is not yet available
2017-08-16 18:13:57 +02:00