summaryrefslogtreecommitdiff
path: root/ports/esp32s2
diff options
context:
space:
mode:
authorLucian Copeland <hierophect@gmail.com>2020-10-06 13:29:12 -0400
committerLucian Copeland <hierophect@gmail.com>2020-10-06 13:29:12 -0400
commit68cb384f8faed451c3e31a83ae087646b0c0a9f6 (patch)
tree895e71507d62f9e6e8c7039d44e380167f999153 /ports/esp32s2
parentf90eb23db1217e60e7e5be5b7d5e3c5d079ea8cc (diff)
Remove logging from shared-bindings, fix translations, revert config target macro
Diffstat (limited to 'ports/esp32s2')
-rw-r--r--ports/esp32s2/common-hal/socketpool/Socket.h1
-rw-r--r--ports/esp32s2/common-hal/wifi/ScannedNetworks.h1
-rw-r--r--ports/esp32s2/mpconfigport.h3
3 files changed, 0 insertions, 5 deletions
diff --git a/ports/esp32s2/common-hal/socketpool/Socket.h b/ports/esp32s2/common-hal/socketpool/Socket.h
index de63c8ab2..62b5ded58 100644
--- a/ports/esp32s2/common-hal/socketpool/Socket.h
+++ b/ports/esp32s2/common-hal/socketpool/Socket.h
@@ -33,7 +33,6 @@
#include "common-hal/ssl/SSLContext.h"
#include "components/esp-tls/esp_tls.h"
-#include "components/log/include/esp_log.h"
typedef struct {
mp_obj_base_t base;
diff --git a/ports/esp32s2/common-hal/wifi/ScannedNetworks.h b/ports/esp32s2/common-hal/wifi/ScannedNetworks.h
index db0c2a148..36da387f2 100644
--- a/ports/esp32s2/common-hal/wifi/ScannedNetworks.h
+++ b/ports/esp32s2/common-hal/wifi/ScannedNetworks.h
@@ -36,7 +36,6 @@
#include "freertos/event_groups.h"
#include "components/esp_wifi/include/esp_wifi_types.h"
-#include "components/log/include/esp_log.h"
typedef struct {
mp_obj_base_t base;
diff --git a/ports/esp32s2/mpconfigport.h b/ports/esp32s2/mpconfigport.h
index 066d0fd2c..cec8dd35d 100644
--- a/ports/esp32s2/mpconfigport.h
+++ b/ports/esp32s2/mpconfigport.h
@@ -36,9 +36,6 @@
#include "py/circuitpy_mpconfig.h"
-// ESP-IDF leaves this undefined but uses it everywhere.
-// Defining it will reduce chance of undef errors.
-#define CONFIG_IDF_TARGET_ESP32 (0)
#define MICROPY_PORT_ROOT_POINTERS \
CIRCUITPY_COMMON_ROOT_POINTERS