Commit Graph

6235 Commits (ac1a63f1a142c573f225f5cc01776a33fdf0406e)

Author SHA1 Message Date
Sam Grove ac1a63f1a1 Merge pull request #1956 from screamerbg/fix-features3
Fixed features not being included
2016-06-15 23:13:26 +01:00
Sam Grove 934951a002 Merge pull request #1955 from theotherjimmy/name-libs
Add -N/--artifact-name argument to parser to name libraries
2016-06-15 22:30:19 +01:00
Sam Grove 605cb86ba7 Merge pull request #1954 from 0xc0170/fix_project_report
Export - project name fix (.zip)
2016-06-15 22:29:03 +01:00
Sam Grove 44e706e5b2 Merge pull request #1948 from 0xc0170/fix_iar
iar - fix flags for cmd and exporters
2016-06-15 22:27:03 +01:00
Mihail Stoyanov a81746c8f6 Fix for features not being included
Also improve compile speed by not re-scanning the source locations
2016-06-15 22:21:31 +01:00
Jimmy Brisson 6de4ea7e6f Adds -N/--artifact-name argument to parser
Only makes sence for --source builds (which only work with --build)
2016-06-15 15:07:25 -05:00
0xc0170 c16c75f2af iar - fix flags for cmd and exporters
Exporters and cmd do not share all flags, some asm and c flags are not the same (cpu, fpu)
2016-06-15 21:04:48 +01:00
Sam Grove 135a4ee555 Merge pull request #1946 from mbedmicro/add_k64f_features
Added feature list for K64F
2016-06-15 19:22:42 +01:00
Martin Kojtal 7c08e36ec7 tools/project - export report fix name
Previously it was .zip always, even when using sources. This patch fixes it:`

```
Successful exports:
  * K64F::uvision       path\projectfiles\uvision\Unnamed_Project_K64F
```
2016-06-15 18:54:17 +01:00
Bogdan Marinescu 74270b2a94 Added feature list for K64F
IPv4 driver exists on the build tree, so enabling it.

Signed-off-by: Seppo Takalo <seppo.takalo@arm.com>
2016-06-15 20:53:08 +03:00
Sam Grove 7e0e6854b9 Merge pull request #1940 from geky/fix-features
[build tools] Added better support for features and recursive configs
2016-06-15 18:46:38 +01:00
Christopher Haster 0d9d4639cd [build tools] Added proper namespace for features
per @bogdanm
2016-06-15 10:34:32 -05:00
Mihail Stoyanov 99ed4e03f1 Restore original compile sources routine 2016-06-15 17:18:40 +01:00
Sam Grove fd983d1c6c Merge pull request #1937 from bridadan/fix-tests-softdevices
Fixing test builds for devices with softdevices.
2016-06-15 15:25:51 +01:00
Brian Daniels 5a46ac773b Fixing test builds for devices with softdevices.
Previously, .hex files were not copied when building source as a library.
This prevents builds that pre compile source as a library and then
includes the build directory as the only source (because there is no
softdevice present). This PR copies hex files when compiling source
as a library.
2016-06-15 15:21:16 +01:00
Sam Grove b4f3e12700 Merge pull request #1949 from mbedmicro/sg--patch-1
Update main.cpp
2016-06-15 15:13:55 +01:00
Sam Grove a499856b4f Update main.cpp
Make sure printf gets '\n'
2016-06-15 15:00:24 +01:00
Christopher Haster 41daccf8d9 [build tools] Fixed masked out configuration error 2016-06-15 08:38:20 -05:00
Christopher Haster f45dc15aa8 [build tools] Added test for configurations set from same level as feature 2016-06-15 08:38:20 -05:00
Christopher Haster e70efe3a41 [build tools] Made config settings compatible with features system
per @screamerbg
2016-06-15 08:38:20 -05:00
Christopher Haster 6da324fa3f [build tools] Added test coverage for config features feature 2016-06-15 08:38:20 -05:00
Christopher Haster d9749b0447 [build tools] Added list of supported features
per @screamerbg
2016-06-15 08:38:20 -05:00
Christopher Haster ce0606a756 [build tools] Added better support for features and recursive configs
per @screamerbg
2016-06-15 08:38:20 -05:00
Sam Grove 2a4a02caa7 Merge pull request #1944 from mbedmicro/ctrl-c-traceback
Fixes the python traceback when the user does ctrl+c during compilation
2016-06-15 12:29:21 +01:00
Martin Kojtal 1bdd45c42e Merge pull request #1943 from mbedmicro/fix-iar-vla
Removed IAR --vla flag which breaks compatibility with IAR Workbench
2016-06-15 10:19:16 +02:00
Mihail Stoyanov edc1fa1865 Fixes the python traceback when the user does ctrl+c during compilation 2016-06-15 01:08:35 +01:00
Mihail Stoyanov d0db5c94e5 Removed IAR --vla flag which breaks compatibility with IAR Workbench 2016-06-15 00:06:43 +01:00
Sam Grove 5698424d09 Merge pull request #1942 from mbedmicro/revert-1938-fix_iar
Revert "Fix iar exporter - flags duplication and consolidations"
2016-06-14 23:45:05 +01:00
Sam Grove 7d0060aa7b Revert "Fix iar exporter - flags duplication and consolidations" 2016-06-14 23:31:57 +01:00
Sam Grove e6f31879bf Merge pull request #1941 from 0xc0170/fix_iar_extension
Update progen to v0.9.x
2016-06-14 23:15:45 +01:00
0xc0170 ee924a835e update progen req to v0.9.x 2016-06-14 21:39:54 +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 ba69e82fc7 Merge pull request #1850 from LMESTM/dev_new_serial_complete_test
Add a serial transmission complete test
2016-06-14 21:54:48 +02:00
Martin Kojtal 53d7115b49 Merge pull request #1895 from bcostm/fix_l0_force_serial_reset
[STM32L0] Add USART force/release Reset at Init phase
2016-06-14 21:53:45 +02:00
Martin Kojtal 4dcefa604a Merge pull request #1913 from BartSX/816f0xx
[STM32F0xx] Fix for #816 issue
2016-06-14 21:53:26 +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
Martin Kojtal cfa4d0c855 Merge pull request #1938 from 0xc0170/fix_iar
Fix iar exporter - flags duplication and consolidations
2016-06-14 18:45:16 +02:00
Sam Grove bbb50704af Merge pull request #1936 from meriac/master
Enabled uVisor secure mode for K64F
2016-06-14 17:28:58 +01: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
Mihail Stoyanov ffa45c9935 Merge pull request #1932 from geky/fix-dup-feature-defines
Removed duplicate feature declarations
2016-06-14 15:59:47 +01:00
Milosch Meriac fd6944f6e1 Re-import uVisor library 2016-06-14 14:10:00 +00:00
Jaeden Amero af572350f0 Don't call __disable_irq for uVisor
This is a hack to get debug builds applications that use uVisor to work.
The assertions in core_util_critical_section fail because interrupts can't
actually be disabled from unprivileged mode.

Without this hack, core_util_critical_section_enter() calls
mbed_assert_internal() when the assertion fails, which calls
core_util_critical_section_enter() again, which calls
mbed_assert_internal() again; this is infinite recursion.

core_util_critical_section_enter needs some fixing.
2016-06-14 14:09:56 +00:00
Niklas Hauser 516c7cdb80 Rename NVIC_Set/GetVector for K64F
This allows FEATURE_UVISOR to virtualize the NVIC calls.
2016-06-14 14:06:45 +00:00
Niklas Hauser e4c217e21d Backport virtual NVIC mechanism from CMSIS 5 2016-06-14 14:06:45 +00:00
Niklas Hauser 23904e74be Access MCG and SIM through secure access 2016-06-14 14:06:45 +00:00
Niklas Hauser 37238fb9be Add secure access header to CMSIS 2016-06-14 14:06:44 +00:00
Alessandro Angelino 8db93cf0d9 K64F: Explicitly set the start of .uvisor.bss 2016-06-14 14:06:44 +00:00
Alessandro Angelino abd24ae4f1 K64F: Explicitly set the start of .text
If you don't specify the start address of a section explicitly, that
section can end up at different addresses depending on its alignment. If
the alignment of a section is not explicitly set, it inherits it from
the element with the highest alignment inside that section.

Since the uVisor code is in the .text section, and it *must* end up at a
known location, we set the start address of .text to 0x410, which is the
value that the uVisor binary expects.
2016-06-14 14:06:44 +00:00
0xc0170 bf6b88aa62 iar template - fix output obj - generate a binary 2016-06-14 14:37:04 +01:00