]> begriffs open source - cmsis/log
cmsis
7 years agoCore(M): Splitted armclang compiler header for LTM and latest.
Jonatan Antoni [Fri, 5 Oct 2018 15:38:02 +0000 (17:38 +0200)]
Core(M): Splitted armclang compiler header for LTM and latest.
The latest compiler version provides built-ins for SIMD instructions
whereas for LTM version the assembly implementations needs to be provided.

Change-Id: I441520fd5c210e9a01580fac58d9d6c07de64219

7 years agoPack: Fixed assembly Startup component for Cortec-M1.
Jonatan Antoni [Fri, 5 Oct 2018 15:36:24 +0000 (17:36 +0200)]
Pack: Fixed assembly Startup component for Cortec-M1.

Change-Id: I5cb976d9e5483e210cfb5f3de500c93aefc8092f

7 years agoIAR: Restructured NN examples
TTornblom [Mon, 8 Oct 2018 07:51:13 +0000 (09:51 +0200)]
IAR: Restructured NN examples

7 years agoCMSIS-RTOS2: added documentation split for CM0-7 support only.
Vladimir Marchenko [Fri, 5 Oct 2018 07:19:11 +0000 (09:19 +0200)]
CMSIS-RTOS2: added documentation split for CM0-7 support only.

7 years agoIAR: Ported NN examples to IAR
TTornblom [Tue, 2 Oct 2018 14:16:44 +0000 (16:16 +0200)]
IAR: Ported NN examples to IAR

7 years agoArm v8-M and SC items are put under corresponding conditions in CMSIS-Core documentation
Vladimir Marchenko [Mon, 1 Oct 2018 11:47:53 +0000 (13:47 +0200)]
Arm v8-M and SC items are put under corresponding conditions in CMSIS-Core documentation

7 years agominor correction
Reinhard Keil [Mon, 24 Sep 2018 11:59:10 +0000 (13:59 +0200)]
minor correction

7 years agoDocumentation prepared to include Cortex-M0-M7 variant only
Reinhard Keil [Mon, 24 Sep 2018 11:37:17 +0000 (13:37 +0200)]
Documentation prepared to include Cortex-M0-M7 variant only

7 years agoFixed issue #413
Beetix [Thu, 20 Sep 2018 09:23:22 +0000 (11:23 +0200)]
Fixed issue #413

- Fixed copy'n'paste error from Core to Core A

7 years agoFixed typo (allways -> always).
Florian Behrens [Fri, 14 Sep 2018 10:40:41 +0000 (12:40 +0200)]
Fixed typo (allways -> always).

7 years agoCMSIS-Core(M): Fixed incorrect EXC_RETURN_SPSEL definition in ARMv8-M includes.
Alexander Koeberl [Wed, 12 Sep 2018 06:02:38 +0000 (08:02 +0200)]
CMSIS-Core(M): Fixed incorrect EXC_RETURN_SPSEL definition in ARMv8-M includes.
SPSEL is bit[2] with resulting mask value of 4.
Bug introduced with issue #340.

7 years agoRTX5: enhanced events (Generic Wait and Thread Flags)
Robert Rostohar [Wed, 12 Sep 2018 06:53:50 +0000 (08:53 +0200)]
RTX5: enhanced events (Generic Wait and Thread Flags)

7 years agoIAR: IAR compilation problem with __RESTRICT define (7.80)
TTornblom [Tue, 4 Sep 2018 10:52:21 +0000 (12:52 +0200)]
IAR: IAR compilation problem with __RESTRICT define (7.80)

7 years agoRevert "rtos: rtx5: ARMCC5: move the variables in .bss.os section to ZI section"
Jonatan Antoni [Fri, 7 Sep 2018 07:11:08 +0000 (09:11 +0200)]
Revert "rtos: rtx5: ARMCC5: move the variables in .bss.os section to ZI section"

This reverts commit fe408eb0d64ddb2d1480d8a47f9b766bd75f5dba.

7 years agoRemoved ITM integration registers.
GuentherMartin [Thu, 6 Sep 2018 13:24:13 +0000 (15:24 +0200)]
Removed ITM integration registers.

7 years agoDeleted obsolete registers from SCB_Type structure.
GuentherMartin [Thu, 6 Sep 2018 12:50:57 +0000 (14:50 +0200)]
Deleted obsolete registers from SCB_Type structure.

7 years agortos: rtx5: ARMCC5: move the variables in .bss.os section to ZI section
Tero Jääskö [Mon, 20 Aug 2018 11:08:35 +0000 (14:08 +0300)]
rtos: rtx5: ARMCC5: move the variables in .bss.os section to ZI section

The thread stacks and other large variables in rtx_lib.c were directed
to .bss.os section, which puts them to zero initialized section in GCC,
but on ARMC5 they were put to data section which consumes precious ROM.

In reality the data section compression may make this a NOP change,
but it will at least make the total result statistics now more reliable.

Effects of this PR on the output of mbed compile of one application:
--8<--8<--
> --- memory_before_bss_change.txt 2018-06-18 16:45:51.928844313 +0300
> +++ memory_after_bss_change.txt 2018-06-18 16:57:27.753532437 +0300
> @@ -5,6 +5,9 @@
>  +----------------------------------------------------------+--------+-------+-------+
>  | Module                                                   |  .text | .data |  .bss |
>  +----------------------------------------------------------+--------+-------+-------+
> @@ -366,7 +369,7 @@
>  | mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_kernel.o  |    801 |   164 |     0 |
> -| mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_lib.o     |    406 |  2117 |     0 |
> +| mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_lib.o     |    406 |     1 |  2116 |
>  | mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_memory.o  |    260 |     0 |     0 |
> @@ -412,9 +415,9 @@
> -| Subtotals                                                | 163559 |  3380 | 15168 |
> +| Subtotals                                                | 163559 |  1264 | 17284 |
>  +----------------------------------------------------------+--------+-------+-------+
>  Total Static RAM memory (data + bss): 18548 bytes
> -Total Flash memory (text + data): 166939 bytes
> +Total Flash memory (text + data): 164823 bytes

7 years agoCore(M): Fixed MPUPv7 macro ARM_MPU_RASR_EX.
Jonatan Antoni [Thu, 6 Sep 2018 08:44:52 +0000 (10:44 +0200)]
Core(M): Fixed MPUPv7 macro ARM_MPU_RASR_EX.
Added missing SubregionDisable, Size and Enable bits.

Change-Id: I770ef38b2aa30085fc2bb4238571f0991f2e6ac3

7 years agoRTX5: enhanced KernelInfoRetrieved event
Robert Rostohar [Wed, 5 Sep 2018 05:53:50 +0000 (07:53 +0200)]
RTX5: enhanced KernelInfoRetrieved event

7 years agoRTX5: corrections in documentation for generated events
Robert Rostohar [Tue, 4 Sep 2018 12:58:15 +0000 (14:58 +0200)]
RTX5: corrections in documentation for generated events

7 years agocorrected CMSIS versions
GuentherMartin [Tue, 4 Sep 2018 11:30:53 +0000 (13:30 +0200)]
corrected CMSIS versions

7 years agoRTX5: minor typo correction in documentation
Robert Rostohar [Tue, 4 Sep 2018 11:20:50 +0000 (13:20 +0200)]
RTX5: minor typo correction in documentation

7 years agoAdded Cortex-M35P to documentation.
GuentherMartin [Tue, 4 Sep 2018 09:20:34 +0000 (11:20 +0200)]
Added Cortex-M35P to documentation.

7 years agoRTX5: Updated RTX generated events (reorganized components) and Event Recorder config...
Robert Rostohar [Tue, 4 Sep 2018 08:27:04 +0000 (10:27 +0200)]
RTX5: Updated RTX generated events (reorganized components) and Event Recorder configuration

7 years agoAdded Cortex-M35P device Support.
GuentherMartin [Tue, 4 Sep 2018 08:03:24 +0000 (10:03 +0200)]
Added Cortex-M35P device Support.

7 years agoChanged 'Serial Viewer Output' to 'Serial Wire Output'
Florian Behrens [Thu, 23 Aug 2018 12:11:12 +0000 (14:11 +0200)]
Changed 'Serial Viewer Output' to 'Serial Wire Output'

Didn't find any reference to 'Serial Viewer Output' on any ARM page. Therefore I assume that the correct expression is 'Serial Wire Output'.

7 years agoCorrected documentation for REVSH -> int16_t __REVSH(int16_t value);
Reinhard Keil [Wed, 22 Aug 2018 13:25:30 +0000 (15:25 +0200)]
Corrected documentation for REVSH -> int16_t __REVSH(int16_t value);

7 years agoVersion bump on develop after release.
Jonatan Antoni [Wed, 1 Aug 2018 15:34:38 +0000 (17:34 +0200)]
Version bump on develop after release.

Change-Id: I807e1c2475ae5e64b337988475e69bf723c01746

7 years agoFixup's during release merge.
Jonatan Antoni [Wed, 1 Aug 2018 15:33:45 +0000 (17:33 +0200)]
Fixup's during release merge.

Change-Id: I8e71c2cebd80cadb3aa99ab55b4686da8cb8e0e6

7 years agotypo fixed
Reinhard Keil [Tue, 31 Jul 2018 09:01:20 +0000 (11:01 +0200)]
typo fixed

7 years agoCMSIS-Core(M) documentation: __NO_EMBEDDED_ASM clarified
Reinhard Keil [Tue, 31 Jul 2018 08:53:09 +0000 (10:53 +0200)]
CMSIS-Core(M) documentation: __NO_EMBEDDED_ASM clarified

7 years agoCore(M): Fixed ARM_MPU_RBAR macro for Armv8 MPU.
Jonatan Antoni [Tue, 31 Jul 2018 07:24:23 +0000 (09:24 +0200)]
Core(M): Fixed ARM_MPU_RBAR macro for Armv8 MPU.

Change-Id: I438348274375daf5a1581dd6e596ffac0e805085

7 years agoUpdated version histories in preparation for release 5.4.0.
Jonatan Antoni [Wed, 25 Jul 2018 08:50:56 +0000 (10:50 +0200)]
Updated version histories in preparation for release 5.4.0.

Change-Id: I4b47d7e0e267d727687ebd8acba5274ec492b2df

7 years agoAdded osDelay to the list of functions that can be used with osWaitForever
Christopher Seidl [Wed, 25 Jul 2018 08:39:46 +0000 (10:39 +0200)]
Added osDelay to the list of functions that can be used with osWaitForever

7 years agoDoxygen: Added cross-reference from RTX5 hardware requirements to CMSIS-Core(A) IRQ...
Jonatan Antoni [Tue, 24 Jul 2018 13:09:52 +0000 (15:09 +0200)]
Doxygen: Added cross-reference from RTX5 hardware requirements to CMSIS-Core(A) IRQ Controller API.

Change-Id: Idfd75a33b2c60bfaa6d91877fdd44b7a092f7f35

7 years agoCoreValidation: Added test cases for unaligned half-word and word access macro functions.
Jonatan Antoni [Tue, 24 Jul 2018 13:03:29 +0000 (15:03 +0200)]
CoreValidation: Added test cases for unaligned half-word and word access macro functions.

Change-Id: I48d79209cf8a905812ed5a20dd0ac1aa438c5125

7 years agoCore(M): Enhanced MPUv7 API with value definitions for memory access attribution.
Jonatan Antoni [Mon, 23 Jul 2018 15:37:44 +0000 (17:37 +0200)]
Core(M): Enhanced MPUv7 API with value definitions for memory access attribution.

Change-Id: I441f209599a1ecc6636fdff9d6b5a232f0b3b4c2

7 years agoAdded Auxiliary Control Register to core_cm1.h.
GuentherMartin [Mon, 23 Jul 2018 11:52:20 +0000 (13:52 +0200)]
Added Auxiliary Control Register to core_cm1.h.

7 years agocorrected comments.
GuentherMartin [Mon, 23 Jul 2018 11:29:37 +0000 (13:29 +0200)]
corrected comments.

7 years agoDoxygen: Removed todo's from CAN Driver documentation.
Jonatan Antoni [Mon, 23 Jul 2018 10:25:11 +0000 (12:25 +0200)]
Doxygen: Removed todo's from CAN Driver documentation.
It seems those have been reflected in the meanwhile.

Change-Id: I3f6a701916249c3fb5189bf170785c906cc10652

7 years agoAdded beta ARMCM1 support.
GuentherMartin [Mon, 23 Jul 2018 06:36:37 +0000 (08:36 +0200)]
Added beta ARMCM1 support.

7 years agoCoreValidation: Fixed AC6 compiler flags for Cortex-M23/M33 tests.
Jonatan Antoni [Thu, 19 Jul 2018 13:01:55 +0000 (15:01 +0200)]
CoreValidation: Fixed AC6 compiler flags for Cortex-M23/M33 tests.
- The bootloader image must set the correct entry point.
- The test image must not overwrite the bootloader reset section.

Change-Id: Id4f71a5b10c9a377dfd2c41096e6abd8efe5db96

7 years agoCoreValidation: Fixed compiler flags for Cortex-M33 GCC tests.
Jonatan Antoni [Thu, 19 Jul 2018 13:01:55 +0000 (15:01 +0200)]
CoreValidation: Fixed compiler flags for Cortex-M33 GCC tests.

Change-Id: Id4f71a5b10c9a377dfd2c41096e6abd8efe5db96

7 years agoUpdated GCC non-secure examples.
GuentherMartin [Thu, 19 Jul 2018 08:54:43 +0000 (10:54 +0200)]
Updated GCC non-secure examples.

7 years agoUpdated C-Startup files.
GuentherMartin [Wed, 18 Jul 2018 07:50:07 +0000 (09:50 +0200)]
Updated C-Startup files.

7 years agoUpdated GCC linker description files.
GuentherMartin [Wed, 18 Jul 2018 06:35:44 +0000 (08:35 +0200)]
Updated GCC linker description files.

7 years agoUpdated CoreValidation examples.
GuentherMartin [Wed, 18 Jul 2018 06:03:10 +0000 (08:03 +0200)]
Updated CoreValidation examples.

7 years agoUpdated DSP examples.
GuentherMartin [Tue, 17 Jul 2018 12:25:43 +0000 (14:25 +0200)]
Updated DSP examples.

7 years agoUpdated RTOS2 examples.
GuentherMartin [Tue, 17 Jul 2018 11:49:33 +0000 (13:49 +0200)]
Updated RTOS2 examples.

7 years agoGeneric ARM Device
GuentherMartin [Tue, 17 Jul 2018 09:53:21 +0000 (11:53 +0200)]
Generic ARM Device

7 years agoMerge branch 'develop' of https://github.com/ARM-software/CMSIS_5 into develop
Daniel Brondani [Tue, 17 Jul 2018 09:34:46 +0000 (11:34 +0200)]
Merge branch 'develop' of https://github.com/ARM-software/CMSIS_5 into develop

7 years agoUtilities: Updated SVDConf V3.3.21 and PackChk V1.3.69 for Win32 and Linux
Daniel Brondani [Tue, 17 Jul 2018 09:34:26 +0000 (11:34 +0200)]
Utilities: Updated SVDConf V3.3.21 and PackChk V1.3.69 for Win32 and Linux

7 years agoUpdate pack description
Liangzhen Lai [Tue, 17 Jul 2018 00:08:01 +0000 (17:08 -0700)]
Update pack description

7 years agoDoxyGen: Rework RTX migration guide kernel startup procedure. (Issue #390)
Jonatan Antoni [Fri, 13 Jul 2018 08:19:21 +0000 (10:19 +0200)]
DoxyGen: Rework RTX migration guide kernel startup procedure. (Issue #390)

Change-Id: I8c8947ed844236c40c6a0249460c1b756084b05c

7 years agoDoxyGen: Fixed typo in RTX5 specific size calculation macros.
Jonatan Antoni [Fri, 13 Jul 2018 08:17:43 +0000 (10:17 +0200)]
DoxyGen: Fixed typo in RTX5 specific size calculation macros.

Change-Id: I71e91142257a5625b367725ef52e13e721ff76e5

7 years agoCore(M): Fixed typos for Armv8-M
Jonatan Antoni [Fri, 6 Jul 2018 08:04:45 +0000 (10:04 +0200)]
Core(M): Fixed typos for Armv8-M
 - RBAR field is called BASE not ADDR

Change-Id: I8b9343d50b22b1adcf2f683802e3c0f87225d716

7 years agoPack: Restructured PDSC to keep original repository structure.
Jonatan Antoni [Fri, 29 Jun 2018 13:22:59 +0000 (15:22 +0200)]
Pack: Restructured PDSC to keep original repository structure.
 - CMSIS/Core/Include instead of CMSIS/Include
 - CMSIS/DSP instead of CMSIS/DSP_Lib
The former folders are kept as duplicates within the pack to assure
backward compatibility for users relying on the folder structure.

Change-Id: I4a3ec9e2d40b668a0090d093745653ffd93ff501

7 years agoCore(M): Fixed typos. (Issues #340)
Jonatan Antoni [Fri, 22 Jun 2018 07:24:57 +0000 (09:24 +0200)]
Core(M): Fixed typos. (Issues #340)
- EXC_INTEGRITY_SIGNATURE define that was added in 711825c.
- Changed comment from Offse:t to Offset: added in f4991b1.

Change-Id: I6a6f6e02c2e4371281d97cedd4cb2d5a5ea09394

7 years agoCoreValidation: Fixed Cortex-A targets.
Jonatan Antoni [Thu, 21 Jun 2018 13:23:18 +0000 (15:23 +0200)]
CoreValidation: Fixed Cortex-A targets.

Change-Id: Idc3f970710c2c7ec6c26460327e8b9d24129289e

7 years agomake access to CP register volatile so it doesn't get optimised out
Wilfried Chauveau [Thu, 7 Jun 2018 15:28:12 +0000 (16:28 +0100)]
make access to CP register volatile so it doesn't get optimised out

7 years agoUpdated CMSIS core functions.
GuentherMartin [Tue, 19 Jun 2018 11:13:20 +0000 (13:13 +0200)]
Updated CMSIS core functions.

7 years agoCorrected Cortex-M23 IAR core validation test.
GuentherMartin [Tue, 19 Jun 2018 11:11:57 +0000 (13:11 +0200)]
Corrected Cortex-M23 IAR core validation test.

7 years agoAdded SIMD tests for Cortex-M devices.
GuentherMartin [Tue, 19 Jun 2018 07:16:20 +0000 (09:16 +0200)]
Added SIMD tests for Cortex-M devices.
Reworked core function tests for Cortex-M devices.
Reworked core instruction tests for Cortex-M devices.

7 years agoRTX5: enhanced events EvrRtxSemaphoreAcquired/EvrRtxSemaphoreReleased (added availabl...
Robert Rostohar [Tue, 19 Jun 2018 06:47:35 +0000 (08:47 +0200)]
RTX5: enhanced events EvrRtxSemaphoreAcquired/EvrRtxSemaphoreReleased (added available tokens)

7 years agoRTX5: enhanced event EvrRtxThreadCreated (added name)
Robert Rostohar [Tue, 19 Jun 2018 06:41:08 +0000 (08:41 +0200)]
RTX5: enhanced event EvrRtxThreadCreated (added name)

7 years agoRTOS2: Updated API V2.1.3
Robert Rostohar [Mon, 18 Jun 2018 11:43:04 +0000 (13:43 +0200)]
RTOS2: Updated API V2.1.3
- Additional functions allowed to be called from Interrupt Service Routines: osThreadGetId

7 years agoRTX5 (Documentation): Hardware requirements for Cortex-A systems added
Vladimir Umek [Thu, 14 Jun 2018 10:13:55 +0000 (12:13 +0200)]
RTX5 (Documentation): Hardware requirements for Cortex-A systems added

7 years agoUpdated TPI_Type definitions according TRMs and Architecture reference manuals.
GuentherMartin [Mon, 4 Jun 2018 11:01:57 +0000 (13:01 +0200)]
Updated TPI_Type definitions according TRMs and Architecture reference manuals.

7 years agoCMSIS-Core(M) added Integrity Signature + FNC_RETURN (completes request under issue...
Reinhard Keil [Wed, 30 May 2018 12:47:01 +0000 (14:47 +0200)]
CMSIS-Core(M) added Integrity Signature + FNC_RETURN (completes request under issue #340)

7 years agoDefinition of TPI_Type now matches the "Arm Cortex-M33 Processor Technical Reference...
GuentherMartin [Wed, 30 May 2018 12:06:18 +0000 (14:06 +0200)]
Definition of TPI_Type now matches the "Arm Cortex-M33 Processor  Technical Reference Manual r0p4".
This solves issue #243

7 years agoCMSIS-Core(M): Added defines for EXC_RETURN values (Issue #340)
Reinhard Keil [Mon, 28 May 2018 15:10:31 +0000 (17:10 +0200)]
CMSIS-Core(M): Added defines for EXC_RETURN values (Issue #340)

7 years agoFixed broken document links (SDCMSIS-781)
Reinhard Keil [Mon, 28 May 2018 13:49:34 +0000 (15:49 +0200)]
Fixed broken document links (SDCMSIS-781)

7 years agoUpdated CMSIS pack version and RTX5 release notes
Vladimir Umek [Fri, 25 May 2018 05:17:23 +0000 (07:17 +0200)]
Updated CMSIS pack version and RTX5 release notes

7 years agoRTX5: updated release notes
Robert Rostohar [Mon, 21 May 2018 12:39:16 +0000 (14:39 +0200)]
RTX5: updated release notes

7 years agoCMSIS RTOS2: updated osDelayUntil longest delay limited (2^31-1)
Robert Rostohar [Mon, 21 May 2018 11:25:12 +0000 (13:25 +0200)]
CMSIS RTOS2: updated osDelayUntil longest delay limited (2^31-1)

7 years agoRevert "Return values updated."
Jonatan Antoni [Fri, 18 May 2018 12:54:01 +0000 (14:54 +0200)]
Revert "Return values updated."

Change-Id: I8b4acd5430f959841ed000cb47e88c30e75a0ca2

7 years agoRTX5: minor change in events (name consistency)
Robert Rostohar [Fri, 18 May 2018 06:50:46 +0000 (08:50 +0200)]
RTX5: minor change in events (name consistency)

7 years agoFixed broken links.
Christopher Seidl [Thu, 17 May 2018 13:26:38 +0000 (15:26 +0200)]
Fixed broken links.

7 years agoAdapted documentation to the new RTX_Config.h file. New screenshots added.
Christopher Seidl [Thu, 17 May 2018 07:09:37 +0000 (09:09 +0200)]
Adapted documentation to the new RTX_Config.h file. New screenshots added.

7 years agoDoxygen: Fixed references from mq_size to mq_mem in osMessageQueueAttr_t description.
Jonatan Antoni [Wed, 16 May 2018 11:37:54 +0000 (13:37 +0200)]
Doxygen: Fixed references from mq_size to mq_mem in osMessageQueueAttr_t description.

Change-Id: Ic40ea063babd95156faad8d5f232d1e577b52839

7 years agoDoxygen: Aligned revision history tables for all components.
Jonatan Antoni [Wed, 16 May 2018 10:18:09 +0000 (12:18 +0200)]
Doxygen: Aligned revision history tables for all components.

Change-Id: Ibefd727e2f919efa04db925e89292d1129b0d6ef

7 years agoCoreValidation: Fixed stack configuration during TC_CoreFunc_Control.
Jonatan Antoni [Tue, 15 May 2018 07:42:12 +0000 (09:42 +0200)]
CoreValidation: Fixed stack configuration during TC_CoreFunc_Control.
The test case implementation switches temporarily from MSP to PSP. Without
setting the PSP correctly any stack usage while SPSEL is set to 1 (PSP)
can corrupt the system.

Change-Id: Iac6ac444fed65b71c30a6bf2054ac389518bf48a

7 years agoCoreValidation: Enhanced result creation to modify actual result if the test report...
Jonatan Antoni [Mon, 14 May 2018 14:47:00 +0000 (16:47 +0200)]
CoreValidation: Enhanced result creation to modify actual result if the test report is invalid/incomplete.

Change-Id: I3a6eda03cff9e6de3a92cb04b56575429867468c

7 years agoCoreValidation: Added HardFault_Handler to instantly exit the test run.
Jonatan Antoni [Mon, 14 May 2018 14:05:08 +0000 (16:05 +0200)]
CoreValidation: Added HardFault_Handler to instantly exit the test run.
This prevents the model from continue running until the max cycle count is reached.

Change-Id: Ie2c2e7943d6612db42e0bf64e3bc48a434ae827e

7 years agoRemove `register` keyword from public headers
Freddie Chopin [Fri, 11 May 2018 20:39:05 +0000 (22:39 +0200)]
Remove `register` keyword from public headers

In C++17 `register` keyword was removed. Current gcc 8.1.0 produces
following warning if `-std=c++17` flag is used:

warning: ISO C++17 does not allow 'register' storage class specifier
[-Wregister]

GCC almost completely ignores `register` keyword, with rare exception of
`-O0` when additional copy from/to stack may be generated.

For simplicity of the codebase it is better to just remove this
problematic keyword where it is not strictly required.

See: http://en.cppreference.com/w/cpp/language/storage_duration

Closes issue #345

7 years agoRTX5: added support for Event Recorder initialization and filter setup (RTOS can...
Robert Rostohar [Fri, 11 May 2018 10:27:07 +0000 (12:27 +0200)]
RTX5: added support for Event Recorder initialization and filter setup (RTOS can also be used as Event Recorder Time Stamp)

7 years agoCoreValidation: Fixed/enhanced test cases.
Jonatan Antoni [Tue, 8 May 2018 11:14:10 +0000 (13:14 +0200)]
CoreValidation: Fixed/enhanced test cases.
- TC_CoreFunc_IRQVect needs to place ram vector table 512-byte aligned due to a limitation on Cortex-M23 FVP.
- TC_CoreFunc_FPUType preprocessor switch __FPU_PRESENT was not evaluated properly.
- TC_CoreFunc_FPSCR now ensures RAZ/WI behaviour if FPU not used/available.

Change-Id: Ic37c84c3c09c37742af8042b9b2383aacda86636

7 years agoCore(M): Added compatibility implementations for FPSCR access for Armv6-M and Armv8...
Jonatan Antoni [Tue, 8 May 2018 11:11:27 +0000 (13:11 +0200)]
Core(M): Added compatibility implementations for FPSCR access for Armv6-M and Armv8-MBL.
Accesses to FPSCR are RAZ/WI on architectures/implementations without FPU. This allow portable implementations.

Change-Id: Ic7a96c9252319a3bf7980a008f50679a5177203c

7 years agoCoreValidation: Fixed compilation error for GCC.
Jonatan Antoni [Tue, 8 May 2018 08:35:49 +0000 (10:35 +0200)]
CoreValidation: Fixed compilation error for GCC.
Using ~v within the ASSERT_TRUE macro leads to an "comparison of promoted ~unsigned with unsigned" warning.
On Cortex-M this finally fails with an error.

Change-Id: I73bf7cb866d9fe80b59714a7cbfe589fef0e45c9

7 years agoCoreValidation: Fixed/enhanced core and intrinsic function tests.
Jonatan Antoni [Mon, 7 May 2018 15:32:14 +0000 (17:32 +0200)]
CoreValidation: Fixed/enhanced core and intrinsic function tests.
- Added: NVIC IRQ priority configuration.
- Added: NVIC IRQ priority encode/decode.
- Added: NVIC IRQ vector relocation.
- Fixed: MSP access functions.
- Added: FPU type query function.
- Added: Exclusive sequence intrinsic functions, i.e. LDREX*, STREX*, CLREX.

Change-Id: I0afb83aa6e21ec16dd38f06689070a5a35eecdb1

7 years agoCore(M): Added compatibility functions for priority grouping on Armv6-M and Armv8...
Jonatan Antoni [Mon, 7 May 2018 15:25:44 +0000 (17:25 +0200)]
Core(M): Added compatibility functions for priority grouping on Armv6-M and Armv8-MBL.
Both architectures do not have a (configurable) priority grouping, aka non-preemptive subpriorities.
For portability across architectures compatibility functions have been added.

Change-Id: I6201c101add7e0dcd641952ad2959fd3dcb21058

7 years agoCore(A): Fixed GIC_SetPendingIRQ to raise interrupt only once.
Jonatan Antoni [Mon, 7 May 2018 15:08:58 +0000 (17:08 +0200)]
Core(A): Fixed GIC_SetPendingIRQ to raise interrupt only once.
The former implementation led to the interrupt being raised twice.

Change-Id: Ib0535679b5614482589e563a5b7b54e6a208f131

7 years agoCore(M): Added backward compatible definitions for setting NMI pending in SCB ICSR...
Jonatan Antoni [Mon, 7 May 2018 12:13:46 +0000 (14:13 +0200)]
Core(M): Added backward compatible definitions for setting NMI pending in SCB ICSR register. (Issue #334)

Change-Id: Ifc09fd3f6945707b3fa60efb0adebb4ed2c649c1

7 years ago'attr' documentation improved (with defaults)
Reinhard Keil [Wed, 25 Apr 2018 15:37:51 +0000 (17:37 +0200)]
'attr' documentation improved (with defaults)

7 years agocorrected 'null-terminated string' comment
Reinhard Keil [Wed, 25 Apr 2018 12:30:39 +0000 (14:30 +0200)]
corrected 'null-terminated string' comment

7 years agoReturn values updated.
Thorsten Gerdsmeier [Tue, 24 Apr 2018 07:20:42 +0000 (09:20 +0200)]
Return values updated.

7 years agoReturn values updated.
Thorsten Gerdsmeier [Tue, 24 Apr 2018 07:17:06 +0000 (09:17 +0200)]
Return values updated.

7 years agoReturn values updated.
Thorsten Gerdsmeier [Tue, 24 Apr 2018 07:16:55 +0000 (09:16 +0200)]
Return values updated.

7 years agoReturn values updated.
Thorsten Gerdsmeier [Tue, 24 Apr 2018 07:16:44 +0000 (09:16 +0200)]
Return values updated.

7 years agoReturn values updated.
Thorsten Gerdsmeier [Tue, 24 Apr 2018 07:16:34 +0000 (09:16 +0200)]
Return values updated.