feat(console): Refactored code to support Linux target

This commit is contained in:
Jakob Hasse
2023-11-17 18:44:49 +08:00
parent e8dee79bb5
commit a30546cd24
13 changed files with 492 additions and 245 deletions

View File

@@ -6,6 +6,10 @@
#include <stdio.h>
#include <string.h>
#if __has_include(<bsd/string.h>)
// for strlcpy
#include <bsd/string.h>
#endif
#include <stdlib.h>
#include <sys/param.h>
#include "esp_heap_caps.h"