Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USE_FULL_ASSERT results in failed build due to missing stm32_assert.h #2375

Closed
PerennialNovice opened this issue May 23, 2024 · 1 comment · Fixed by #2384
Closed

USE_FULL_ASSERT results in failed build due to missing stm32_assert.h #2375

PerennialNovice opened this issue May 23, 2024 · 1 comment · Fixed by #2384
Assignees
Milestone

Comments

@PerennialNovice
Copy link

when including -DUSE_FULL_ASSERT in build-opt.h, the build fails with error

In file included from C:\Users\xXxXxXx\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.7.1\libraries\SrcWrapper\src\LL\stm32yyxx_ll_adc.c:32:
C:\Users\xXxXxXx\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.7.1\system/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_adc.c:25:10: fatal error: stm32_assert.h: No such file or directory
   25 | #include "stm32_assert.h"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1
@fpistm fpistm self-assigned this May 23, 2024
@fpistm fpistm added this to To do in STM32 core based on ST HAL via automation May 23, 2024
@fpistm fpistm added this to the 2.8.0 milestone May 23, 2024
@fpistm
Copy link
Member

fpistm commented May 23, 2024

Hi @PerennialNovice
And thanks. Linked to #2374

fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this issue May 28, 2024
Fixes stm32duino#2375.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this issue May 28, 2024
Fixes stm32duino#2375.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
STM32 core based on ST HAL automation moved this from To do to Done May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

2 participants