diff --git a/openrtx/src/core/chan.c b/openrtx/src/core/chan.c index 281385ae..2e1369a6 100644 --- a/openrtx/src/core/chan.c +++ b/openrtx/src/core/chan.c @@ -16,7 +16,6 @@ ***************************************************************************/ #include "chan.h" -#include void chan_init(chan_t *c) { diff --git a/openrtx/src/core/threads.c b/openrtx/src/core/threads.c index 349202ec..d8455fbd 100644 --- a/openrtx/src/core/threads.c +++ b/openrtx/src/core/threads.c @@ -20,7 +20,6 @@ #include #include -#include #include #include #include diff --git a/platform/targets/ttwrplus/ttwrplus.dts b/platform/targets/ttwrplus/ttwrplus.dts index fe5dc0d3..ba2bc7cb 100644 --- a/platform/targets/ttwrplus/ttwrplus.dts +++ b/platform/targets/ttwrplus/ttwrplus.dts @@ -32,7 +32,7 @@ zephyr,console = &usb_serial; zephyr,shell-uart = &usb_serial; zephyr,flash = &flash0; - zephyr,display = &ssd1306; + zephyr,display = &sh1106; }; leds: leds { @@ -114,8 +114,8 @@ pinctrl-0 = <&i2c0_default>; pinctrl-names = "default"; - ssd1306: ssd1306@3c { - compatible = "solomon,ssd1306fb"; + sh1106: sh1106@3c { + compatible = "sinowealth,sh1106"; reg = <0x3c>; width = <128>; diff --git a/platform/targets/ttwrplus/ttwrplus_defconfig b/platform/targets/ttwrplus/ttwrplus_defconfig index 488f951e..648f7546 100644 --- a/platform/targets/ttwrplus/ttwrplus_defconfig +++ b/platform/targets/ttwrplus/ttwrplus_defconfig @@ -2,7 +2,6 @@ CONFIG_SOC_SERIES_ESP32S3=y CONFIG_BOOTLOADER_MCUBOOT=y CONFIG_DISPLAY=y CONFIG_SSD1306=y -CONFIG_SSD1306_SH1106_COMPATIBLE=y CONFIG_THREAD_STACK_INFO=y CONFIG_DYNAMIC_THREAD=y CONFIG_DYNAMIC_THREAD_STACK_SIZE=4096 @@ -10,7 +9,6 @@ CONFIG_DYNAMIC_THREAD_PREFER_POOL=y CONFIG_DYNAMIC_THREAD_POOL_SIZE=4 CONFIG_COMMON_LIBC_MALLOC=y CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=131072 -CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE=0 CONFIG_INPUT=y CONFIG_INPUT_GPIO_KEYS=y CONFIG_SENSOR=y @@ -22,3 +20,5 @@ CONFIG_SPI=y CONFIG_LED_STRIP=y CONFIG_WS2812_STRIP=y CONFIG_WS2812_STRIP_SPI=y +CONFIG_PICOLIBC_IO_FLOAT=y +CONFIG_POSIX_API=y