diff options
| author | hathach <[email protected]> | 2025-04-14 16:09:32 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-04-18 10:53:12 +0700 |
| commit | e8a84f90764f0f2603822f068a9961ceeade873d (patch) | |
| tree | 4a54a5a64a3366c71a5d9576976fafa172322e24 /hw | |
| parent | edbea218b92fe20215e9fc0cfd69208babc08259 (diff) | |
enum For string descriptor (langid, manufacturer product, serila): always get the first 2 bytes to determine the length first. otherwise, some device may have buffer overflow.
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/espressif/boards/espressif_s3_devkitc/board.h | 2 | ||||
| -rw-r--r-- | hw/bsp/espressif/family.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/espressif/boards/espressif_s3_devkitc/board.h b/hw/bsp/espressif/boards/espressif_s3_devkitc/board.h index 6d7a94668..d2483c84f 100644 --- a/hw/bsp/espressif/boards/espressif_s3_devkitc/board.h +++ b/hw/bsp/espressif/boards/espressif_s3_devkitc/board.h @@ -36,7 +36,7 @@ extern "C" { #endif -#define NEOPIXEL_PIN 48 +#define NEOPIXEL_PIN 38 #define BUTTON_PIN 0 #define BUTTON_STATE_ACTIVE 0 diff --git a/hw/bsp/espressif/family.cmake b/hw/bsp/espressif/family.cmake index daa12cdb4..b544689d9 100644 --- a/hw/bsp/espressif/family.cmake +++ b/hw/bsp/espressif/family.cmake @@ -34,6 +34,6 @@ endif () set(EXTRA_COMPONENT_DIRS "src" "${CMAKE_CURRENT_LIST_DIR}/boards" "${CMAKE_CURRENT_LIST_DIR}/components") # set SDKCONFIG for each IDF Target -set(SDKCONFIG ${CMAKE_SOURCE_DIR}/sdkconfig.${IDF_TARGET}) +set(SDKCONFIG ${CMAKE_BINARY_DIR}/sdkconfig) include($ENV{IDF_PATH}/tools/cmake/project.cmake) |
