Commit Graph

1638 Commits (374b705d969df026a8049cfabbd72d17784c38c3)

Author SHA1 Message Date
Christopher Haster a4e48ffd23 Revert "Added pretty bar printing for compile output"
This reverts commit 471d99c68f.
2018-03-14 14:48:08 -05:00
Mahesh Mahadevan 6cd23941eb LPC546XX: Add support for 220MHz core speed available on LPC54628
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-02-23 17:08:31 -06:00
Jimmy Brisson 0f566cade4 Correct single file excludes for some exporters 2018-02-23 17:08:31 -06:00
Jimmy Brisson c8305a84f4 Correct sector scraping in arm-pack-manager 2018-02-23 17:08:30 -06:00
Jimmy Brisson 35f3332933 Avoid blowing away .mbedignore files in exporters 2018-02-23 17:08:30 -06:00
PHST d5708db984 Simplify and Improve error/warning parser for arm_gcc 2018-02-23 17:08:30 -06:00
deepikabhavnani ffeca09259 Added SHA record for context switch assembly files 2018-02-23 17:08:29 -06:00
deepikabhavnani 8eac84ca80 Non Secure flag is required for pre-processing of linker file 2018-02-23 17:08:29 -06:00
Jan Jongboom a15e122982 gnuarmeclipse exporter uses mBed instead of proper casing 2018-02-23 17:08:29 -06:00
daid a52009c176 Prevent detect_targets.py tool script from crashing on known targets
As mut['mcu'] can be "None" on unknown targets, the detect_targets script crashes when one of these boards is connected.

This happens when "mbed-cli detect -vv" is ran when a STEVAL-3DP001V1 board is connected. Which does not provide a html file with a target_id, and thus cannot be looked up in the mbedls platform database.
http://www.st.com/en/evaluation-tools/steval-3dp001v1.html
2018-02-23 17:08:29 -06:00
Tero Jääskö 5860dc08e4 tools: build: fix handing of "--stats-depth"
The introduction of pretty-bar had broken the handling of
"mbed compile"'s "--stats-depth" argument. No matter what one gave
as parameter to it, the result output is just using the default 2.
Fix the logic in build_api.
2018-02-23 17:08:28 -06:00
deepikabhavnani 1c3020784f -march not required if -mcpu is set
GCC_ARM throws warning if both architecture and core are set (though
correct). If CPU option is set correctly, architecture is set by compiler
itself.
2018-02-09 14:18:46 +00:00
Wilfried Chauveau 82d16294cb rename MURATA type ABZ & WISE_1510 to their expected name 2018-02-09 14:18:46 +00:00
Jimmy Brisson c6810a68b9 Correct auto-sizing last region in bl 2018-02-09 14:18:45 +00:00
Jimmy Brisson 0dc3132c09 Test for region list sanity (sizes all >= 0) 2018-02-09 14:18:45 +00:00
Matthias L. Jugel 955a077930 fix #5985 CLion exporter results in cmake build directory, causes compiler to fail in unexpect... 2018-02-09 14:18:45 +00:00
Jimmy Brisson de983ce1b8 Don't bother padding hex files for managed bl 2018-02-09 14:18:45 +00:00
Jimmy Brisson 1b222ac07f Use OUTPUT_EXT in managed boot loader 2018-02-09 14:18:45 +00:00
Jimmy Brisson 51d424f3cc Use relative path to scatter for include path 2018-02-09 14:18:45 +00:00
Evan Hosseini 4a4891c60b ARM: ARMC6: Update scatter file shebang include directory 2018-02-09 14:18:45 +00:00
Evan Hosseini 76ccfc8f8f 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-02-09 14:18:45 +00:00
Evan Hosseini d8edb99168 ARM: ARMC6: Fix for ARM linker script cpu formatting 2018-02-09 14:18:45 +00:00
Evan Hosseini ecdd776b09 ARM: ARMC6: Specify CPU for ARM scatter file preprocessor
Fixes #5796
2018-02-09 14:18:45 +00:00
Mahesh Mahadevan b137307757 NXP: Add support for MIMXRT1050_EVK
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-02-09 14:18:44 +00:00
amq aa2cb58c79 VS Code exporter: do not overwrite existing (launch|settings|tasks).json 2018-02-09 14:18:43 +00:00
Jimmy Brisson 0376483157 Correct SW4STM32 supported check 2018-02-09 14:18:43 +00:00
Jimmy Brisson e7d29c6161 Force config resolution in gnuarmeclipse exporter 2018-02-09 14:18:43 +00:00
Jimmy Brisson b5577bde75 Move region adding to mbedToolchain 2018-02-09 14:18:43 +00:00
Jimmy Brisson f94e06151a Check that boot loader config works in libs 2018-02-09 14:18:43 +00:00
Jimmy Brisson 7d20c0adac Handle target overrides that have a path correctly 2018-02-09 14:18:43 +00:00
Jimmy Brisson c2d4e9b599 Configure boot loader after scanning 2018-02-09 14:18:43 +00:00
Jimmy Brisson 3610f91c0d Enable libraries to have boot loader configuration 2018-02-09 14:18:43 +00:00
Wilfried Chauveau 0a644d25e9 add support for the murata's module based on STM32L0 2018-02-09 14:18:42 +00:00
Wilfried Chauveau 8340f5041a add support for STM32L443RC & WISE-1510 2018-02-09 14:18:42 +00:00
sarahmarshy d158c21676 Change exception in ArmPackManager FLM reader 2018-02-09 14:18:41 +00:00
sarahmarshy 58b5970434 Treat start variable as addrss in `generate_bootloader_build`
Correct spacing.
2018-02-09 14:18:41 +00:00
sarahmarshy 32b8cff1b3 Introduce sector ceiling/floor rounding
Use ceiling for bootloader end address
Use floor for application size
2018-02-09 14:18:41 +00:00
sarahmarshy 9cdc6c75e3 Use Config class sector variable 2018-02-09 14:18:41 +00:00
sarahmarshy dcaeae80c1 Error check existence of sectors 2018-02-09 14:18:41 +00:00
Sarah Marsh 82c67effd6 Align managed bootloader addresses on sector boundaries
Aligns application start address to sector boundary
Aligns application end address to sector boundary
2018-02-09 14:18:41 +00:00
Sarah Marsh ce078b75dc Fix typo in _generate_bootloader_build 2018-02-09 14:18:41 +00:00
Sarah Marsh 1a512c9307 Add functions for getting sectors in Config class 2018-02-09 14:18:41 +00:00
Sarah Marsh 52dc6770c2 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-02-09 14:18:41 +00:00
Clemens Mandl a457d71bd3 Updated List comparision with shorter implementaion using python build-in function zip() 2018-02-09 14:18:41 +00:00
Clemens Mandl 035fe91ebd Fixed a bug with multiple Sub-Directories with same name 2018-02-09 14:18:40 +00:00
Christopher Haster 3a8da4c24c 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-02-09 14:18:40 +00:00
Phyo Kyaw 454545aba2 Updated exporter for e2 studio: added new launch file 2018-02-09 14:18:40 +00:00
TomoYamanaka e54f6c7459 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-02-09 14:18:40 +00:00
TomoYamanaka 50d4c258d4 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-02-09 14:18:40 +00:00
Matthias L. Jugel c983f0f891 flatten the compiled files list 2018-01-27 00:57:57 -06:00