added esp32s2 kaluga bsp

This commit is contained in:
hathach
2020-06-29 16:52:08 +07:00
parent 2b27eed01a
commit 50b569ad1b
7 changed files with 9 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
idf_component_register(SRCS "esp32s2_saola_1.c" "led_strip/src/led_strip_rmt_ws2812.c"
idf_component_register(SRCS "${BOARD}.c" "led_strip/src/led_strip_rmt_ws2812.c"
INCLUDE_DIRS "led_strip/include"
PRIV_REQUIRES "driver"
REQUIRES freertos src)

View File

@@ -39,8 +39,8 @@
// Note: On the production version (v1.2) WS2812 is connected to GPIO 18,
// however earlier revision v1.1 WS2812 is connected to GPIO 17
//#define LED_PIN 18 // v1.2 and later
#define LED_PIN 17 // v1.1
//#define LED_PIN 17 // v1.1
#define LED_PIN 18 // v1.2 and later
#define BUTTON_PIN 0
#define BUTTON_STATE_ACTIVE 0