ChibiOS/demos/STM32/RT-STM32L476-DISCOVERY-SB_H...
Giovanni Di Sirio 417d450e0b Fixed bug #1128.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13893 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-10-31 10:40:11 +00:00
..
cfg Fixed bug #1128. 2020-10-31 10:40:11 +00:00
debug SB fixes. 2020-07-28 07:33:43 +00:00
.cproject
.project
Makefile Makefile mass update, all paths changed to new ARMv7-M port. 2020-07-12 16:37:17 +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.