Open networkfusion opened 1 year ago
This is ChibiOS code, better report to Giovanni.
I am just trying to make sure it is not a porting issue against the latest branch before that... but will do once I have investigated enough to know what I am talking about...
Edit: I beleive this is nF specific due to platform_free()
.
After a lot of trial and error, I have tracked this down to being an issue with the OneWire library. Given it is a custom overlay driver for ChibiOS, it is a problem with our code.
Turning off OneWire in CMakePresets.json provides a workaround as long as you dont need OneWire capabilities.
Target name(s)
ST_STM32F769I_DISCO and probably other ChibiOS based boards.
Firmware version
latest
MinSizeRel
Was working before? On which version?
seemingly works on latest
Debug
Device capabilities
OneWire
Description
When building the firmware in
MinSizeRel
there is a warning related to use of the heap. This is likely related to the OneWire lib not usingplatform_free()
as intended.The link to the currently used
chmemheaps
is https://github.com/ChibiOS/ChibiOS/blob/stable_21.11.x/os/oslib/include/chmemheaps.hHow to reproduce
No response
Expected behaviour
No warnings.
Screenshots
Aditional information
Further investigation ongoing.