Difference between revisions of "Using embOS with Renesas RA family, Flexible Software Package (FSP) and IAR"

From SEGGER Wiki
Jump to: navigation, search
Line 1: Line 1:
 
The [https://www.renesas.com/us/en/software-tool/flexible-software-package-fsp 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.
 
The [https://www.renesas.com/us/en/software-tool/flexible-software-package-fsp 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 device and evalboards are designed to use the Renesas Flexible Software Package.
+
embOS board support packages (BSPs) for Renesas RA devices and evalboards are designed to use the Renesas Flexible Software Package.
   
 
If the existing FSP files in the BSP should be replaced with new generated FSP files a few modifications need to be unchanged:
 
If the existing FSP files in the BSP should be replaced with new generated FSP files a few modifications need to be unchanged:

Revision as of 14:27, 14 July 2021

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 designed to use the Renesas Flexible Software Package.

If the existing FSP files in the BSP should be replaced with new generated FSP files a few modifications need to be unchanged:

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"