Building Core2 FactoryDemo in PlatformIO
-
Could i build and upload every example ( in my case the Core2 AWS ) with platform IO or i need to use idf.py from ESP-IDF ?
When i use platform IO i already have the ESP-IDF install i suppose.In all cases i need it to edit the configuration with the command "idf.py menuconfig" (right?), example in this step https://edukit.workshop.aws/en/blinky-hello-world/connecting-to-aws.html#configuring-the-esp32-firmware
-
There are modifications that need to be done to use all the examples with PlatformIO. Currently we are requiring the use of ESP-IDF v4.2 and at the moment PlatformIO only supports 4.1. You could modify the projects and they should work:
- Rename the "main" directory to "src"
- Possibly update cmakelists.txt files (depends on example)
-
Hi @greenleaf Are you using the M5GO Battery Bottom2? Tried following your step-by-step and it is just stuck at AT608A Check failed.
Mine is core2 without the battery bottom.
Thanks,
smua -
This is specifically for the Core2 for AWS IoT EduKit hardware. The regular Core2 and/or the standard M5Go bottom will not work with this firmware.
-
@greenleaf said in Building Core2 FactoryDemo in PlatformIO:
http://jokercatz.blogspot.com/2020/11/m5stack-core2-build-from-platformio.html
Thanks for the guidance.
How could this be adjusted for the M5AtomLite, M5Stack Basic and M5Paper ? -
@rashedtalukder Actually if you comment out the code checking for AT608A chip it works on plain Core 2
-
I found the actual Factory Test code for the Core 2 as this example is for the AWS Core 2
https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Core/M5Core2/Arduino -
There are pin differences for some of the features, but yes you can disable the atecc608 part of the code.
-
Thanks, I needed this so much!
-
bool Device = 1; // Please select your device
// Core2 = 1,Core2_AWS = 0;I Chaged from 0 to 1
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login