Mercurial > public > ostc4
view wiki/Detailed CPU2-RTE Project.md @ 1028:3d9552e4997c GasConsumption
Code improvment: line <=> menu id function:
In generell the structure of the menus is defined by the tStructure.h using global state defines. In some implementation hardcoded line numbers are used. Risk: In case the order of menu items change the update of other code sections could be forgotten (in the case the update of the top menu) causing unintended behavior. To avoid this the hard coded lines have been replaced by a function connecting the intended function to the menu item defined in the tstructure.h.
| author | Ideenmodellierer |
|---|---|
| date | Sun, 07 Sep 2025 19:08:43 +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`
