Eclipse ThreadX samples and demos
Repo eclipse-threadx/samplex, read from GitHub 1 d ago. eclipse-threadx has not joined Take My Repo.
This release is about making a board target something you can copy rather than something you have to invent. A generic BSP framework replaces the per-board scaffolding, four targets are built on it, and every toolchain and SDK the builds depend on is now pinned and cached rather than fetched from whatever the network offers that day.
Much of that work came from Google Summer of Code. @alieissa contributed the NXP i.MX RT1064-EVK target with its three demos and Renode CI, and the STM32F767ZI BSP refactor that brought a NetX Duo echo demo with it. @AmmarOkla12772 contributed the ThreadX monitor and primitives showcase for the NUCLEO-F401RE, and the network-connected environmental station demo. Between them that is half the targets in this release and two of its demos. We thank them both, and we are grateful to Google for supporting their work through the programme.
We also thank the independent contributors @divyanshisingh987456321 and @Jaxc for their valuable contributions to this release.
The SampleX user guide is attached to this release as a PDF, in A4 and US Letter.
No vulnerabilities were addressed in this release. You can access advisories for previously addressed vulnerabilities here.
Board support was per-target and copied by hand. There is now a generic BSP framework, with the startup self-tests and RAM sizing behind interfaces a target implements rather than duplicates, and the demo application moved into apps/ so more than one target builds it. (#49, #56, #57, @fdesbiens)
Four targets are built on that framework:
targets/ and adopted onto it, with Renode regression tests and a ThreadX monitor and primitives showcase (#50, #51, #45, @fdesbiens, @AmmarOkla12772 for the showcase)The STM32F767ZI target also gained a NetX Duo echo demo and a BSP refactor (#39, @alieissa), and a network-connected environmental station demo (#44, @AmmarOkla12772). Both were Google Summer of Code contributions.
The toolchains and SDKs the targets build against were fetched unpinned, so two runs a week apart could compile against different compilers. The Arm toolchain is pinned to 14.3.Rel1 and adopts the ThreadX install pattern, the RISC-V toolchain to xPack GCC 14.3.0, the NUCLEO Renode download is pinned, and every toolchain fetch is cached. (#53, #54, #55, @fdesbiens)
The STM32F429 SVD follows the same rule: it is fetched from ST's CMSIS device family pack with the pack version pinned and its digest checked, rather than carried in the tree, and declared in that target's NOTICE alongside the HAL and CMSIS components. (#47)
The CORE-V-MCU CLI host tests did not build. Mocks for the CLI core, GPIO, UART and hardware accessors let them link without the target, and they now pass. (#64, @divyanshisingh987456321)
Full Changelog: v6.5.1.202602a_rel...v6.5.2.202603_rel
This hotfix release addresses issues in the deployment scripts for the OpenHW CORE-V-MCU samples. It also updates the repository's submodules to their latest release.
In preparation for the v6.5.1 release, the CORE-V-MCU samples were changed to point to the top-level ThreadX submodule rather than using one specific to them. Unfortunately, the deploy.sh scripts had not been updated to reflect that refactoring.
Full Changelog: v6.5.1.202602_rel...v6.5.1.202602a_rel
This release adds two new sample applications for the OpenHW CORE-V MCU, along with toolchain improvements and scripting bug fixes.
A command-line interface application adapted from the QuickLogic core-v-mcu-cli-test project (Apache-2.0), rebuilt for CMake/Ninja/GCC on Eclipse ThreadX. Implements misc, mem (peek/poke), io (setmux/getmux), and gpio (set/clr/toggle/mode/status) commands via the BSP GPIO driver. Uses the FreeRTOS compatibility layer (tx_freertos) and prints a ThreadX version banner on startup.
A five-screen rotating demo featuring dynamic terminal size detection via ANSI CPR, a temperature display with big-digit rendering and ADT7420 self-heating compensation, and figlet ASCII art logos for ThreadX and OpenHW. All content is dynamically centered based on detected terminal dimensions.
install_deps.sh installs all build and debug dependencies in one step: cmake, ninja-build, gcc-riscv64-unknown-elf, binutils-riscv64-unknown-elf, gdb-multiarch, openocd, usbutils, and git.
A fully isolated, self-contained Board Support Package for the STMicroelectronics STM32F767ZI-Nucleo-144 board. Features a localised Cortex-M7 CMake toolchain with double-precision FPU support, portable CMake discovery modules for CMSIS and STM32 HAL, a custom linker script (2 MB Flash / 320 KB SRAM), and tx_initialize_low_level.S configured for 216 MHz operation. Includes USART3 console redirection to the ST-LINK Virtual COM port and Ethernet transceiver initialisation for the Microchip LAN8742A PHY. Integration is verified by a 4-thread ThreadX demo: a status monitor toggling the green LED at 2 Hz, a debounced button controller driving the blue LED, a message-queue-based system logger printing timestamps, and an interrupt-driven serial input thread flashing the red LED. Build and SDK fetch scripts are provided for both Linux (build.sh, fetch_sdk.sh) and PowerShell (build.ps1, fetch_sdk.ps1).
Added a complete ThreadX bring-up sample for the STMicroelectronics NUCLEO-F401RE board (STM32F401RE,Cortex-M4). The contribution includes board initialization, UART console, startup files, a linker script,STM32CubeF4 HAL integration, and a CMake build system with a Cortex-M4 toolchain file. The sample was validatedon hardware: scheduler operation, UART console output, LED thread, and flash/execute cycle.
None. You can access advisories for previously addressed vulnerabilities here.
The CLI test application is adapted from the QuickLogic core-v-mcu-cli-test project, used under the Apache-2.0 licence.