annotate wiki/Detailed CPU2-RTE Project.md @ 1069:e0ba2b29dc1f
Icon_Integration tip
Dev Bugfix: Analog channel 0 overwrites digital channel 0:
The search for the next analog channel was stopped in case the iteration is reset to zero => channel 0 was always sampled, even if no connected sensor was detected. This caused the values of a connected digital sensor to be overwritten. The search loop will now (again) iterate till it finds a new sensor or till the index reachs the active sensor index.
| author |
Ideenmodellierer |
| date |
Tue, 17 Feb 2026 20:46:45 +0100 |
| parents |
0e7c16dd774d |
| children |
|
| rev |
line source |
|
489
|
1 # How to Create From Scratch a Project for _CPU2-RTE_ Code #
|
|
|
2
|
|
|
3 Follow the same procedure than for [CPU1](Detailed CPU1-Discovery Project.md), with changes:
|
|
|
4
|
|
|
5 - Create a new _board_ for processor:
|
|
|
6 > Series: `STM32F4`
|
|
|
7 > Mcu: `STM32F411xE`
|
|
|
8 > Debug: `JTAG`
|
|
|
9
|
|
|
10 - Add `Small_CPU` linked source directory (instead of _Discovery_)
|
|
|
11
|
|
|
12 - Use linker script `OSTC4/Small_CPU/CPU2-F411.ld` |