edgetx icon indicating copy to clipboard operation
edgetx copied to clipboard

chore: update FreeRTOS-Kernel to V11.1.0

Open ThomasKuehne opened this issue 1 year ago • 1 comments

This updates the radio/src/thirdparty/FreeRTOS submodule from V10.4.6 (Nov 12, 2021) to ~~V11.0.1 (Dec 21, 2023)~~ V11.1.0 (Apr 22, 2024).

See FreeRTOS's change log.

From a cursory reading of the change log and diff between the two versions there shouldn't be any breakage. However this code deals with some very tricky topics - e.g. timers and tasks - so it'll need diverse tests.

ThomasKuehne avatar Apr 19 '24 21:04 ThomasKuehne

It seems like a good idea to move directly to v11.1.0. While reviewing the change logs since v10.4.6, the only thing that caught my attention is configKERNEL_INTERRUPT_PRIORITY, which has been obsoleted. So we should probably double check we're using the IRQ prios as intended by FreeRTOS. This is a very important part, as we might other experience ill behaviour from the application if we do not respect the rules around IRQ prio, and what you can or cannot do in the IRQ handler depending on priority.

raphaelcoeffic avatar Jun 02 '24 17:06 raphaelcoeffic