Skip to content

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

Closed

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

Activity

  1. self-assigned this
    on May 23, 2024
  2. added
    enhancement
    on May 23, 2024
  3. added this to the 2.8.0 milestone on May 23, 2024
  4. fpistm commented on May 23, 2024

    @fpistm
    Member

    Hi @PerennialNovice
    And thanks. Linked to #2374

  5. added 2 commits that reference this issue on May 28, 2024
    dd3cb13
    000dad7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions