fix(examples): declare Adafruit BusIO in ESP32 GFX-based examples
The ESP-IDF compile path stages exactly the libraries declared in the example (no transitive resolution), so Adafruit_GFX.h failing to find Adafruit_I2CDevice.h broke esp32s3-ili9341-hello and esp32-oled-4pin-i2c with 'Compilation produced no firmware'. The other ESP32 GFX examples (esp32-oled, esp32-bmp280) already declare BusIO explicitly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
9e5ae8baf6
commit
91965e9824
|
|
@ -14,7 +14,7 @@ export const esp32s3TftExamples: ExampleProject[] = [
|
|||
'ILI9341 TFT from an ESP32-S3 over hardware SPI (FSPI / GPSPI2).',
|
||||
category: 'displays',
|
||||
difficulty: 'intermediate',
|
||||
libraries: ['Adafruit ILI9341', 'Adafruit GFX Library'],
|
||||
libraries: ['Adafruit ILI9341', 'Adafruit GFX Library', 'Adafruit BusIO'],
|
||||
tags: ['esp32-s3', 'ili9341', 'tft', 'spi', 'display'],
|
||||
boards: [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ void loop() {
|
|||
title: 'ESP32: SSD1306 OLED (4-pin I2C)',
|
||||
description:
|
||||
'Drive the cheap 4-pin SSD1306 OLED module (GND/VCC/SCL/SDA) over I2C from an ESP32 (SDA=21, SCL=22).',
|
||||
libraries: ['Adafruit SSD1306', 'Adafruit GFX Library'],
|
||||
libraries: ['Adafruit SSD1306', 'Adafruit GFX Library', 'Adafruit BusIO'],
|
||||
category: 'displays',
|
||||
difficulty: 'intermediate',
|
||||
boardFilter: 'esp32',
|
||||
|
|
|
|||
Loading…
Reference in New Issue