Russ Butler
793f9c566a
Add partial thread safety to GCC
...
Add lock functions so that malloc and environment variable access are
thread safe. Add the compiler option "-o thread-safe" to use the full
version of newlib which is thread safe.
Note that this patch does NOT make file access thread safe.
2016-05-31 16:16:59 -05:00
0xc0170
8681a8d53e
gcc - use group for ld to resolve symbols from libraries
...
This fixes problem we have seen with rtos_idle_loop. The symbols
was not resolved as order played a role in this case. Remove circular
dependencies member, as it should not be required anymore.
2016-05-09 12:02:23 -05:00
mbedNoobNinja
fa0bf58e3c
New mbed platform VK_RZ_A1H
2016-04-26 17:27:39 +03:00
Brian Daniels
3148d1009e
Adding the ability for tests to report they aren't supported on a target
2016-02-25 16:48:02 -06:00
sg-
c7f84c86f7
Remove all references and use of code warrior GCC in docs, build and
...
exporters¦
2016-02-11 01:07:58 -06:00
sg-
018cdb928a
Remove all references and use of code sourcery GCC in docs, build and export scripts
2016-02-10 23:27:33 -06:00
0xc0170
6cb8531848
toolchains gcc - core m7/m7f support addition
2015-12-10 14:14:23 +00:00
Wojciech Gorniak
c11d54e5b6
Merge https://github.com/mbedmicro/mbed
...
Conflicts:
workspace_tools/export/iar.py
workspace_tools/toolchains/gcc.py
2015-11-20 10:08:05 +01:00
ohagendorf
60ec7ccedc
[DISCO_F746] linker option in toolchains/gcc.py
...
adding "-u_printf_float", "-u_scanf_float" for disco_f746
2015-11-18 23:28:09 +01:00
Brian Daniels
0621ffa03e
Fixing import issues with build.py
2015-11-12 12:16:10 -06:00
Brian Daniels
bdb23b3cfb
Simplifying and reducing code
2015-11-12 11:01:05 -06:00
Brian Daniels
20cc9c6090
adding build output to build report
2015-11-12 11:01:04 -06:00
Rafal Fabich
63574f4c48
Added build target for STM32F410RB.
...
Initial version that can be built is based on STM32F411RE target which is compatible with F410.
TODOs: MCU specific modifications in CMSIS/HAL like memory sizes/map, peripherals, clocks, etc.
2015-11-12 09:07:47 +01:00
dbestm
c01a13fe1f
[DISCO_F469NI] add support of the disco f469ni
2015-10-21 16:26:06 +02:00
Mike Fiore
e4a57bbe8f
allow MTS mDot and MTS Dragonfly to printf and scanf floats
2015-10-06 12:17:57 -05:00
Martin Kojtal
e8c24ba90d
Merge pull request #1326 from TomoYamanaka/master
...
RZ_A1H - Modify to support NEON for RTOS.
2015-09-25 14:23:28 +02:00
Wojciech Gorniak
a06da2a29d
Revert "Force debug symbols for gdb."
...
This reverts commit 221024a100
.
2015-09-25 10:16:24 +02:00
tomoyuki yamanaka
b65fbdc3e4
Modify to support NEON for RTOS. (tools files)
...
We modified to support NEON of CMSIS-RTOS RTX for Cortex-A9 and fixed some bugs of it.
2015-09-08 16:26:40 +09:00
Pawel Rozanski
221024a100
Force debug symbols for gdb.
2015-09-03 12:20:15 +02:00
Wojciech Gorniak
b9fd743216
ELMO target (NUCLEO_F411RE copy).
...
Conflicts:
workspace_tools/build_release.py
workspace_tools/export_test.py
workspace_tools/toolchains/gcc.py
2015-09-03 11:58:01 +02:00
bcostm
43c62afc2a
Add ARM and IAR support + exporters
2015-08-17 14:37:28 +02:00
ohagendorf
84c48c0f0b
[TARGET_STMF4] reorg hal for ARCH_MAX
...
same changes but for ARCH_MAX as in commit [TARGET_STMF4] reorg hal for
DISCO_F407VG
one bugfix for DISCO_F429 - wrong DAC channel numbers
2015-04-09 11:21:46 +02:00
ohagendorf
879d971289
[TARGET_STMF4] reorg hal for NUCLEO_F401RE
...
same changes but for NUCLEO_F401RE as in commit [TARGET_STMF4] reorg hal
for DISCO_F407VG
2015-04-09 11:21:46 +02:00
ohagendorf
34cfbedd6c
[TARGET_STMF4] reorg hal for DISCO_F429ZI
...
same changes but for DISCO_F429ZI as in commit [TARGET_STMF4] reorg
hal
for DISCO_F407VG
2015-04-09 11:21:45 +02:00
ohagendorf
22de60432a
[TARGET_STMF4] reorg hal for NUCLEO_F411RE
...
same changes but for NUCLEO_F411RE as in commit [TARGET_STMF4] reorg hal
for DISCO_F407VG
2015-04-09 11:21:45 +02:00
ohagendorf
a70bdc5c00
[TARGET_STMF4] reorg hal for DISCO_F407VG
...
Removing pin configuration from analogin_api, analogout_api and
pwmout_api (hal function, used by every STM32F4 target) to the target
specific files.
2015-04-09 11:21:44 +02:00
Masao Hamanaka
901b06f05b
Modify to support GCC. (tools files)
2015-02-26 16:28:58 +09:00
Anders Lindvall
dcc53f4bda
Fixed target issues for TARGET_LPC4088_DM
...
- Removed target alias from the EXPORT_MAP in targets.py as it didn't work
- Added copies of the LPC4088 target exporters
- Fixed flag issue in the gcc toolchain
- Changed defines in eth USBDevice, rpt and rtos to handle
TARGET_LPC4088_DM
2015-02-08 11:56:39 +01:00
Olivier Martin
76efcd382c
workspace_tools/toolchains/gcc.py: Use 'cortex-m0plus' support for Cortex M0+
...
This support is supported by:
- gcc-arm-none-eabi-4_7-2013q1
- gcc-arm-none-eabi-4_9-2014q4
2015-01-01 19:03:43 +00:00
Przemek Wirkus
0c848f8290
Added new switch --silet to build.py to avoid endless screens of Copy / Compile. In silent mode only warnings / erros / build product will be displayed
2014-12-03 09:24:19 +00:00
dinau
b4bea06cc3
[GCC_CR] fixed issue 590
...
Refer to:
https://github.com/mbedmicro/mbed/issues/590
2014-10-26 00:51:59 +09:00
EmBlocks
a82b29d4bd
Xlinker switches as one
2014-10-15 20:50:32 +02:00
EmBlocks
5d468e002d
Changing -u linker switch as one instead of multiple switches
2014-10-15 20:09:06 +02:00
Bogdan Marinescu
5687a86731
Fixed RTOS compilation for some targets
...
More details: https://github.com/mbedmicro/mbed/pull/472
2014-09-11 17:04:21 +01:00
Bogdan Marinescu
25926ae75d
Re-implemented LPC patching step
...
Now implemented as a 'post binary hook'. Targets that need this will have
to inherit from LPCTarget instead of Target, the rest should be automatic
(but see LPC4088 for an exception (currently, hooks can't be chained
automatically))
2014-08-12 14:59:50 +01:00
Bogdan Marinescu
45597fd8e6
A few changes to the new parallel build system
...
- restored assemble/compile_c/compile_cpp, except now they return the commands
that will run, instead of actually running the commands
- remove need_update_new, since it doesn't seem to be used anywhere
2014-08-07 17:01:39 +01:00
Mihail Stoyanov
d5835221ec
Add _assemble() and _compile() methods to generate one or more commands per source file
...
Support multiple commands per compile
Reuse _assemble() and _compile() for sequential and parallel compiles
Preserve compile(), compile_c(), compile_cpp() and assemble() methods functionality
2014-08-05 18:22:50 +03:00
Christian Taedcke
bfb06e200b
Disable rtti for gcc.
2014-06-21 12:24:05 +02:00
dinau
131cdb529d
[LPC2368][GCC_ARM] Added export functionality
...
Other changes are,
(1) Modified link error
(2) Silent Warning
2014-06-13 20:13:14 +09:00
Bogdan Marinescu
bb120221fb
Merge branch 'dev_trailing_spaces_removal' of git://github.com/0xc0170/mbed into 0xc0170-dev_trailing_spaces_removal
...
Conflicts:
workspace_tools/toolchains/__init__.py
workspace_tools/toolchains/arm.py
2014-06-03 10:39:31 +01:00
Przemek Wirkus
8a2d961526
Added new option for more verbose mode when printing compiler warnings/errors. Option -x like 'extra' verbose mode
2014-06-02 15:44:45 +01:00
0xc0170
00ddb5570b
spaces removal - workspace tools (not tmpl)
2014-05-29 15:42:03 +02:00
Bogdan Marinescu
ed3c2040e2
Fix exporters on UBLOX_C027
...
Temporary solution, until the exporter infrastructure is modified
to support proper target aliasing/inference.
2014-05-19 13:35:30 +01:00
0xc0170
cbe3a40986
K64F - i2c fix, debug-info sets optimization to
...
- debug-info for all toolchains set optimization to 0
- i2c - open drain and clock enabled for i2c pins [K64F]
2014-05-07 11:26:14 +01:00
dinau
a43ba4740a
[STM32F407][LPC4088][GCC_ARM] Fixed compilation error.
...
This commit fix FPU error when compile with RTX OS.
2014-03-21 21:16:52 +09:00
Emilio Monti
90d56a0234
Fix "binary" function parameters
2014-02-07 12:10:39 +00:00
Bogdan Marinescu
b5527ca74d
[LPC4088] Switch to 'hard' FP ABI on GCC
...
This is consistent with the armcc compilation options.
2014-01-07 15:57:52 +02:00
Bogdan Marinescu
697acd34c0
Added command line hooking option
...
compiler, linker, assembler and binary command lines can now be modified
using the hooks mechanism. Also, '--any_placement=first_fit' linker option
is now used only on LPC4088 using this mechanism, in order to preserve
compatibility with the other targets.
2013-12-05 13:48:42 +02:00
0xc0170
ba7b4c300a
Cortex-M4 split to M4 and M4F
...
- all current supported M4 cores will be M4F
2013-11-27 21:02:37 +01:00
hototogi
03b79b5920
support GCC_ARM for LPC4330_M4
...
- Linker script is based on LPC1768
number of NVIC is 16 (CORE) + 53 (M4 in LPC43xx) = 69,
therefor, reserve at the top of RAM0 (address:0x10000000)
to relocate NVIC vector table
- startup file is based on startup_ARMCM4.S in CMSIS V3.20
change NVIC name for cortex-M4 of LPC43xx
- add GCC_ARM for LPC4330_M4 in python scripts
- add some descriptions for GCC_ARM
2013-11-20 17:03:59 +09:00