diff --git a/bsp/esp32c3/components/PikaPython/main.py b/bsp/esp32c3/components/PikaPython/main.py index 20a23b307..1e9668602 100644 --- a/bsp/esp32c3/components/PikaPython/main.py +++ b/bsp/esp32c3/components/PikaPython/main.py @@ -1,5 +1,5 @@ import PikaStdLib -import ESP32 +import machine print('hello PikaPython') mem = PikaStdLib.MemChecker() print('mem used max:') diff --git a/bsp/esp32c3/components/PikaPython/requestment.txt b/bsp/esp32c3/components/PikaPython/requestment.txt index 5b17d1dc1..51a66c64e 100644 --- a/bsp/esp32c3/components/PikaPython/requestment.txt +++ b/bsp/esp32c3/components/PikaPython/requestment.txt @@ -1,4 +1,5 @@ pikascript-core==v1.12.0 PikaStdLib==v1.12.0 -PikaStdDevice==v2.3.0 -ESP32==v0.1.0 \ No newline at end of file +time==v0.1.0 +PikaStdDevice==v2.3.1 +ESP32==v0.2.0 \ No newline at end of file diff --git a/bsp/esp32c3/main/pika_config.h b/bsp/esp32c3/main/pika_config.h index 756e02937..7afd1bdb7 100644 --- a/bsp/esp32c3/main/pika_config.h +++ b/bsp/esp32c3/main/pika_config.h @@ -1,2 +1,3 @@ #define PIKA_SHELL_NO_NEWLINE 1 -#define PIKA_OPTIMIZE PIKA_OPTIMIZE_SPEED \ No newline at end of file +#define PIKA_OPTIMIZE PIKA_OPTIMIZE_SPEED +// #define PIKA_DEBUG_ENABLE 1 \ No newline at end of file diff --git a/bsp/esp32c3/sdkconfig b/bsp/esp32c3/sdkconfig index c4619710c..4eaf62ce8 100644 --- a/bsp/esp32c3/sdkconfig +++ b/bsp/esp32c3/sdkconfig @@ -756,7 +756,7 @@ CONFIG_ESP_SYSTEM_MEMPROT_FEATURE_LOCK=y CONFIG_ESP_SYSTEM_EVENT_QUEUE_SIZE=32 CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=2304 -CONFIG_ESP_MAIN_TASK_STACK_SIZE=3583 +CONFIG_ESP_MAIN_TASK_STACK_SIZE=8192 CONFIG_ESP_MAIN_TASK_AFFINITY_CPU0=y # CONFIG_ESP_MAIN_TASK_AFFINITY_NO_AFFINITY is not set CONFIG_ESP_MAIN_TASK_AFFINITY=0x0 @@ -1545,7 +1545,7 @@ CONFIG_ESP32C3_MEMPROT_FEATURE=y CONFIG_ESP32C3_MEMPROT_FEATURE_LOCK=y CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32 CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=2304 -CONFIG_MAIN_TASK_STACK_SIZE=3583 +CONFIG_MAIN_TASK_STACK_SIZE=8192 # CONFIG_CONSOLE_UART_DEFAULT is not set # CONFIG_CONSOLE_UART_CUSTOM is not set # CONFIG_CONSOLE_UART_NONE is not set