n0xa / m5stick-nemo

M5 Stick C firmware for high-tech pranks
Other
673 stars 134 forks source link

Error when checking through the Arduino IDE. #109

Open 05007k opened 4 months ago

05007k commented 4 months ago

c:\Users\<...>\Documents\Arduino\libraries\1/SD.h:4:18: error: #include nested too deeply

include

              ^

c:\Users\<...>\Documents\Arduino\libraries\1/SD.h:5:18: error: #include nested too deeply

include

              ^

c:\Users\<...>\Documents\Arduino\libraries\1/SD.h:6:19: error: #include nested too deeply

include

               ^
danny8972 commented 4 months ago

I had this same issue are you sure that in your additional boards manager you have this link https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json you can find additional boards manager in Settings for Arduino.

05007k commented 4 months ago

Thanks for the reply. Yes. I'm sure. I can install the M5 examples with the Arduino IDE.

05007k commented 4 months ago

Did I do the right thing? That I copied all the libraries associated with this program to the folder "C:\Users \<...>\Documents\Arduino\libraries\1"? And they live as text files, with the extension "H"?

danny8972 commented 4 months ago

I would recommend downloading the library’s with arduinos library downloaded. I’m not familiar with windows but I am certain it has this feature as well, and if you downloaded the files as zip folders try putting the main folder of the unzipped zip file into the library file of your sketch books name.

05007k commented 4 months ago

Unfortunately, after I left a comment, I played with the device and it stopped programming. When connected to a computer, the device is identified as ch340 (341), but the program is not recorded, the device does not respond. Can you help me?

danny8972 commented 4 months ago

have you tried burning a new image through the m5 app, through the app you can also erase past firmware which should help your issue, just make sure to hold down the G0 button on the top as you plug your cardputer in.

05007k commented 4 months ago

I tried to record a new image through both the M5 application and the arduino. It doesn't work. This is the first time I've heard about the button. Usually, when recording, I didn't clamp anything. We'll have to try.

danny8972 commented 3 months ago

Any progress with holding the button down.