Commit Graph

12278 Commits (2114ccd5a18b5b2c8ea8534196e8338d0dc3cdab)

Author SHA1 Message Date
Jimmy Brisson 2114ccd5a1 Refactor memap for speed 2017-09-18 15:24:18 -05:00
Jimmy Brisson a0d55036f9 Merge pull request #5116 from hasnainvirk/iar_fix
Separate string literal from macro
2017-09-18 09:30:59 -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 af50e8fc07 Merge pull request #5122 from studavekar/update-lwip-test
update server name to os.mbed.com
2017-09-18 09:12:05 -05:00
Jimmy Brisson 8569c09626 Merge pull request #5107 from Patater/uvisor-tickless-slumber
mbed_rtx_idle: uVisor: Don't attempt to sleep
2017-09-15 18:04:23 -05:00
Jimmy Brisson aeda7f7d28 Merge pull request #5069 from deepikabhavnani/assert_added
Changed error print to assert
2017-09-15 17:50:49 -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
Jimmy Brisson 1ce1246679 Merge pull request #5090 from theotherjimmy/fix-realtek-warns
Correct long call macros for ARMC6
2017-09-15 15:28:53 -05:00
Shrikant Tudavekar fc58349c15 update domain name to os.mbed.com 2017-09-15 11:21:28 -05:00
Hasnain Virk 8c9a0b3aa5 Seperatig string literal from macro
From C++11 and beyond string literals must be seperated by space
so that they are recongizable as seperate tokens.

Context macro in PPPCellularInterface (CTX) has been causing issues
as it was not augmented with a space from a nearby string literal.
2017-09-15 17:39:46 +03:00
Jimmy Brisson bd7f320387 Emit dependency information with ARMC6
Which allows it to be parsed
2017-09-14 16:17:44 -05:00
Jimmy Brisson 0906be6397 Merge pull request #5093 from theotherjimmy/export-no-response-files
Disable response files on export
2017-09-14 11:24:36 -05:00
Jaeden Amero 0d34c3636e mbed_rtx_idle: uVisor: Don't attempt to sleep
When uVisor is enabled, don't attempt to sleep. Attempting to sleep will
fail, as per <https://github.com/ARMmbed/uvisor/issues/420>.
2017-09-14 17:20:23 +01: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
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 45b59b442b Correct long call macros for ARMC6 2017-09-13 09:48:55 -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
Shrikant Tudavekar fec2346627 add ARMC6 in supported compiler 2017-09-12 15:31:50 -05:00
adbridge 32bd25e8df Fix include file for ARMCC 6, should use cmsis_armclang.h 2017-09-12 16:41:11 +01:00
Anna Bridge 5e437fe5ea Merge pull request #5073 from studavekar/fix-buuld-error-armc6
use gcc assembly for arm 6
2017-09-12 11:01:16 +01:00
Shrikant Tudavekar 1cb41e9715 use default macro for armcc 2017-09-12 01:00:45 -05:00
Martin Kojtal de6d2918b8 Merge pull request #4987 from andresag01/release-mbedtls-2.6.0
Update mbed TLS to version 2.6.0
2017-09-12 06:18:46 +01:00
Shrikant Tudavekar 45202df55e gaurd thumb instruction for amrc6 2017-09-11 20:09:43 -05:00
Jimmy Brisson 4b9856604d Merge pull request #4875 from deepikabhavnani/cm_23_support
Initial support for Cortex M-23/M-33 devices.
2017-09-11 18:37:55 -05:00
Anna Bridge 2955a0adc6 Merge pull request #5063 from 0xc0170/fix_lpticker_test
Fixing lp ticker and sleep manager tests
2017-09-11 22:28:52 +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 33113ae207 Correct unity math for ARMC6
The assumed that isnan and isinf would be macros, but they are functions
in ARMC6.
2017-09-11 13:20:33 -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 41a6197208 Update mbed 2 discriminator 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 d3b33d75a4 Correct NRF SDK11 assembly 2017-09-11 13:20:33 -05:00
Jimmy Brisson 4f3f0cc9cc Make Realtek link
There was some interesting stuff here.
 * ARMC6 treats assembly the same as GNU, but has a different startup
   function, so we branch the asm there
 * Incorrect discriminant, probably copied from other ports
2017-09-11 13:20:33 -05:00
Jimmy Brisson 91afbce18a Correct Nuvoton compiler detection logic 2017-09-11 13:20:33 -05:00
Jimmy Brisson 75549754bc Compile source code for Maxim targets
They don't link because of differences in the precompiled libraries
2017-09-11 13:20:32 -05:00
Jimmy Brisson fb53eb65d4 Correct Silabs NVIC selection
Again, the culprit was that the discriminant did not include armc6
2017-09-11 13:20:32 -05:00
Jimmy Brisson 0b7a9033b5 Enable many STM devices with ARMC6
Yet another incorrect arm vs gcc discriminant
2017-09-11 13:20:32 -05:00
Jimmy Brisson b22a174c39 Correct semihosting check for ARMC6 2017-09-11 13:20:32 -05:00
Jimmy Brisson 4da4c1f5ce Correct compiler switching in Nordic code 2017-09-11 13:20:32 -05:00
Jimmy Brisson cd4fd86f1f Correct Freescale + NXP compiler detection macros
Also removes duplication of common files
2017-09-11 13:20:32 -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 922bf1b619 Update mbed OS to handle ARMC6 requirements 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