Commit Graph

2010 Commits (db7ca8086d9064a6521a49db826b3bc39b8b848c)

Author SHA1 Message Date
Bartosz Szczepanski d140e9959a [NUCLEO_F072RB] Added CAN support
Added CAN API support for NUCLEO_F072RB target.

*stm32f072xb.h* file was changed to avoid compilation errors.

Change-Id: I9da75fde29fd19f0326d554acc1dbb5386b08317
2016-05-20 11:48:34 +02:00
Bartosz Szczepanski 8577163ca3 [NUCLEO_F091RC] Added CAN support
Added CAN API suport for NUCLEO_F091RC target.

*stm32f091xc.h* file was changed to avoid compilation errors.

Change-Id: I9207575a0e2ad0f8e3a4bb78eb23d1e7b4a94171
2016-05-20 11:48:33 +02:00
Bogdan Marinescu bc063a3903 Moved target definitions to JSON format
(long commit message ahead. Sorry about that, it can't be helped.)

This commit changs targets definition from Python to JSON format, as
part of the configuration mechanism implementation. There is a new file
under workspace_tools/ called "targets.json" which contains the target
definitions. "targets.py" remains, but becomes a wrapper on top of
"targets.json", with the same interface as before. This has the
advantage of not requiring code changes outside "targets.py".

Most of the JSON definitions of targets were automatically generated by a
script (available upon request since it doesn't make a lot of sense to
include it here), only those targets that had more than one parent in
the Python implementation were converted by hand. The target definitions
should be pretty self-explanatory. A number of things are different in
the JSON implementation (this is just a summary, check docs/mbed_targets.md
(also part of this PR) for a more complete description):

- "program_cycle_s" is now a value (as opposed to a function in the
Python implementation), since it only returned a number in all the
Python target implementations. The main definition that actually contains
some code (in class "Target") remains in target.py
- array values in "macros" and "extra_labels" can be modified
dynamically. Values can be added using "macros_add" and
"extra_labels_add" or removed using "macros_remove" and
"extra_labels_remove". This mechanism is available for all attributes
with a list type, but it's currently enabled only for "macros" and
"extra_labels" to keep things simple.
- "init_hooks"/"binary_hook" are now implemented in terms of a single
JSON key valled "post_binary_hook". The corresponding code is also in
"targets.py", under the various TargetCode classes (see for example
LPC4088Code in targets.py).

Just like in the Python implementation, a target can inherit from zero,
one or more targets. The resolution order for the target's attributes
follows the one used by the Python code (I used
http://makina-corpus.com/blog/metier/2014/python-tutorial-understanding-python-mro-class-search-path
as a reference for the implementation of resolution order).

This is obviously a very dangerous commit, since it affects all targets.
I tested compilation for a number of targets (K64F, LPC1768, NRF51822)
but there's definitely a lot more to be done in terms of testing.

I also tried to test in a different way: I wrote a script that imports the
old (Python) and the new (JSON) implementations and verifies that the
attributes in the old implementations exist and have the same values
in the new implementations (it also verifies that the attribute
resolution order is the same in the two implementations). If you're
interested, the script is here:

https://gist.github.com/bogdanm/c9d8cf34214109a4b9079befed6b3c0c

And the results of running the script are below (note that the script
outputs only the target names that were found to be problematic):

NRF51_MICROBIT_BOOT:
    Resolution order is different in old and new
        old: ['NRF51_MICROBIT_BOOT', 'MCU_NRF51_16K_BOOT_S110', 'MCU_NRF51_16K_BOOT_BASE', 'MCU_NRF51_16K_BASE', 'MCU_NRF51', 'Target', 'MCU_NRF51_S110']
        new: ['NRF51_MICROBIT_BOOT', 'MCU_NRF51_16K_BOOT_S110', 'MCU_NRF51_S110', 'MCU_NRF51_16K_BOOT_BASE', 'MCU_NRF51_16K_BASE', 'MCU_NRF51', 'Target']
    'extra_labels' has different values in old and new
        old: ['NORDIC', 'MCU_NRF51', 'MCU_NRF51822', 'MCU_NORDIC_16K', 'MCU_NRF51_16K', 'MCU_NRF51_16K_BOOT', 'MCU_NRF51_16K_S110', 'NRF51_MICROBIT']
        new: ['NORDIC', 'MCU_NRF51', 'MCU_NRF51822', 'MCU_NORDIC_16K', 'MCU_NRF51_16K', 'MCU_NRF51_16K_S110', 'MCU_NRF51_16K_BOOT', 'NRF51_MICROBIT']
    'macros' has different values in old and new
        old: ['NRF51', 'TARGET_NRF51822', 'TARGET_MCU_NORDIC_16K', 'TARGET_MCU_NRF51_16K', 'TARGET_MCU_NRF51_16K_BOOT', 'TARGET_OTA_ENABLED', 'TARGET_MCU_NRF51_16K_S110', 'TARGET_NRF51_MICROBIT', 'TARGET_NRF_LFCLK_RC']
        new: ['NRF51', 'TARGET_NRF51822', 'TARGET_MCU_NORDIC_16K', 'TARGET_MCU_NRF51_16K', 'TARGET_MCU_NRF51_16K_S110', 'TARGET_MCU_NRF51_16K_BOOT', 'TARGET_OTA_ENABLED', 'TARGET_NRF51_MICROBIT', 'TARGET_NRF_LFCLK_RC']
NRF51_MICROBIT:
    Resolution order is different in old and new
        old: ['NRF51_MICROBIT', 'MCU_NRF51_16K_S110', 'MCU_NRF51_16K_BASE', 'MCU_NRF51', 'Target', 'MCU_NRF51_S110']
        new: ['NRF51_MICROBIT', 'MCU_NRF51_16K_S110', 'MCU_NRF51_S110', 'MCU_NRF51_16K_BASE', 'MCU_NRF51', 'Target']
    'extra_labels' has different values in old and new
        old: ['NORDIC', 'MCU_NRF51', 'MCU_NRF51822', 'MCU_NORDIC_16K', 'MCU_NRF51_16K', 'MCU_NRF51_16K_S110']
        new: ['NORDIC', 'MCU_NRF51', 'MCU_NRF51822', 'MCU_NRF51_16K_S110', 'MCU_NORDIC_16K', 'MCU_NRF51_16K']
    'macros' has different values in old and new
        old: ['NRF51', 'TARGET_NRF51822', 'TARGET_MCU_NORDIC_16K', 'TARGET_MCU_NRF51_16K', 'TARGET_MCU_NRF51_16K_S110', 'TARGET_NRF_LFCLK_RC']
        new: ['NRF51', 'TARGET_NRF51822', 'TARGET_MCU_NRF51_16K_S110', 'TARGET_MCU_NORDIC_16K', 'TARGET_MCU_NRF51_16K', 'TARGET_NRF_LFCLK_RC']
NRF51_MICROBIT_OTA:
    Resolution order is different in old and new
        old: ['NRF51_MICROBIT_OTA', 'MCU_NRF51_16K_OTA_S110', 'MCU_NRF51_16K_OTA_BASE', 'MCU_NRF51_16K_BASE', 'MCU_NRF51', 'Target', 'MCU_NRF51_S110']
        new: ['NRF51_MICROBIT_OTA', 'MCU_NRF51_16K_OTA_S110', 'MCU_NRF51_S110', 'MCU_NRF51_16K_OTA_BASE', 'MCU_NRF51_16K_BASE', 'MCU_NRF51', 'Target']
    'extra_labels' has different values in old and new
        old: ['NORDIC', 'MCU_NRF51', 'MCU_NRF51822', 'MCU_NORDIC_16K', 'MCU_NRF51_16K', 'MCU_NRF51_16K_OTA', 'MCU_NRF51_16K_S110', 'NRF51_MICROBIT']
        new: ['NORDIC', 'MCU_NRF51', 'MCU_NRF51822', 'MCU_NORDIC_16K', 'MCU_NRF51_16K', 'MCU_NRF51_16K_S110', 'MCU_NRF51_16K_OTA', 'NRF51_MICROBIT']
    'macros' has different values in old and new
        old: ['NRF51', 'TARGET_NRF51822', 'TARGET_MCU_NORDIC_16K', 'TARGET_MCU_NRF51_16K', 'TARGET_MCU_NRF51_16K_OTA', 'TARGET_OTA_ENABLED', 'TARGET_MCU_NRF51_16K_S110', 'TARGET_NRF51_MICROBIT', 'TARGET_NRF_LFCLK_RC']
        new: ['NRF51', 'TARGET_NRF51822', 'TARGET_MCU_NORDIC_16K', 'TARGET_MCU_NRF51_16K', 'TARGET_MCU_NRF51_16K_S110', 'TARGET_MCU_NRF51_16K_OTA', 'TARGET_OTA_ENABLED', 'TARGET_NRF51_MICROBIT', 'TARGET_NRF_LFCLK_RC']
NOT OK: ['NRF51_MICROBIT', 'NRF51_MICROBIT_BOOT', 'NRF51_MICROBIT_OTA']

The reasons for the above output are subtle and related to the
extremely weird way in which we defined target data in the Python
implementation: we used both class attributes and instance attributes.
This can complicate resolution order quite a bit and those two levels
don't exist in JSON: there's only one attribute type (equivalent to
Python's instance attributes). To make that work, I had to change the
inheritance order of the above targets (that use multiple inheritance)
which in turn changed the order of some macros and extra_labels (and of
course the resolution order). No harm done: the values are the same,
only their ordering is different. I don't believe this causes any
problems for 'extra_labels' and 'macros'.

This method of testing has its limitations though; in particular, it
can't test the hooks. I'm opened to ideas about how to test this better,
but I think that we need to remember that this commit might break some
targets and keep an eye out for "weird errors" in the future.
2016-05-17 21:42:55 +03:00
bcostm 13f0c1ff6f [NUCLEO_F746ZG] Add RTOS and MBED_A8 tests (#1728)
* Add RTOS, MBED_A8 tests

* [NUCLEO_F746ZG] Add pins for MBED_A8 test
2016-05-13 15:46:03 +01:00
Olaf Hagendorf a4c55293e0 minor change in doc string format in exporter.py (#1739) 2016-05-13 10:39:56 +01:00
adustm e5c1d37c25 [STM32F7] add FPU option for assembly compiling (needed for rtos library) 2016-05-13 11:19:07 +02:00
adustm dbb99d4eee NUCLEO_F746ZG] add this board to rtos 1-8 tests 2016-05-13 10:59:59 +02:00
0xc0170 1290925ad1 Build release - RZ_A1H iar removal
There are issues with cmsis API, which were not ported to IAR.
2016-05-10 10:21:09 -05:00
Martin Kojtal be6e09bec3 Merge pull request #1725 from 0xc0170/fix_ksdk_old_macro
Target - backward compatibility KSDK 1.0 labels
2016-05-09 15:12:13 -05:00
0xc0170 5681da0845 Target - backward compatibility KSDK 1.0 labels
The extra_labels should not be removed, as it could break old sources or
mbed-lib or applications.
2016-05-09 13:44:37 -05:00
0xc0170 58e47dc500 gcc makefile - use group for ld to resolve symbols from libraries 2016-05-09 12:06:33 -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
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 89b6c41a1b uvision5 - add flags from uvision toolchain class
Flags should be unique, thus use list(set()) to remove duplicates
2016-05-04 16:56:43 -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
Martin Kojtal 9cef243de2 Merge pull request #1700 from NXPmicro/dev_ksdk_2.0
Switch to KSDK 2.0
2016-05-02 18:13:47 -05:00
Mahadevan Mahesh da0924f95c Networking update for FRDM K64 platform
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:54:01 -05:00
Mahadevan Mahesh fffadba309 Moved SDK 2.0 platforms back to TARGET_Freescale from TARGET_NXP.
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:53:53 -05:00
Mahadevan Mahesh f512738f91 Add support for KL27Z FRDM board
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:45:05 -05:00
Mahadevan Mahesh 06698f4ffa Add support for the K64F Hexiwear board
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:45:02 -05:00
Mahadevan Mahesh-R9AADQ 6ff2badf1f Added support for Kinetis K22
Use Kinetis SDK 2.0
Moved to TARGET_NXP

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:44:58 -05:00
Mahadevan Mahesh-R9AADQ 2c9c632aad Added Kinetis K64 support
Use Kinetis SDK 2.0. Moved this to TARGET_NXP

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:44:54 -05:00
Mahadevan Mahesh-R9AADQ acb896b3cb Removed Freescale Kinetis SDK 1.0 based implementations
This will be replaced by Kinetis SDK 2.0 based implemenation under the TARGET_NXP folder

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-04-29 15:27:42 -05:00
0xc0170 690b8f0e8b uvision exporter - use toolchain flags
progen uses flags set by the toolchain, this should produce
the same result within the build and an exporter project.
2016-04-29 11:40:39 -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
Martin Kojtal 670e7bcb47 Merge pull request #1639 from mbedNoobNinja/master
New mbed platform VK_RZ_A1H
2016-04-28 19:07:17 -05:00
Olaf Hagendorf c84dd595d5 uvision5 - get_toolchain method
same solution as in PR #1687 but for Keil v5
2016-04-26 18:55:27 +02:00
Martin Kojtal d25daf7fad Merge pull request #1680 from svastm/master
[NUCLEO_L031K6] Add target
2016-04-26 11:07:44 -05:00
mbedNoobNinja fa0bf58e3c New mbed platform VK_RZ_A1H 2016-04-26 17:27:39 +03:00
Martin Kojtal bda3d1e5f8 Merge pull request #1687 from 0xc0170/fix_ulib
uvision - get_toolchain method regression fix
2016-04-25 21:15:04 -05:00
0xc0170 864b349430 uvision - get_toolchain method regression fix
uvision uses default_toolchain, thus exporter needs to provide a method to
distinguish between ARM and uARM. Fixes #1686
2016-04-25 08:54:43 +01:00
Martin Kojtal ec07dbde3b Merge pull request #1679 from janjongboom/microbit_gcc
Add GCC exporter for micro:bit
2016-04-22 16:38:20 +01:00
Martin Kojtal cf218979c5 Merge pull request #1676 from 0xc0170/dev_uvision5
Exporters - uvision5 addition
2016-04-22 16:28:40 +01:00
Jan Jongboom ffb1cc9ac4 Add GCC exporter for micro:bit 2016-04-22 10:12:39 +02:00
svastm 42a1d862e2 [NUCLEO_L031K6] Add to build and export scripts 2016-04-21 16:25:58 +02:00
bcostm b2412af383 [DISCO_F429ZI] Add target name for progen 2016-04-20 11:50:51 +02:00
0xc0170 7b8165ddb3 Exporters - uvision5 addition
uvision5 uses software packs for devices, plus different extension. We
should use uvision as uvision4. This is based on progen, same as uvision4.
2016-04-20 08:40:21 +01:00
Martin Kojtal 896981126b Merge pull request #1659 from phyokyaw/master
Exporter tool addition for e2 studio
2016-04-19 11:05:28 +01:00
Mihail Stoyanov 60b322a521 Fixed broken zip exporter due to unintialized vars and python traceback (#1674) 2016-04-15 17:09:13 +01:00
Steven Cooreman ffcdd68d7d Add EFM32 Pearl Gecko to the library builds in anticipation of release. (#1668) 2016-04-14 15:49:14 +01:00
Phyo Kyaw 8aba7b302a Exporter tool addition - e2 studio 2016-04-12 09:52:14 +01:00
Parthasarathy dd3c5f7fa8 Added support for SAMG55
* * Base Commit for SAMG55J19. No errors and no implementations.

* * Added gpio files.

* * Added pinmap files.

* * Base commit for usticker implementation.

* * Added gcc_arm export functionality

* * added files for usticker.
* added template file for samd55j19

* * GPIO IRQ base commit.

* * updated with changes in gpio irq driver.

* * Reverted back unexpected commit in SAM0 gpio driver.

* * updated gpio_irq driver.

* * correction in gpio and gpio_irq drivers.
* added support for some test for gpio.

* * base commit for peripheralpins for usart.
* update in serial apis.

* * updated serial apis.

* * updated serial apis and test.

* * update serial apis for asynch apis.

* * updated peripheral pins for i2c and spi.
* added test support for serial flow control

* * Base commit for low power ticker implementation.

* * base commit for port apis.
* update in lp ticker apis.

* * Added test support for port.

* * base commit for sleep apis.

* * Base commit for spi.

* * updated with corrections in gpio irq.
* usticker file updated with latest source.

* * updated with corrections for unexpected board reset.
* updated gpio irq apis and added test for the same.

* * updated sleep api for deepsleep.

* * updated serial apis.

* Added uc_ticker and SPI api implementations

* Removed unused SPI pin map

* Updated review feedback

* * implemented lpticker with TC module.
* updated files for KnR Coding Statndard.
* updated serial and usticker apis.

* * Base commit for AnalogueIn apis.

* * RTC apis base commit without implementation.

* * Updated with corrections in lpticker implementations.

* * Added implementation for rtc apis.

* * updated with implementations for pwm.
* changed usticker from TC0 to TC1.

* Added I2C support

* * removed setvector usage from usticker and lpticker implementations
* added tests for SAMG55J19

* * Removed unwanted .o and .d files.
* Updated I2C files for KnR Coding Standards.
* Update for reducing compiler warnings in peripheralpins,c
* Updated with PWM free implementation.

* * Removed unwanted headers file inclusion.
* Compiler warning corrections in serial_api.c

* * Updated ADC with 16 bit mode initialization and code refinements.
* Updated PWM with code refinements.

* Updated I2C review feedback and fixed style

* Updated target name for SAMG55

* * Added Test Support for I2C with AT30TSE75X and Added Support for SAMG55J19 in atmelstudio project exporter

* * Added Test Support for I2C with AT30TSE75X and Added Support for SAMG55J19 in atmelstudio project exporter

* Used NVIC_SetVector for interrupt callback

* Removed Target macro define in test

* Updated test cases to have SAMG55 support

* * Updated with corrections in Serial and SPI asynchronous implementations.
* Updated deepsleep api implementation
* Merged LP_Ticker with latest code from mbed 3.0 repository.

* * updated with corrections in I2C Asynch implementation.
2016-04-05 18:05:59 +01:00
Martin Kojtal c9bf785b69 Export - add export log yaml file
Exporters should provide additional information - what templates
are they using. For progen, it should be version, and we might add more
information later.
2016-04-05 09:59:45 +01:00
0xc0170 19f43a5268 uvision exporter - fix - asm does not like string defined macros 2016-03-21 08:56:51 +01:00
Martin Kojtal 6bd3caa968 Merge pull request #1607 from 0xc0170/dev_uvision_progen
uvision progen
2016-03-15 17:25:11 +00:00
0xc0170 287c3b71f4 mbed lib revision - 116 2016-03-15 15:34:00 +00:00
Martin Kojtal 0651e2c29e Exporters uvision - templates - enable c99 mode 2016-03-13 18:42:34 +01:00
Martin Kojtal cfda78d2ca Exporters uvision - fix timestamp - asm does not like decimal point
The mbed time build stamp is with decimal point, which is causing ASM to fail,
with strange command error. As a workaround, we truncate the number when exporting
to uvision.
2016-03-13 18:42:09 +01:00
Martin Kojtal 7e650da9d7 Exporters uvision - template --bin fix 2016-03-12 07:55:08 +01:00
Martin Kojtal 0fa5e462e6 Exporters uvision - fix template name 2016-03-11 08:27:39 +01:00
Martin Kojtal d7961208a5 Exporters uvision template - remove objects 2016-03-11 08:21:04 +01:00
Martin Kojtal aa0e8a5b4f Targets - remove uvision default template 2016-03-10 20:26:23 +01:00
Martin Kojtal 3dcdd6e981 Exporters uvision - fix wording 2016-03-10 19:57:27 +01:00
Martin Kojtal ccdf5b25ed Exporters uvision - add default mbed templates 2016-03-10 19:52:25 +01:00
Martin Kojtal 8df53e4c07 Exporters uvision - remove all old templates 2016-03-10 19:39:06 +01: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
Martin Kojtal c44cf7a04d Exporters - add progen to uvision 2016-03-10 15:58:41 +00:00
Martin Kojtal 906961d781 Targets - add progen uvision templates 2016-03-10 15:50:20 +00:00
bcostm 58e1c63013 [NUCLEO_L073RZ] Add SW4STM32 exporter 2016-03-07 13:17:37 +01:00
tomoyuki yamanaka a4c27c1f40 Bug fix the export function to the IAR.
We added the IAR tool chain to release build.
2016-03-07 13:14:06 +09:00
Martin Kojtal 7f693b7df8 Merge pull request #1582 from 0xc0170/fix_include_dirs
Exporter - progen include dirs fix
2016-03-03 15:09:39 +01:00
Martin Kojtal de3b14ec92 Merge pull request #1576 from PeterConheeney/master
latest changes to add arduino support, plus fixes for IOTSS BEID
2016-03-02 15:29:53 +01:00
0xc0170 67fe82479a Build release - add nucleo f746zg 2016-03-02 11:01:46 +01:00
0xc0170 6915f09663 Targets - fix nucleo f410rb 2016-03-02 11:01:24 +01:00
0xc0170 38f4c1df6b Exporter - progen include dirs fix
mbed scripts copy files, therefore file paths are not valid at the moment of ahe project generation.
Therefore checks like os.path.isdir or isfile fail. If include is set to TARGET/FOLDER, this would be
treated as a file, and added to the project workspace. This commit fixes it, it adds dirs only to
include_paths, as it should.
2016-03-02 10:29:30 +01:00
Brian Daniels 7b256df1e9 Uploading skipped [NOT_SUPPORTED] tests 2016-02-29 14:25:47 -06:00
Peter Conheeney bec257786a commit of latest changes to arduino support, plus fixes for IOTSS BEID 2016-02-29 12:02:47 +00:00
Martin Kojtal 3209e1806f Merge pull request #1569 from bridadan/remove-iar-nrf51822
Remove IAR from all NRF51822-based targets
2016-02-28 17:48:16 +01:00
Martin Kojtal 73deb0bf92 Merge pull request #1570 from 0xc0170/dev_remove_iar_f7
Target - remove cortex-m7 IAR support for 2 targets
2016-02-28 17:38:46 +01:00
Martin Kojtal 8e75bd9d5f Merge pull request #1568 from bridadan/not-supported-test-result
Adding the ability for tests to report they aren't supported on a target
2016-02-28 08:39:21 +01:00
Martin Kojtal bd0417cb15 Merge pull request #1520 from adustm/b_b96b_can
[STM B96B_F446VE] Add CAN feature
2016-02-26 17:07:15 +00:00
0xc0170 65355e2610 Target - remove cortex-m7 IAR support for 2 targets
They will be reenabled once we update IAR version for the release/test
2016-02-26 13:00:49 +00:00
0xc0170 121804a99d Target - nucleo f746 - progen data aligned to master branch 2016-02-26 11:37:04 +00:00
0xc0170 f3816bdd25 Exporter IAR - nucleo f746 template fix
Remove ewd file, fix .ewp file - remove jinja2, to have valid ewp file
2016-02-26 11:37:02 +00:00
adustm ddea20a775 [NUCLEO_F746ZG] add exporters files 2016-02-26 11:36:49 +00:00
adustm a7ed768eef [NUCLEO_F746ZG] new target 2016-02-26 11:36:40 +00:00
Brian Daniels bee5cad5ef Remove IAR from all NRF51822-based targets 2016-02-25 18:29:38 -06: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 21389cdd57 Merge pull request #1563 from 0xc0170/fix_iar_rza1h
Progen data refactor
2016-02-25 19:48:18 +00:00
Martin Kojtal 6eabf37d20 Exporter - rza iar template clean-up
This is not required for progen functionality, but better to have the template
clean from files and defines.
2016-02-25 19:45:41 +00:00
0xc0170 a64119fcbb Exporters IAR - rza1h template fix 2016-02-25 16:07:30 +00:00
0xc0170 5f2541c8aa Target + Exporters - progen data expansion by template for tools
Each target can specify own template. This is however not recommended for general use.
Each target should be supported by progendef, and well definied. However, as tools are
quickly changing, some targets add extra information which might not be supported, this
template expansion allows a target to temporary override default mbed tool template.

In this commit, we add RZ_A1H iar template. I experienced with never tools some breakage in
the templates, this might come handy, but repeat, please consider using the default template, and
contribute to progen or progendef which should contain fixes or support for newer targets/tools.
2016-02-25 14:02:08 +00:00
0xc0170 6076b3a49b Exporters -removal of iar_rz_a1h template 2016-02-25 14:01:36 +00:00
Toyomasa Watarai d8f60f387d Add LPC11U35 uvision exporter support
* Add LPC11U35_401 uvision exporter
* Add LPC11U35_501 uvision exporter
2016-02-25 15:49:35 +09:00
Martin Kojtal 3641437735 Exporter IAR - fix issupported argument - string 2016-02-24 18:16:18 +00:00
Martin Kojtal ba6ba1f687 Progen data refactor
The new format progen = dict() should allow to add more data used by progen.
The target can add tool flags to be overwritten by the default mbed template, or
even inject own template. This might be required for some targets. Therefore we
shall allow thiss.
2016-02-24 17:58:58 +00:00
Martin Kojtal 2727c942e0 Exporters IAR - use template from older mbed templates 2016-02-23 17:58:03 +00:00
Martin Kojtal 31f74b8e45 Exporters IAR - fix template path 2016-02-23 17:28:33 +00:00
Martin Kojtal 36fe6a0b74 Exporters IAR - add template mbed file 2016-02-22 22:55:58 +00:00
Martin Kojtal efbecd6cdd Exporters - progen data - add inc_dirs 2016-02-22 22:16:41 +00:00
Martin Kojtal 3f2c7bf5f8 Exporters iar - add comments to IAR progen implementation 2016-02-22 21:04:53 +00:00
Martin Kojtal b5a3fe5316 IAR - add TARGETS for backward compatibility 2016-02-22 20:43:35 +00:00
Martin Kojtal faf99119fc Export - IAR progen addition
The IAR exporter is replaced by progen.
2016-02-22 20:18:26 +00:00
Martin Kojtal 788e1c62eb Export - remove iar templates
Shall be replaced by progen, which contains generic template. Any new target for
IAR, please check [project generator definitions](https://github.com/project-generator/project_generator_definitions).
2016-02-20 22:01:34 +00:00
Martin Kojtal ba89da08bc Merge pull request #1555 from bridadan/release-build-tests
Allow building of tests in build_release script
2016-02-20 08:03:08 +00:00