Mercurial > public > ostc4
view wiki/Detailed CPU2-RTE Project.md @ 697:d55817a11f4c
Improvment key event detection:
In previous version the evaluation of a button event was called in the 100ms callback. Assuming an event is signaled at the in line for 100ms there is a potential risk to loose a button event. To avoid this scenarion the evaluation function was moved into the extint callback (called ~50+xms) and the line readback tim was reduced to 40ms.
Reminder: This function is not called in the main loop because the main loop is not executed in UART mode => movement would cause key events to not beeing detected
author | Ideenmodellierer |
---|---|
date | Sun, 25 Sep 2022 21:09:18 +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`