Adjust ESP32-P4 chip compatibility Add Waveshare ESP32-P4-NANO board support (#589)

* Added ESP32-P4 chip support

* Add Waveshare ESP32-P4-NANO board support

* Add Waveshare ESP32-P4-NANO board support

* Add prefix "Waveshare" to waveshare products

* Adjust the ESP32-P4-NANO README and fix the index link.

* Update code style

* Optimize code styles

* Adjust to naming requirements

* Adjust to naming requirements
This commit is contained in:
Y1hsiaochunnn
2025-05-16 02:41:35 +08:00
committed by GitHub
parent 45c62f5a53
commit 1c63934756
10 changed files with 426 additions and 8 deletions

View File

@@ -25,7 +25,7 @@
#include <esp_lvgl_port.h>
#include <lvgl.h>
#define TAG "waveshare_amoled_1_8"
#define TAG "WaveshareEsp32s3TouchAMOLED1inch8"
LV_FONT_DECLARE(font_puhui_30_4);
LV_FONT_DECLARE(font_awesome_30_4);
@@ -122,7 +122,7 @@ protected:
}
};
class waveshare_amoled_1_8 : public WifiBoard {
class WaveshareEsp32s3TouchAMOLED1inch8 : public WifiBoard {
private:
i2c_master_bus_handle_t codec_i2c_bus_;
Pmic* pmic_ = nullptr;
@@ -298,7 +298,7 @@ private:
}
public:
waveshare_amoled_1_8() :
WaveshareEsp32s3TouchAMOLED1inch8() :
boot_button_(BOOT_BUTTON_GPIO) {
InitializePowerSaveTimer();
InitializeCodecI2c();
@@ -347,4 +347,4 @@ public:
}
};
DECLARE_BOARD(waveshare_amoled_1_8);
DECLARE_BOARD(WaveshareEsp32s3TouchAMOLED1inch8);