Commit Graph

571 Commits (829b422a6deba17f78178d2cdf4309c53f7487e3)

Author SHA1 Message Date
Olaf Hagendorf a4c55293e0 minor change in doc string format in exporter.py (#1739) 2016-05-13 10:39:56 +01:00
0xc0170 58e47dc500 gcc makefile - use group for ld to resolve symbols from libraries 2016-05-09 12:06:33 -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 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
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
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
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
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
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 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 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
Martin Kojtal c44cf7a04d Exporters - add progen to uvision 2016-03-10 15:58:41 +00:00
bcostm 58e1c63013 [NUCLEO_L073RZ] Add SW4STM32 exporter 2016-03-07 13:17:37 +01: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
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
Peter Conheeney bec257786a commit of latest changes to arduino support, plus fixes for IOTSS BEID 2016-02-29 12:02:47 +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
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
modtronix-com b78542d10e Changed target name from NZ32SC151 to NZ32_SC151 2016-02-18 09:49:14 +00:00