migrating to esp-idf V4.0 gcc 8.2 and CMake

This commit is contained in:
Sebastien
2020-03-06 16:43:56 -05:00
parent f998ea2a52
commit 562bec14fe
77 changed files with 2002 additions and 2802 deletions

View File

@@ -1,5 +1,4 @@
idf_component_register(SRCS "telnet.c"
INCLUDE_DIRS .
INCLUDE_DIRS . ../tools/
idf_component_register(SRCS "telnet.c" "libtelnet/libtelnet.c"
INCLUDE_DIRS . libtelnet
REQUIRES platform_config services
)

View File

@@ -18,9 +18,9 @@
* https://github.com/PocketSprite/8bkc-sdk/blob/master/8bkc-components/8bkc-hal/vfs-stdout.c
*
*/
#include <stdlib.h> // Required for CONFIG_PTHREAD_TASK_PRIO_DEFAULT.h
#include <stdlib.h> // Required for libtelnet.h
#include <esp_log.h>
#include "CONFIG_PTHREAD_TASK_PRIO_DEFAULT.h"
#include "libtelnet.h"
#include "stdbool.h"
#include <lwip/def.h>
#include <lwip/sockets.h>
@@ -35,7 +35,7 @@
#include "esp_attr.h"
#include "soc/uart_struct.h"
#include "driver/uart.h"
#include "platform_config.h"
#include "config.h"
#include "nvs_utilities.h"
#include "platform_esp32.h"