Skip to content

Deprecation warning on stm32 Arduino #142

Closed
@Dr-Gandalf

Description

@Dr-Gandalf

While compiling the meshtastic, meshtastic/firmware@89a8358

 *  Executing task: C:\Users\XXX\.platformio\penv\Scripts\platformio.exe run --environment wio-e5 

Processing wio-e5 (board: lora_e5_dev_board; platform: ststm32; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/lora_e5_dev_board.html
PLATFORM: ST STM32 (17.3.0) > SeeedStudio LoRa E5 Dev Board
HARDWARE: STM32WLE5JC 48MHz, 64KB RAM, 256KB Flash
DEBUG: Current (jlink) External (jlink, stlink)
PACKAGES:
 - framework-arduinoststm32 @ 0.0.0+sha.f31d070d1
 - framework-cmsis @ 2.50900.0 (5.9.0)
 - toolchain-gccarmnoneeabi @ 1.120301.0 (12.3.1)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
[nanopb] Installing Protocol Buffers dependencies
Requirement already satisfied: protobuf>=3.19.1 in c:\users\XXX\.platformio\penv\lib\site-packages (5.26.1)
[nanopb] No generation needed.
Found 22 compatible libraries
Scanning dependencies...
Dependency Graph
|-- RadioLib @ 6.5.0
|-- ESP8266 and ESP32 OLED driver for SSD1306 displays @ 4.3.0+sha.ee628ee
|-- OneButton @ 2.5.0
|-- arduino-fsm @ 2.2.0+sha.7db3702
|-- TinyGPSPlus @ 1.0.3+sha.71a82db
|-- Thread @ 0.0.0+sha.1ae8778
|-- Nanopb @ 0.4.8
|-- ErriezCRC32 @ 1.0.1
|-- OSFS @ 1.2.3
|-- Crypto @ 0.0.0+20240530152117.sha.f61ae26
|-- SPI @ 1.1.0
|-- Wire @ 1.0.0
|-- EEPROM @ 2.0.1
Building in release mode
Using meshtastic platformio-custom.py, firmware version 2.3.11.89a83584
Compiling .pio\build\wio-e5\FrameworkArduinoVariant\PeripheralPins.c.o

got this deprecation warning

Compiling .pio\build\wio-e5\src\airtime.cpp.o
In file included from src\ButtonThread.h:3,
                 from src\ButtonThread.cpp:1:
.pio\libdeps\wio-e5\OneButton\src/OneButton.h:50:99: warning: 'boolean' is deprecated [-Wdeprecated-declarations]
   50 |   explicit OneButton(const int pin, const boolean activeLow = true, const bool pullupActive = true);
      |                                                                                                   ^
In file included from C:\Users\XXX\.platformio\packages\framework-arduinoststm32\cores\arduino/wiring.h:34,
                 from C:\Users\XXX\.platformio\packages\framework-arduinoststm32\cores\arduino/Arduino.h:36,
                 from .pio\libdeps\wio-e5\OneButton\src/OneButton.h:28:
C:\Users\XXX\.platformio\packages\framework-arduinoststm32\cores\arduino/wiring_constants.h:110:14: note: declared here
  110 | typedef bool boolean __attribute__((deprecated));
      |              ^~~~~~~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions