github eclipse-threadx/threadx v6.5.1.202602a_rel
Eclipse ThreadX v6.5.1.202602a

6 hours ago

Eclipse ThreadX 6.5.1.202602a Release Notes

This hotfix release corrects a critical compilation regression introduced in v6.5.1.202602 that prevented projects from building when targeting Cortex-M3, Cortex-M4, or Cortex-M7 processors. It also delivers Linux build script coverage for all GNU-toolchain ports touched in v6.5.1.202602.

Vulnerabilities addressed

No new vulnerabilities were addressed in this release. You can access advisories for previously addressed vulnerabilities here https://github.com/eclipse-threadx/threadx/security/advisories.

Bug Fixes

Critical: #endif without #if compilation error in tx_port.h (#545, #546)

In v6.5.1.202602, an #else directive was incorrectly replaced with #endif in the #ifdef TX_PORT_USE_BASEPRI / __set_basepri_value block, causing the following error when compiling for affected targets:

tx_port.h: error: #endif without #if

The following ports are affected and have been corrected:

  • cortex_m3/ac6, cortex_m3/gnu, cortex_m3/iar
  • cortex_m4/ac6, cortex_m4/gnu, cortex_m4/iar
  • cortex_m7/ac6, cortex_m7/gnu, cortex_m7/iar

Thanks to @s-w-k-r for reporting this issue.

Fixed missing linker script symbols in cortex_m4/gnu example build

The cortexm4_crt0.S startup file referenced several symbols (__text_load_start__, __rodata_start__, __fast_load_start__, and others) that were absent from sample_threadx.ld, causinglinker errors when building the sample application. The linker script has been updated to define all required symbols.

Enhancements

Linux build scripts for GNU-toolchain ports

build_threadx.sh (and build_threadx_sample.sh where applicable) have been added as Linux equivalents of the existing Windows .bat build scripts for all GNU-toolchain ports changed sincev6.5.0:

arm9, arm11, cortex_a5, cortex_a7, cortex_a8, cortex_a9, cortex_a12, cortex_a15, cortex_a17, cortex_m0, cortex_m23, cortex_m33, cortex_m55, cortex_m85, cortex_r4,cortex_r5

A pre-existing path bug in the cortex_m23/gnu build script (tx_thread_stack_error_handler.c and tx_thread_stack_error_notify.c were referenced from the port directory instead ofcommon/src/) has also been corrected.

Full Changelog: v6.5.1.202602_rel...v6.5.1.202602a_rel

Don't miss a new threadx release

NewReleases is sending notifications on new releases.