Skip to content

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

Closed
@PerennialNovice

Description

@PerennialNovice

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions