Minor debug changes
This commit is contained in:
parent
472894d0e8
commit
4e40baf450
BIN
NerdMinerLog.txt
Normal file
BIN
NerdMinerLog.txt
Normal file
Binary file not shown.
@ -18,7 +18,7 @@ framework = arduino
|
|||||||
monitor_filters = esp32_exception_decoder
|
monitor_filters = esp32_exception_decoder
|
||||||
board_build.arduino.memory_type = qio_opi
|
board_build.arduino.memory_type = qio_opi
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
upload_speed = 921600
|
upload_speed = 115200
|
||||||
|
|
||||||
# 2 x 4.5MB app, 6.875MB SPIFFS
|
# 2 x 4.5MB app, 6.875MB SPIFFS
|
||||||
;board_build.partitions = large_spiffs_16MB.csv
|
;board_build.partitions = large_spiffs_16MB.csv
|
||||||
@ -29,9 +29,9 @@ board_build.partitions = huge_app.csv
|
|||||||
build_flags =
|
build_flags =
|
||||||
-D LV_LVGL_H_INCLUDE_SIMPLE
|
-D LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
-D BOARD_HAS_PSRAM
|
-D BOARD_HAS_PSRAM
|
||||||
;-D ARDUINO_USB_MODE=1
|
-D ARDUINO_USB_MODE=1
|
||||||
;-D ARDUINO_USB_CDC_ON_BOOT=1
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
||||||
-D DEBUG_MINING=1
|
;-D DEBUG_MINING=1
|
||||||
lib_deps =
|
lib_deps =
|
||||||
https://github.com/takkaO/OpenFontRender
|
https://github.com/takkaO/OpenFontRender
|
||||||
bblanchon/ArduinoJson@^6.21.2
|
bblanchon/ArduinoJson@^6.21.2
|
||||||
|
@ -80,7 +80,7 @@ void setup()
|
|||||||
Serial.println("Initiating tasks...");
|
Serial.println("Initiating tasks...");
|
||||||
xTaskCreate(runMonitor, "Monitor", 5000, NULL, 4, NULL);
|
xTaskCreate(runMonitor, "Monitor", 5000, NULL, 4, NULL);
|
||||||
|
|
||||||
/******** CREATE TASKs TO PRINT SCREEN *****/
|
/******** CREATE MINER TASKS *****/
|
||||||
for (size_t i = 0; i < THREADS; i++) {
|
for (size_t i = 0; i < THREADS; i++) {
|
||||||
char *name = (char*) malloc(32);
|
char *name = (char*) malloc(32);
|
||||||
sprintf(name, "(%d)", i);
|
sprintf(name, "(%d)", i);
|
||||||
@ -119,4 +119,4 @@ void loop() {
|
|||||||
|
|
||||||
checkRemoveConfiguration();
|
checkRemoveConfiguration();
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user