Open lendone1 opened 20 hours ago
I have no problem building the project with the name SerialMode, can't reproduce this crash
the .bin is available here, it should work on cardputer by flashing it or using M5Launcher https://github.com/geo-tp/MicroCOM/releases/tag/v1.0
when I use platformio to compile this project,I meet the "wrong" output is
"C:/Users/xxxxxx/.platformio/packages/framework-arduinoespressif32/cores/esp32/HardwareSerial.h:92:21: error: conflicting declaration 'typedef enum uart_mode_t SerialMode'”,
this is the arduino Framework header,So I change the MiniCom Project that rename the “SerialMode” to “SerialMode_self”,the project can be compiled,
but in Cardputer,when I select "Start Serial"press OK, the Cardputer UI crash and root , the serial output is
"Guru Meditation Error: Core 0 panic'ed (LoadProhibited). ExceptGuru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump: PC : 0x420035db PS : 0x00060430 A0 : 0x82003346 A1 : 0x3fcedec0
A2 : 0x00000000 A3 : 0x00000001 A4 : 0x00000000 A5 : 0x00000020
A6 : 0x02c945e0 A7 : 0x00ffffff A8 : 0x820035d8 A9 : 0x3fcedea0
A10 : 0x3fc96c38 A11 : 0xa01fc000 A12 : 0x3fcf4a80 A13 : 0x3fcf4a60
A14 : 0x00000000 A15 : 0x3fc97418 SAR : 0x0000001a EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000018 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace: 0x420035d8:0x3fcedec0 0x42003343:0x3fcedf10 0x4205ef5d:0x3fcedf30 0x42028e41:0x3fcedf50 0x42017afc:0x3fcedf70"
how to deal with this problem