diff --git a/.gitmodules b/.gitmodules index 921aec9..e0a5390 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,6 @@ [submodule "SDK"] path = SDK url = https://git.minori.work/Embedded_SDK/MCUXpresso_LPC55S69.git -[submodule "lib/esp_hosted/hosted"] - path = lib/esp_hosted/hosted - url = https://github.com/espressif/esp-hosted.git [submodule "lib/freertos"] path = lib/freertos url = https://github.com/FreeRTOS/FreeRTOS-Kernel.git diff --git a/lib/esp_hosted/hosted b/lib/esp_hosted/hosted deleted file mode 160000 index 3583fb7..0000000 --- a/lib/esp_hosted/hosted +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3583fb7519f4ea3487949d999a8312060d38721d diff --git a/lib/esp_hosted/nxp/include/platform_wrapper.h b/lib/esp_hosted/nxp/include/platform_wrapper.h index 8ee7895..11b7807 100644 --- a/lib/esp_hosted/nxp/include/platform_wrapper.h +++ b/lib/esp_hosted/nxp/include/platform_wrapper.h @@ -28,4 +28,12 @@ int hosted_destroy_semaphore(void *semaphore_handle); void *hosted_timer_start(int duration, int type, void (*timeout_handler)(void const *), void *arg); int hosted_timer_stop(void *timer_handle); +unsigned int msleep(unsigned int mseconds); +unsigned int sleep(unsigned int seconds); + +void *serial_drv_open(const char *transport); +int serial_drv_write(void *handle, uint8_t *buf, int in_count, int *out_count); +uint8_t *serial_drv_read(void *handle, uint32_t *out_nbyte); +int serial_drv_close(void *handle); + #endif /* ESP_HOSTED_NXP_PLATFORM_WRAPPER_H */