mbed-os/cmsis
Martin Kojtal 180eb75f09 cmsis: patch fpu in asm for armcc5
For FPU, use armasm to select fpu selection. This will be fixed upstream in the next version of CMSIS. Meanwhile, we use our local patch.

Taken from --cpu selection for armasm:

--cpu           | {FPU}
Cortex-M4.fp.sp | VFPv4_SP_D16
Cortex-M7.fp.sp | FPv5-SP
Cortex-M7.fp.dp | FPv5_D16

Tracking issue: https://github.com/ARM-software/CMSIS_5/issues/1266
2021-07-29 14:31:39 +01:00
..
CMSIS_5 cmsis: patch fpu in asm for armcc5 2021-07-29 14:31:39 +01:00
device Merge pull request #14821 from boraozgen/rtos-events-enable 2021-07-20 09:47:59 +02:00
CMakeLists.txt CMake: Componentize Mbed OS into multiple CMake targets (#13732) 2020-11-06 17:25:21 +00:00
README.md CMSIS: Restructure ported CMSIS_5 2020-09-01 15:55:13 +01:00

README.md

CMSIS Version 5

This directory contains a ported version of the upstream repository for CMSIS_5 as well as Mbed specific RTX configuration and RTOS boot source files.

The upstream source code is imported using the Python script located at tools/importer/importer.py when passed the tools/importer/cmsis_importer.json configuration file. For more information on the importer script please read tools/importer/README.md.

The directory is organised as follows:

+--cmsis
|   +-- README.md                           # The present mardown file
|   +-- device/
|       +-- mbed_cmsis_conf.h               # Process stack configuration
|       +-- RTE/
|           +-- include/
|               +-- RTE_Components.h        # Run-Time-Environment Component Configuration File
|       +-- rtos/
|           +-- mbed_lib.json               # Mbed library configuration file
|           +-- include/
|               +-- mbed_boot.h             # Declares the functions that run before main()
|               +-- mbed_rtx_conf.h         # Changes to RTX configuration
|               +-- mbed_rtx_storage.h      # Declares the primitives storage types for RTX
|           +-- source/
|               +-- mbed_boot.c             # Implements some of the functions that run before main()
|               +-- mbed_rtos_rtx.c         # Implements some of the functions that run before main()
|               +-- mbed_rtx_handlers.c     # Implements RTX handlers
|               +-- mbed_rtx_idle.cpp       # Implements RTX idle loop
|           +-- TOOLCHAIN_ARM_MICRO/
|               +-- mbed_boot_arm_micro.c   # Mbed entry point for the uARM toolchain
|           +-- TOOLCHAIN_ARM_STD/
|               +-- mbed_boot_arm_std.c     # Mbed entry point for the ARM toolchain
|           +-- TOOLCHAIN_GCC_ARM/
|               +-- mbed_boot_gcc_arm.c     # Mbed entry point for the GCC_ARM toolchain
|           +-- TOOLCHAIN_IAR/
|               +-- mbed_boot_iar.c         # Mbed entry point for the IAR toolchain
|   +-- CMSIS_5/                            # Imported from the upstream repository as described in the importer script configuration file (cmsis_importer.json)

Two Mbed libraries live within this directory:

  • rtos from device/rtos
  • cmsis-cmsis5-rtos2 from CMSIS_5/CMSIS/RTOS2