Using embOS with Renesas RA family, Flexible Software Package (FSP) and IAR

From SEGGER Wiki
Revision as of 16:43, 20 July 2021 by Til (talk | contribs)
Jump to: navigation, search

The Renesas Flexible Software Package (FSP) is an enhanced software package designed to provide easy-to-use, scalable, high-quality software for embedded system designs using Renesas RA family of Arm Microcontrollers.

embOS board support packages (BSPs) for Renesas RA devices and evalboards are based on and designed to use the Renesas FSP. You can use the Renesas RA Smart Configurator to generate a separate project and to replace the FSP files in the BSP. If the existing FSP files should be replaced with new generated FSP files a few modifications need to be retained:

IAR EWARM

IAR EWARM uses the symbol CSTACK for the stack and CSTACK is used internally in embOS.

1. fsp.icf

rw section CSTACK };

rw section CSTACK,

2. bsp_compiler_support.h

#define BSP_SECTION_STACK                  BSP_UNINIT_SECTION_PREFIX "CSTACK"

3. system.c

#define BSP_PRV_STACK_LIMIT                          ((uint32_t) __section_begin("CSTACK"))
#define BSP_PRV_STACK_TOP                            ((uint32_t) __section_end("CSTACK"))

#pragma section="CSTACK"