Skip to content

fatal error: wiring_private.h #3032

Description

@acronis2000

Hi !

I'm using the Adafruit_ST77xx library in my projects to work with the display, and it was working fine on the stm32 with the 2.12 kernel version. However, today I updated the kernel to version 3.0, and now I'm getting an error when compiling: 'Documents\Arduino\libraries\Adafruit_ST7735_and_ST7789_Library\Adafruit_ST77xx.cpp:30:10: fatal error: wiring_private.h: No such file or directory

Is there a way to fix this?

Activity

  1. fpistm commented on Jul 25, 2026

    @fpistm
    Member

    Since 3.0.0 and #2879, ArduinoCore-API has been deployed.
    So third party libraries using some internal headers have to be updated.
    STM32 core version have to be used to handle this.
    Example:

    #if defined(STM32_CORE_VERSION) && (STM32_CORE_VERSION  <= 0x020C0000)
    #include "wiring_time.h"
    #else
    #include "wiring.h"
    #endif
    
  2. fpistm commented on Aug 10, 2026

    @fpistm
    Member

    PR done on the third party library.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions