Browse Source

esp32: Serial.print() doesn't do \n -> \r\n conversion, sigh.

H. Peter Anvin 1 year ago
parent
commit
67adca8524
5 changed files with 2 additions and 1 deletions
  1. 2 1
      esp32/max80/max80.ino
  2. BIN
      esp32/output/max80.ino.bin
  3. BIN
      fpga/output/max80.fw
  4. BIN
      fpga/output/v1.fw
  5. BIN
      fpga/output/v2.fw

+ 2 - 1
esp32/max80/max80.ino

@@ -52,7 +52,7 @@ static void heap_info()
 
     char msg_buffer[128];
     snprintf(msg_buffer, sizeof msg_buffer,
-	     "Heap: sram %zu/%zu, spiram %zu/%zu\n",
+	     "Heap: sram %zu/%zu, spiram %zu/%zu\r\n",
 	     il, ia, sl, sa);
 
     fputs(msg_buffer, stdout);
@@ -115,6 +115,7 @@ void setup() {
     heap_info();
 
     TTY::init();
+    Serial.print("\r\n*** Hello, World! ***\r\n");
     sysvar_init();
     heap_info();
 

BIN
esp32/output/max80.ino.bin


BIN
fpga/output/max80.fw


BIN
fpga/output/v1.fw


BIN
fpga/output/v2.fw