ReadMe.txt for R7FA4M2AD start project.
This project was built for IAR Embedded Workbench for ARM V9.10.2.

Supported hardware:
===================
The sample project for the Renesas R7FA4M2AD CPU is prepared to run
on a Renesas EK-RA4M2 board, but may be used on other target hardware
as well. Using different target hardware may require modifications.

Configurations
==============
- Debug:
  This configuration is prepared for download into internal
  Flash using J-Link. An embOS debug and profiling library
  is used.
  To use SEGGER SystemView with this configuration while debugging,
  configure SystemView for R7FA4M2AD as target device and SWD at
  2000 kHz as target interface. In addition, the RTT buffer
  address must be specified with this target (in case of doubt,
  search for _SEGGER_RTT in the respective mapfile).

- Release:
  This configuration is prepared for download into internal
  Flash using J-Link. An embOS release library is used.

Renesas generated files
=======================
This board support package is based on Renesas generated files.
You can easily replace these file with new generated files but some changes needs to be kept.

".stack" needs to be replaced by "CSTACK" in some files since embOS uses the symbol "CSTACK":

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"
