Mihail Stoyanov
e7c3c883de
Introduce FEATURE_ keyword which behaves like TARGET_ but is generated from targets features (see targets.json)
2016-06-09 14:10:52 +01:00
Bogdan Marinescu
05059a617f
Rename "features" to "device_has" in targets.json
...
"features" will make more sense in the context of the feature support
that we'll introduce later (related to #1878 ). Plus, "device_has" is
arguably a better description of the actual content of this key.
2016-06-08 18:32:39 +03:00
Jimmy Brisson
66574aaa9d
made features a first class citizen
2016-06-03 16:18:23 -05:00
Jimmy Brisson
2fe708d526
added features support to all of the toolchains
2016-06-03 14:03:50 -05:00
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
Russ Butler
bd216c37cb
Make the IAR standard library thread safe
...
Add the locks and flags necessary to make the IAR standard library
thread safe. These changes consist of:
-Add compiler flag "--guard_calls" to ensure C++ function-static
variables with dynamic initializers are initialized in a
thread safe manner
-Add the linker flag "--threaded_lib" so the thread safe version of
the standard library is used
-Implement mutex functions required for IAR thread safety
-Create a set of stub functions in retarget.c for when the rtos is not present
2016-05-31 14:41:21 -05:00
adustm
e5c1d37c25
[STM32F7] add FPU option for assembly compiling (needed for rtos library)
2016-05-13 11:19:07 +02: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
0xc0170
def841979a
RTOS - fix Cortex-M version - add macros required for new kernel
...
2 new macros were introduced to capture changes in the kernel. We used toolchains/__init__
script to capture those, which is not in the sync with actual sources. This fix introduces
those macros in the source, rather than a script.
We will further eliminate those macros to be used outside of RTX kernel (c++ API).
2016-05-06 11:50:21 -05:00
0xc0170
8bbe0bb3ca
Cortex symbols - add cmsis rtos for all cortex cores
2016-05-05 12:10:56 -05:00
0xc0170
5ce3ec9619
uvision - fix INC dir
...
The path for INC might be with spaces, uvision does not handle it well,
thus wrapping around ""
2016-05-04 16:41:01 -05:00
0xc0170
ded7d39c76
uvision - microlib fix - commands to use -D__MICROLIB
...
Exporters use --library_type=microlib. This will be unified soon, as currently
the templates does not support ASM macros.
2016-05-04 11:42:45 -05:00
0xc0170
5018270bb5
uvision - asm flags fix
...
Use deepcopy to get flags as they are shared between ARM and uARM. asm flags
for command line require c flags as it used to be.
2016-05-04 10:58:44 -05:00
0xc0170
ee00dbd9a7
uvision - fix c/asm flags
...
Some flags are only C specific, causes problems when there's .S file in the workspace.
For instance, -Ox is only C flag, causes a project to fail with "unrecognized option"
2016-05-04 09:45:16 -05:00
0xc0170
4168779361
uvision - flags dict creation
...
All flags for uvision are in one dictionary, therefore an exporter or
external scripts can get those and use.
2016-04-29 11:40:38 -05:00
mbedNoobNinja
fa0bf58e3c
New mbed platform VK_RZ_A1H
2016-04-26 17:27:39 +03:00
adustm
52c70867e6
[STM32F7] fix typo in targets.py + remove tabs in iar.py
2016-03-10 18:24:10 +01:00
adustm
1e1ed26327
[STM32F7] Allow IAR compilation
...
targets.py : add IAR for NUCLEO_F746ZG and DISCO_F746NG
iar.py: in case of Cortex-M7F, change it into Cortex-M7 and add --fpu
VFPv5_sp
I have been confirmed that for Cortex-M4F we don't need to add the --fpu
VFPv4_sp
2016-03-10 17:07:16 +01: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
Martin Kojtal
20948ad920
Merge pull request #1535 from sg-/remove-gcc-cw
...
Remove stale gcc tools
2016-02-15 08:54:17 +00: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
Sam Grove
715fca0178
add extra mbed identifier. correct duplicate target
2016-02-05 01:19:48 -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
8095f0e88a
Removing unnecessary bits
2015-11-12 11:01:09 -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
Brian Daniels
736cae108e
Consolidating reporting in build_release and test_api
2015-11-12 11:01:03 -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
Przemek Wirkus
0c7ec777f9
Added fix for duplicate -D compiler symbols
2015-08-05 12:28:47 +01:00
Mihail Stoyanov
06e8a0825b
Improve armcc output regex pattern to handle armasm messages
2015-04-09 20:45:43 +03: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
Martin Kojtal
428d7e001c
Merge pull request #941 from GustavWi/iar_mbed
...
IAR support nrf51 based boards
2015-03-04 10:48:42 +01:00
GustavWi
6cf9a111e3
IAR support arch_ble, delta_defcm, hrm1017, nrf51_dk, nrf51_dongle, seed_tiny_ble.
2015-03-02 10:38:46 +01:00
Masao Hamanaka
901b06f05b
Modify to support GCC. (tools files)
2015-02-26 16:28:58 +09:00