-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Compiling #43
Comments
Hello Peter: OK, should be pretty easy to fix up. Take a look at the README.md file in the libraries folder of the STAC repository here: https://github.com/Xylopyrographer/STAC/blob/main/libraries/libraries_README.md I modified the original M5 Stack ATOM MATRIX library to fix a few things up. You'll have to replace the stock M5Atom library files with the modified ones. Suggest:
That should get you up and running. I haven't peeked inside the latest 0.0.8 library to see if M5 has fixed things up in there. Or if the "M5Unified" library is a path forward. I figure any library with that many zero's in front is probably still an alpha version. 😉 And a hello back to you from Calgary, AB. 😄. Please let me know if there are any other issues and do send a note when you're up and running with the STAC(s). I'd be very interested to know how they're working for you and as well get any feedback on the STAC itself or any of the documentation. All the best. |
Hello Peter: OK, should be pretty easy to fix up. Take a look at the README.md file in the libraries folder of the STAC repository here: https://github.com/Xylopyrographer/STAC/blob/main/libraries/libraries_README.md I modified the original M5 Stack ATOM MATRIX library to fix a few things up. You'll have to replace the stock M5Atom library files with the modified ones. Suggest: Quit the Arduino IDE if it's open. I haven't peeked inside the latest 0.0.8 library to see if M5 has fixed things up in there. Or if the "M5Unified" library is a path forward. I figure any library with that many zero's in front is probably still an alpha version. 😉 And a hello back to you from Calgary, AB. 😄. Please let me know if there are any other issues and do send a note when you're up and running with the STAC(s). I'd be very interested to know how they're working for you and as well get any feedback on the STAC itself or any of the documentation. All the best. |
Hi again, thanks for your quick and thorough reply! I've been on quite a journey on my end. First I had to find, figure out how to implement and do this - https://community.m5stack.com/topic/3866/error-compiling-for-board-m5stack-atom In the meantime, I was pretty sure I had fried my first ATOM, but after adding the U to the line Wire.begin(25, 21, 100000); I managed to compile and upload one of the ATOM example sketches (yay!) Now I get this error. Full, verbose log is attached. Once again, can you help please? Thanks again! /Users/petergraham/Library/Arduino15/packages/m5stack/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /var/folders/dv/bb5675nn6c3_6y7cchx_x6b00000gn/T/arduino_build_522972/libraries/Preferences/Preferences.cpp.orig.cpp.o:/Users/petergraham/Library/Arduino15/packages/m5stack/hardware/esp32/2.0.2/libraries/Preferences/src/Preferences.cpp.orig.cpp:20: multiple definition of `nvs_errors'; /var/folders/dv/bb5675nn6c3_6y7cchx_x6b00000gn/T/arduino_build_522972/libraries/Preferences/Preferences.cpp.o:/Users/petergraham/Library/Arduino15/packages/m5stack/hardware/esp32/2.0.2/libraries/Preferences/src/Preferences.cpp:26: first defined here [STAC Error #3.pdf] |
Hi Peter: The problem is the compiler, as it traverses all the directories in all its search paths looking for all the bits it needs to put together the sketch, is finding both the modified Preferences.cpp file and as well the original one. You'll need to move some files around so that the compiler is blind to the original. [Sidebar: It seems the compiler looks for any file that starts with (in this case) First, quit the Arduino IDE app completely. Move the file: Check your Bottom line, there should only be one Preferences.cpp file and it should live in the I'm also seeing that you have an overall different folder structure in your Are you using an arduino-esp32 core version 2.x.y and/or are you using the newish Unified M5Stack library? I've not done any testing using either of those cores/libraries as especially for the 2.x.y series cores there have been a lot of changes to the communications libraries, including WiFi. I don't consider the 2.x.y series stable as there is till a lot of development work on-going. However, it may be that everything will work just dandy. Let me know how it goes! |
Woot woot! Thank you once again!! Moving the Preference file to another location did not do the whole job - I also had to move LED_DisPlay.cpp.orig, LED_DisPlay.h.orig and MPU6886.cpp.orig to another location and viola! Thanks again for your guideance. Now to get it all set up! |
@peterjamesgraham |
Closed as completed. |
Hello, thanks so much for your coding expertise - I've been looking for just such a solution fo my church in Brampton, ON for some time!
I think I've done everything right, on two different Mac's (one running os 10.14, the other on 12) with exactly the same results.
Exit status 1
Error compiling for board M5Stack-ATOM.
I've attached the verbose log as an PDF - I hope it helps!
STAC Error.pdf
Can you help please?
Thank you!
The text was updated successfully, but these errors were encountered: