Skip to content

Official STM32 showing many undeclared identifiers for blink sketch but compiles ok #220

Closed
@toogooda

Description

@toogooda

Describe the bug
LED_BUILTIN, HIGH, delay, OUTPUT all underlined in red and showing "Use of undeclared identifier". Strangely digitalWrite and pinMode are recognised OK.
If you ignore and compile it completes without exception.

To Reproduce
Steps to reproduce the behavior:

  1. Add additional boards URL "https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json"
  2. Select Blink example
  3. Select any STM board I used STM32F103RC

Screenshots
blink

Desktop (please complete the following information):

  • Windows 10

Additional context
There are other issue with STM boards that I will log separately.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions