ChibiOS/demos/STM32/RT-STM32L476-DISCOVERY-SB_H...
Giovanni Di Sirio c26d770f26 Modified all makefiles to include the new test library.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14564 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-20 07:18:57 +00:00
..
cfg git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14488 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-06-05 09:00:06 +00:00
debug Fixed launch configuration. 2021-04-25 15:22:32 +00:00
.cproject
.project
Makefile Modified all makefiles to include the new test library. 2021-06-20 07:18:57 +00:00
STM32L476xG_SB.ld Fixed a problem with sandbox demos, wrong memory map. 2020-01-12 16:44:57 +00:00
main.c
readme.txt

readme.txt

*****************************************************************************
** ChibiOS/RT and ChibiOS/SB demo for ARM-Cortex-M4 STM32L476.             **
*****************************************************************************

** TARGET **

The demo runs on an ST_NUCLEO_L476RG board.

** The Demo **

The demo starts two sandboxed threads which have only access to their
memory areas are are made unable to crash the whole system.

Two static sandboxes are created:
- Sandbox 1 uses MPU regions 0 for code and 1 for data.
- Sandbox 2 uses MPU regions 2 for code and 3 for data.

The sandbox is of the static kind, MPU regions are programmed and never
modified at runtime during context switch.

The main application exchanges messages with sandboxed threads using the
ChibiOS/SB API.

** Build Procedure **

The demo has been tested by using the official ARM GCC compiler available
here:

https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm

The project can be compiled using the "make all" command.

Note that the project also requires the binary images to be loaded into the
sandboxes, the projects are:
- /demos/STM32/RT-STM32L476-DISCOVERY-SB_CLIENT1
- /demos/STM32/RT-STM32L476-DISCOVERY-SB_CLIENT2

You need to load in flash the three images together.

** Notes **

Some files used by the demo are not part of ChibiOS but are copyright of
ARM and STMicroelectronics.