Commit Graph

106 Commits (3e2526a4249b4c4a95863116bee23641273d7b4b)

Author SHA1 Message Date
Jimmy Brisson d6d0202236 Move binaries from bin to .build 2016-06-30 10:55:34 -05:00
Jimmy Brisson 5d014661c2 Redo window mkdir; add cross-platform rmdir 2016-06-30 10:55:10 -05:00
Jimmy Brisson 6867499da3 Test for existance of dir before creating it 2016-06-30 10:55:04 -05:00
Jimmy Brisson 6971b1e1b4 update mkdir to be cross-platform 2016-06-30 10:51:19 -05:00
Jimmy Brisson 7b5831247d Make the efm32 targets use the common makefile template 2016-06-30 10:51:19 -05:00
Jimmy Brisson 63f4e6a279 sam*::gcc_arm targets extend the common makefile 2016-06-30 10:51:19 -05:00
Jimmy Brisson 86585197da rework the common template to place objects into bin 2016-06-30 10:51:18 -05:00
svastm 2198dccd6e [NUCLEO_L432KC] Add to build and export scripts 2016-06-30 14:50:35 +02:00
Jarek Zgoda 2731bc7da3 Template moved to new tools directory 2016-06-30 12:36:19 +02:00
Jarek Zgoda 59623d62f9 One more occurence to be renamed 2016-06-30 12:36:19 +02:00
Jarek Zgoda 3006f70552 Support for Blue Pill 2016-06-30 12:36:18 +02:00
Sam Grove 5ea1953755 Merge pull request #2045 from 0xc0170/fix_iar_vla
iar - remove --vla flag for exporters
2016-06-28 10:52:00 -05:00
0xc0170 d2a216f3a0 iar - remove --vla flag for exporters
The template file already enables VLA as it's for C only. This --vla flag
causes conflicts with --cpp flag that is enabled implicitly if C++ is enabled.
2016-06-28 17:15:48 +02:00
Martin Kojtal a84b7e71e2 Merge pull request #2042 from DanKupiniak/export_elmo_f411re_to_gcc_arm
Export ELMO_F411RE projects to offline GCC ARM Make project.
2016-06-28 15:34:11 +02:00
0xc0170 f44ff94fc3 uvision4/5 - remove no-vla for exporters
IDE has C/C++ tab, thus this only cxx flag would be applied for
C files.
2016-06-28 14:15:34 +02:00
Daniel Kupiniak bb29ed8991 Export ELMO_F411RE projects to offline GCC ARM Make project. 2016-06-28 14:14:48 +02:00
Bogdan Marinescu af71d87adc Merge pull request #1975 from theotherjimmy/export-mbed-conf
[Exporters] Update exporters to include and use mbed_conf.h (Was #1964)
2016-06-28 11:15:22 +03:00
sarahmarshy beb0be99d8 Conflicting zip name
The boolean zip passed as a parameter conflicts with the zip exporter class imported.
2016-06-27 17:20:13 -05:00
Jimmy Brisson 7b83c30ba1 for file in `ls tofor file in `ls tools/export`; do sed -i tools/export/$file -e "s/MBED_CONF_ACTIVE/MBED_CONFIG_HEADER_SUPPORTED/"; done 2016-06-27 14:06:42 -05:00
Jimmy Brisson f92d3ec9be Move name of config file to one location 2016-06-27 14:06:42 -05:00
Jimmy Brisson 3a273f78f2 Create and enable exporter flag mbed_conf_active for exporters
The mbed_conf_active feature disables configuration macros on the
command line and replaces them with a preinclude header file
2016-06-27 14:06:42 -05:00
Jimmy Brisson c06dad55d9 Change uVisoun[45] to get preincludes 2016-06-27 14:06:42 -05:00
Jimmy Brisson a1b73c9b7e Fix typo after rebase 2016-06-27 14:06:41 -05:00
Jimmy Brisson d9b4109143 Update progen-style flags with the toolchains include mbed_conf.h 2016-06-27 14:06:41 -05:00
Jimmy Brisson 4f29483255 Update exporters to include the generated mbed_conf.h 2016-06-27 13:59:56 -05:00
Martin Kojtal fdb401ce4e Exporter - source_relative name fix
relative did not contain enough details what's the intention with
this flag.
2016-06-27 15:29:21 +02:00
Martin Kojtal 5800af11b3 Exporters - add source_relative flag
if we work with relative sources, the flag should be set to True, otherwise
False.

This fixes wrong paths when exporting with --source argument. The exporter would
assume sources were copied, and thus reference them all within the root of the generated
project.
2016-06-27 15:25:44 +02:00
Sam Grove 667d49ed8f Merge pull request #1985 from kjbracey-arm/iar_vlas
Turn on C99 VLAs in IAR
2016-06-24 16:13:22 -05:00
Kevin Bracey 80a03e1787 Turn on C99 VLAs in IAR
IAR defaults to C99 mode, but doesn't enable VLAs by default. Enable them
to make it more conformant.

We don't have much if any code using actual variable-length arrays, but
variably-modified types are occasionally used. The same switch controls
both.

(VLAs were actually already enabled in most of the project export
templates, but not the build script).
2016-06-23 09:34:12 +03:00
Mihail Stoyanov 89bb38f683 Fixed exporters to support features
Unified how resources are loaded into the configuration system
(Config.load_resources) and applied it to build_api and exporters
2016-06-16 18:12:04 +01:00
Mihail Stoyanov e44566b319 Fix libraries being built with features support 2016-06-16 00:31:25 +01:00
Sam Grove 7d0060aa7b Revert "Fix iar exporter - flags duplication and consolidations" 2016-06-14 23:31:57 +01:00
0xc0170 dea0b1d598 iar template - disable vla 2016-06-14 21:39:02 +01:00
Martin Kojtal 9b5adb8cd1 Merge pull request #1752 from svastm/add_nucleo_l011k4
Add NUCLEO_L011K4
2016-06-14 22:00:28 +02:00
Martin Kojtal 1f9d28346f Merge pull request #1924 from 0xc0170/fix_armcc
Fix armcc ulib template - removal
2016-06-14 20:06:26 +02:00
0xc0170 69c3da581d iar - flags consolidation
- vla flag is not compatible with c++ (not supported), it generates an error
in the IDE. Therefore we remove it
- common flags - add dlib and thum to the common flags.
- cpu flag is for only runtime cmd, IDE sets it via defined MCU, not required.
2016-06-14 16:19:39 +01:00
0xc0170 bf6b88aa62 iar template - fix output obj - generate a binary 2016-06-14 14:37:04 +01:00
Olaf Hagendorf e829d8b34d [uviosn5] some fixes for PR #1933
- one missing import
- typo: uvision instead of uvision5 used
2016-06-14 14:53:22 +02:00
0xc0170 a3e1143317 uvision - remove --cpp flag from exporters
The cpp files are by default compiled with --cpp. Including this flag, causing
C files compiled as C++ files. Thus we remove them. We could potentionally
remove it from cxx flags as well.
2016-06-14 12:33:26 +01:00
0xc0170 269697d6d4 targets - remove ulib template
armcc provides command line option for choosing a lib type, and we use this,
thus a template is not needed.
2016-06-14 00:41:45 +01:00
0xc0170 4ebdb4556c uvision template - remove injected misc flags (already defined as armcc flags) 2016-06-14 00:26:27 +01:00
Martin Kojtal bb8994b270 Merge pull request #1903 from ytsuboi/master
[HRM1017] Update exporting template
2016-06-13 23:38:01 +02:00
0xc0170 724715002a uvision - flags consolidation
Remove error for include system path in the exporters. Assembly does not use
armcc flags, fails to build, as those are not valid armasm.
2016-06-13 17:53:08 +01:00
0xc0170 dbc940b9b3 uvision exporter - use only c flags
cxx flags are not needed as uvision uses C/C++ tab (thus c_flags only)
2016-06-13 17:22:27 +01:00
0xc0170 0b2c37a17c uvision exporter - fix cxx flag - remove ld flags
This was a bug, as ld flags should not be part of cxx flags. They result as some
options not recognized.
2016-06-13 16:51:54 +01:00
0xc0170 dde970dc4a Tools/export - iar fix misc dictionary update
progen defines flags as misc, thus we need to add flags to misc.
2016-06-13 16:02:48 +01:00
Jimmy Brisson c6fc70e461 Updates exportes to use flags from toolchains
Affects the following exporters:
    - amtelstudio
    - codered
    - emblocks
    - gcc_arm
    - iar
    - simplicityv3
2016-06-13 16:02:43 +01:00
Martin Kojtal 3a0d5611dd Merge pull request #1911 from mbedmicro/config-tests
Config tests, GCC flags, requirements.txt
2016-06-13 16:52:49 +02:00
Vincenzo Frascino 4f61cfd7f6 [BEETLE] Add support for GCC ARM exporter
This patch adds support for GCC ARM exporter to the Beetle Target.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 14:26:47 +01:00
Vincenzo Frascino c1442139a0 [BEETLE] Add support for uVision 5 exporter
This patch adds support for uVision 5 exporter to the Beetle Target.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 14:26:45 +01:00
svastm c9bf3ca2fd [NUCLEO_L011K4] Add to the build and export scripts 2016-06-13 10:24:19 +02:00
Mihail Stoyanov 0034ffb716 Add tests to the config system. Add GCC flags to support uVisor 2016-06-12 19:04:41 +01:00
Yoshihiro TSUBOI 3c2229a2b1 [HRM1017] Update exporting template
changed merging softdevice from s110 to s130
2016-06-11 08:06:06 +09:00
Jimmy Brisson e333f9008f Add alias for uvision4 exporter
it is now called both uvision (old name) and uvision4 (new alias)
2016-06-10 14:22:30 -05:00
Mihail Stoyanov 75a18ff1a3 Add config system macros to exporters
Support various exporter features
2016-06-10 11:27:23 +01:00
Mihail Stoyanov 3d45b2cdbb Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00