Skip to content

Commit faefc1e

Browse files
authored
DENKY_D4 : Configure Serial Log going to onboard USB/Serial (#64)
Configure Serial Log going to onboard USB/Serial, allowing to natively going to USB connected terminal device.
1 parent da10e39 commit faefc1e

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

raw/esp32/DenkyD4_V1.0/init.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Template {"NAME":"Denky D4 (v1.0)","GPIO":[32,0,0,0,1,0,0,0,0,1,0,1,0,0,0,0,0,640,608,0,0,450,449,448,0,0,5632,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":1}
1+
Template {"NAME":"Denky D4 (v1.0)","GPIO":[32,3200,0,3232,1,0,0,0,0,1,0,1,0,0,0,0,0,640,608,0,0,450,449,448,0,0,5632,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":1}
22

33
; All these parameters are saved onto flash device
44
; only once when autoconf is activated or
@@ -23,5 +23,8 @@ Backlog0 Timezone 99; TimeStd 0,0,10,1,3,60; TimeDst 0,0,3,1,2,120
2323
; Set Teleinfo to autodetect mode
2424
Energyconfig reset
2525

26+
; Set serial minimal log output on uart0 (log to onboard USB/Serial)
27+
Backlog SerialConfig 8N1; Baudrate 115200; SerialLog 1
28+
2629
; use template and reboot
2730
Module 0

raw/esp32/DenkyD4_V1.1/init.bat

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Br load("DenkyD4_V1.1.autoconf#cp2fs.be")
2-
Template {"NAME":"Denky D4 (v1.1)","GPIO":[32,0,0,0,1,0,0,0,0,1,1376,1,0,0,0,0,0,640,608,0,0,0,0,0,0,0,5632,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":1}
2+
Template {"NAME":"Denky D4 (v1.3a)","GPIO":[32,3200,0,3232,1,0,0,0,0,1,1376,1,0,0,0,0,0,640,608,0,0,0,0,0,0,0,5632,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":1}
33

44
; All these parameters are saved onto flash device
55
; only once when autoconf is activated or
@@ -31,9 +31,12 @@ Energyconfig period=1
3131
; old firmware commnand, deprecated
3232
; Energyconfig automode
3333

34-
; Set Teleinfo to autodetect mode
34+
; Set Teleinfo to autodetect mode (standard or historique)
3535
Energyconfig reset
3636

37+
; Set serial minimal log output on uart0 (log to onboard USB/Serial)
38+
Backlog SerialConfig 8N1; Baudrate 115200; SerialLog 1
39+
3740
; use template and reboot
3841
Module 0
3942

raw/esp32/DenkyD4_V1.3/init.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Br load("DenkyD4_V1.3.autoconf#cp2fs.be")
2-
Template {"NAME":"Denky D4 (v1.3)","GPIO":[32,0,0,0,1,0,0,0,0,1,1376,1,0,0,0,0,0,640,608,0,0,0,0,0,0,0,5632,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":1}
2+
Template {"NAME":"Denky D4 (v1.3a)","GPIO":[32,3200,0,3232,1,0,0,0,0,1,1376,1,0,0,0,0,0,640,608,0,0,0,0,0,0,0,5632,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":1}
33

44
; All these parameters are saved onto flash device
55
; only once when autoconf is activated or
@@ -34,5 +34,8 @@ Energyconfig period=1
3434
; Set Teleinfo to autodetect mode (standard or historique)
3535
Energyconfig reset
3636

37+
; Set serial minimal log output on uart0 (log to onboard USB/Serial)
38+
Backlog SerialConfig 8N1; Baudrate 115200; SerialLog 1
39+
3740
; use template and reboot
3841
Module 0

raw/esp32/DenkyD4_V1.3a/init.bat

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Br load("DenkyD4_V1.3a.autoconf#cp2fs.be")
2-
Template {"NAME":"Denky D4 (v1.3a)","GPIO":[32,0,0,0,1,0,0,0,0,1,1376,1,0,0,0,0,0,640,608,0,0,0,0,0,0,0,5632,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":1}
2+
Template {"NAME":"Denky D4 (v1.3a)","GPIO":[32,3200,0,3232,1,0,0,0,0,1,1376,1,0,0,0,0,0,640,608,0,0,0,0,0,0,0,5632,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":1}
33

44
; All these parameters are saved onto flash device
55
; only once when autoconf is activated or
@@ -31,9 +31,12 @@ Energyconfig period=1
3131
; old firmware commnand, deprecated
3232
; Energyconfig automode
3333

34-
; Set Teleinfo to autodetect mode
34+
; Set Teleinfo to autodetect mode (standard or historique)
3535
Energyconfig reset
3636

37+
; Set serial minimal log output on uart0 (log to onboard USB/Serial)
38+
Backlog SerialConfig 8N1; Baudrate 115200; SerialLog 1
39+
3740
; use template and reboot
3841
Module 0
3942

0 commit comments

Comments
 (0)