You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was happy to find that there is already a create implementing the LTC681x family.
I'm working on a BMS based on the Portenta H7 development board
and cell sensor board with two LTC6812 ICs.
I have a working simple test code with spi in this commit: 1e2885d
When I add the LTC681x create like this commit b954de7 the build fails with the message:
error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to
a static item that implements the GlobalAlloc trait
This shouldn't happen as the LTC681x crate is not using any alloc(), right?
I tried to check the heapless create, but except in its tests it also not using the std allocator.
Then maybe an interaction with the STM32H7xx_hal create?
Any hints or suggestions on how to fix this issue would be very appreciated!
The text was updated successfully, but these errors were encountered:
Flydroid
changed the title
build fails on STM32H747
build fails with stm32h7xx_hal
Jan 25, 2024
Hi @marius-meissner ,
I was happy to find that there is already a create implementing the LTC681x family.
I'm working on a BMS based on the Portenta H7 development board
and cell sensor board with two LTC6812 ICs.
I have a working simple test code with spi in this commit: 1e2885d
When I add the LTC681x create like this commit b954de7 the build fails with the message:
This shouldn't happen as the LTC681x crate is not using any alloc(), right?
I tried to check the heapless create, but except in its tests it also not using the std allocator.
Then maybe an interaction with the STM32H7xx_hal create?
Any hints or suggestions on how to fix this issue would be very appreciated!
The text was updated successfully, but these errors were encountered: