view wiki/Detailed CPU2-RTE Project.md @ 645:e58f81cb25a7

Small changes in charger state handling: Charger debounce time has been reduced to 5 seconds and the detection time of charger removal has been reduced to 15 second to be able to provide a faster feedback to the user. In addition the battery stage reset has been added (only relevant for a getState function which is not used within the firmware at the moment.
author Ideenmodellierer
date Tue, 13 Apr 2021 19:18:32 +0200
parents 0e7c16dd774d
children
line wrap: on
line source

# How to Create From Scratch a Project for _CPU2-RTE_ Code #

Follow the same procedure than for [CPU1](Detailed CPU1-Discovery Project.md), with changes:

- Create a new _board_ for processor:  
>   Series: `STM32F4`  
>   Mcu: `STM32F411xE`  
>   Debug: `JTAG`  

- Add `Small_CPU` linked source directory (instead of _Discovery_)

- Use linker script `OSTC4/Small_CPU/CPU2-F411.ld`