Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Right-click on the project, sparrow (in .STM32CubeIDE) and select Properties.

  2. Unfold the C/C++ General menu.

  3. Select Paths and Symbols.

  4. Select the # Symbols tab.

  5. Select “GNU C” from the Languages column

  6. Click Add....

  7. Enter “CURRENT_BOARD” in the Name field.

  8. Enter the value from the following table that corresponds to your hardware in the Value field.

Board

...

Board

Name

CURRENT_BOARD Value

Nucleo

0

Sparrow v1.0

1

Sparrow v1.1

2

  1. Select the Add to all configurations checkbox

  2. Select the Add to all languages checkbox

  3. Click OK

  4. Click Apply and Close

...