Commit Graph

6400 Commits (c6db458ff682d8bf056b35f490f3f6f1dba74ea0)

Author SHA1 Message Date
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
Martin Kojtal 23eadc7944 Merge pull request #1935 from ohagendorf/uvision5_correction
[uviosn5] some fixes for PR #1933
2016-06-14 14:56:21 +02: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
Martin Kojtal 264a4fa372 Merge pull request #1934 from 0xc0170/fix_uvision_libpath
armcc - fix libpath - windows spaces
2016-06-14 14:08:51 +02:00
0xc0170 58aa227a8c armcc - fix libpath - windows spaces 2016-06-14 13:03:15 +01:00
Martin Kojtal 262b2e4a46 Merge pull request #1933 from 0xc0170/fix_uvision_cpp
uvision - remove --cpp flag from exporters
2016-06-14 13:43:02 +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
Laurent Meunier 8cb46bc602 Add a serial transmission complete test
This automated test makes sure that the serial
syncrhonous API ensures a full transmission before
the function returns. The complete string sent by
printf shall be completely transferred before printf
returns and the sleep modes are called.

mbed Issue #1849
2016-06-14 12:03:22 +02:00
Christopher Haster 54118c09a6 Removed duplicate feature declarations 2016-06-13 23:23:03 -05:00
Mihail Stoyanov bd2159db26 Merge pull request #1930 from mbedmicro/iar-fix
Fixed flag for IAR
2016-06-14 05:09:10 +01:00
Sam Grove 9473d446ea Merge pull request #1929 from bridadan/remove-k64f-uvisor-target
Removing K64F_UVISOR target
2016-06-14 05:01:31 +01:00
Brian Daniels 8bbc163d3f Removing K64F_UVISOR target 2016-06-14 05:00:19 +01:00
Sam Grove e8fda07d83 Merge pull request #1928 from mbedmicro/tools_integration
Tools Updates (Tests and build logs)
2016-06-14 04:56:48 +01:00
Mihail Stoyanov 3fa9ed79a5 Fixed flag for IAR 2016-06-14 04:42:45 +01:00
Brian Daniels 78ca3e4613 Merge pull request #1925 from bridadan/tools-improvements
Tools improvements
2016-06-14 02:20:05 +01:00
Brian Daniels 1bcd64301a Lower case test names, blob matching test names, and sort test names for prints 2016-06-14 02:14:45 +01:00
Brian Daniels f622c591e8 Handling exceptions throughout test flow 2016-06-14 02:14:44 +01:00
Brian Daniels 6796025e78 Fixes for logs and test logic in tools 2016-06-14 02:14:42 +01:00
Brian Daniels 71ffe897b5 Merge pull request #1927 from mbedmicro/tools-update3
Minor update to tools - logging of tests and output
2016-06-14 02:10:30 +01:00
Mihail Stoyanov dcff9b15e7 Minor update to tools - logging of tests and output 2016-06-14 01:57:01 +01:00
Martin Kojtal e9b56018d2 Merge pull request #1848 from TomoYamanaka/master
Implement SystemcoreClock
2016-06-14 01:53:10 +02: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 ab5bd795a4 Merge pull request #1920 from 0xc0170/fix_inclusion
Fix inclusion (board.c and critical.c)
2016-06-14 01:10:06 +02:00
Martin Kojtal 9433b4be61 Merge pull request #1923 from bridadan/tools_integration_rebase
Tools integration rebase
2016-06-14 00:43:16 +02:00
Martin Kojtal 5eb3d8bb90 Merge pull request #1922 from akselsm/readme-add-efm32pg
Add missing EFM32 Pearl Gecko to README.
2016-06-14 00:36:45 +02:00
Aksel Skauge Mellbye b8502c6d84 Add missing EFM32 Pearl Gecko to README. 2016-06-13 23:33:28 +01:00
Martin Kojtal 9a06a7509b Merge pull request #1921 from akselsm/efm32-license-update
[EFM32] Update license texts.
2016-06-14 00:30:26 +02:00
Aksel Skauge Mellbye 8bdfb6c71d [EFM32] Update license texts. 2016-06-13 23:23:58 +01:00
Martin Kojtal f03943ccf6 Merge pull request #1889 from svastm/fix_rtos_uarm_l4
[STM32L4XX] Fix heap size for RTOS on uARM
2016-06-13 23:40:37 +02:00
Martin Kojtal bb8994b270 Merge pull request #1903 from ytsuboi/master
[HRM1017] Update exporting template
2016-06-13 23:38:01 +02:00
0xc0170 81a7bdc482 critical - fix __STDC_LIMIT_MACROS for armcc
UINT32_MAX is defined only if __STDC_LIMIT_MACROS is provided prior
including stdint.h
2016-06-13 22:14:13 +01:00
Martin Kojtal b28f7108f7 Merge pull request #1918 from ARM-software/master
[BEETLE] Enable RTOS on Beetle
2016-06-13 23:06:25 +02:00
0xc0170 3b2d75fcda error - include interface header file
to get mbed_error_vprinf() declaration
2016-06-13 21:54:44 +01:00
Martin Kojtal 6167f23da6 Merge pull request #1912 from 0xc0170/fix_exporters
Tools/project - project dir should be the list
2016-06-13 22:49:39 +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 160030052b armcc - fix include path for armcc bin file correction 2016-06-13 16:55:56 +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 a92bf1c3b8 Tools/project - project dir should be the list
The project dir if using just project.py shall be a list of directories.
2016-06-13 16:51:40 +01:00
Vincenzo Frascino f8d7a76128 [BEETLE] Enable RTOS on Beetle
This patch enables RTOS support on Beetle.
It contains:
* Updated Beetle Startup code for ARMCC
* Modified SysTick Driver
* RTOS specific configuration parameters
* RTOS specific test suite enablement

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 16:21:19 +01:00