Closed loganmarchione closed 1 year ago
The M5Stack Core2 has different pin definitions than the old version. So you cannot use the old firmware for the new device. You would need to adapt all the pin definitions in the variant.h file according to the Core2 definitions (e.g. MISO is 38):
The M5Stack has a LCD display 240x320 (ILI9341), the Core2 has a LCD 320x240 (ILI9342), so for the latter you may also need adaptations.
Ahh ok my bad. Thanks for the reply! I have a Lilygo device on the way, so I'll wait for that!
I wrote the initial m5stack firmware, and at that ime i thought the core2 had the same pinout than the predecessors. i have a m5stack basic and a 9dop version here, no core2. it should not be too difficult to port meshtastic to the core2, since most of the components are similar and the TFT driver is configured via defines.
Category
Hardware Compatibility
Hardware
Other
Firmware Version
N/A
Description
I'm new to Meshtastic, so bear with me here.
I have a M5Stack Core2. I saw a variant here and also found this, so I figured I could flash it. I'm running Arch Linux and it shows up under
/dev/ttyACM0
.I cloned this repo, built the firmware according to these instructions, but had to change the port from
COM8
to/dev/ttyACM0
. I then tried to flash as per the instructions. Below is the output.However, the device doesn't reset. When I force power off the device, it doesn't turn back on (the display never comes back). It is showing up for
esptool
.I can see the built firmware files in the correct directory.
I also tried flashing via a manual flash, but got the same result (no display and no buttons work). Not sure if the error at the end is critical since the flash already completed, right?
In the end, I had to erase it and was able to flash a demo project again. Am I missing something simple? Again, this my first time using Meshtastic.
Relevant log output
No response