Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch adds support for FreeRTOS-based 4diac FORTE binaries.
The test configurations run in qemu (see
run_in_qemu.sh
shell scripts). Unfortunately, the raspi version does not yet have networking, but the zynq version works, including connecting from 4diac IDE to the qemu emulator.The FreeRTOS recipe is structured so that other devices can be added. A generic part allows using LwIP or FreeRTOS-plus-TCP as network layer. There is some amount of device-specific code required, the two platforms show the complexity of adding a new platform (which is unfortunately not low).
Everything builds on picolibc as C library, which has native thread-local-storage support, and FreeRTOS-cpp11 which adds basic C++11 STL support for FreeRTOS platforms.
Right now, FORTE has a tiny bug that prevents successful building, see eclipse-4diac/4diac-forte#63