Hey there! I'm trying to upload a file to my ESP32-CAM, but upon running I receive this error:
PS D:\Projects\ESP32-busy-indicator\mcu_code> wcc -p COM5 -up .\system.lua system.lua
panic: Invalid arguments were passed to the function [recovered]
panic: Invalid arguments were passed to the function [recovered]
panic: Invalid arguments were passed to the function
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0x5116cd]
goroutine 1 [running]:
github.com/whitecatboard/whitecat-console/vendor/github.com/mikepb/go-serial.(*Port).Close(0x0, 0x1, 0x1)
d:/gows/src/github.com/whitecatboard/whitecat-console/vendor/github.com/mikepb/go-serial/serial.go:507 +0x2d
main.(*Board).detach(0xc0420962c0)
d:/gows/src/github.com/whitecatboard/whitecat-console/board.go:316 +0x169
main.main.func1()
d:/gows/src/github.com/whitecatboard/whitecat-console/main.go:93 +0x43
panic(0x690e80, 0x823f40)
D:/Go/src/runtime/panic.go:489 +0x2dd
main.connect.func1()
d:/gows/src/github.com/whitecatboard/whitecat-console/connection.go:56 +0x152
panic(0x690e80, 0x823f40)
D:/Go/src/runtime/panic.go:489 +0x2dd
main.(*Board).attach.func1(0xc0420962c0)
d:/gows/src/github.com/whitecatboard/whitecat-console/board.go:262 +0x18f
panic(0x690e80, 0x823f40)
D:/Go/src/runtime/panic.go:489 +0x2dd
main.(*Board).attach(0xc0420962c0, 0xc04203ef20, 0xc04203ef01)
d:/gows/src/github.com/whitecatboard/whitecat-console/board.go:282 +0x3e7
main.connect(0xc042085e01, 0xc04203e195, 0x4)
d:/gows/src/github.com/whitecatboard/whitecat-console/connection.go:79 +0x224
main.main()
d:/gows/src/github.com/whitecatboard/whitecat-console/main.go:262 +0xed2
Hey there! I'm trying to upload a file to my ESP32-CAM, but upon running I receive this error: