Skip to content

Commit afbf4de

Browse files
committed
Uncomment or remove debugging changes
1 parent c3cd32e commit afbf4de

File tree

2 files changed

+17
-20
lines changed

2 files changed

+17
-20
lines changed

ports/espressif/boards/adafruit_feather_esp32_v2/sdkconfig

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="esp-idf-config/partitions-8MB-no-uf2.csv
55
CONFIG_PARTITION_TABLE_FILENAME="esp-idf-config/partitions-8MB-no-uf2.csv"
66
# end of Partition Table
77

8-
# *** temporary custom CONSOLE_UART settings, to send log output to TX/RX pins on Feather ESP32V2
9-
#
10-
# ESP System Settings
11-
#
12-
CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
13-
# CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT is not set
14-
CONFIG_ESP_CONSOLE_UART_CUSTOM=y
15-
# CONFIG_ESP_CONSOLE_NONE is not set
16-
CONFIG_ESP_CONSOLE_UART=y
17-
CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_0=y
18-
# CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_1 is not set
19-
CONFIG_ESP_CONSOLE_UART_NUM=0
20-
CONFIG_ESP_CONSOLE_UART_TX_GPIO=8
21-
CONFIG_ESP_CONSOLE_UART_RX_GPIO=7
22-
CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200
23-
# CONFIG_ESP_SYSTEM_CHECK_INT_LEVEL_5 is not set
24-
# end of ESP System Settings
8+
### # Uncomment to send log output to TX/RX pins on Feather ESP32V2
9+
### #
10+
### # ESP System Settings
11+
### #
12+
### CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
13+
### # CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT is not set
14+
### CONFIG_ESP_CONSOLE_UART_CUSTOM=y
15+
### # CONFIG_ESP_CONSOLE_NONE is not set
16+
### CONFIG_ESP_CONSOLE_UART=y
17+
### CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_0=y
18+
### # CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_1 is not set
19+
### CONFIG_ESP_CONSOLE_UART_NUM=0
20+
### CONFIG_ESP_CONSOLE_UART_TX_GPIO=8
21+
### CONFIG_ESP_CONSOLE_UART_RX_GPIO=7
22+
### CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200
23+
### # CONFIG_ESP_SYSTEM_CHECK_INT_LEVEL_5 is not set
24+
### # end of ESP System Settings

py/emitglue.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626

2727
// This code glues the code emitters to the runtime.
2828

29-
#include "esp_log.h"
30-
3129
#include <stdint.h>
3230
#include <stdio.h>
3331
#include <string.h>
@@ -197,7 +195,6 @@ mp_obj_t mp_make_function_from_raw_code(const mp_raw_code_t *rc, mp_obj_t def_ar
197195
break;
198196
#endif
199197
default:
200-
ESP_LOGI("mp_make_function_from_raw_code", "kind: %d, scope_flags: 0x%x, n_pos_args: %d, fun_data: %p, const_table: %p", rc->kind, rc->scope_flags, rc->n_pos_args, rc->fun_data, rc->const_table);
201198
// rc->kind should always be set and BYTECODE is the only remaining case
202199
assert(rc->kind == MP_CODE_BYTECODE);
203200
fun = mp_obj_new_fun_bc(def_args, def_kw_args, rc->fun_data, rc->const_table);

0 commit comments

Comments
 (0)