Skip to content

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

New issue

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

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

Already on GitHub? # to your account

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
Labels
enhancement New feature or request
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 the enhancement New feature or request label 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>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

2 participants