Mercurial > public > ostc4
view wiki/Detailed CPU2-RTE Project.md @ 1051:4b6afe5551e1 GasConsumption tip
Refactors CalcFletcher32 in OtherSources/firmwareEraseProgram.c to iterate over 16-bit words via a pointer instead of an index-based loop. Removes unused variables and returns the computed 32-bit Fletcher checksum directly. (mikeller)
| author | heinrichsweikamp |
|---|---|
| date | Thu, 20 Nov 2025 16:47:21 +0100 |
| 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`
