m5stack / M5StickC-Plus

M5StickCPlus Arduino Library
MIT License
359 stars 90 forks source link

Wont compile #44

Closed bierbarrel closed 1 year ago

bierbarrel commented 1 year ago

Describe the bug

Just get a general error that says:

Error compiling for board M5Stick-C-plus. Just curious how to get around this error

Arduino: 1.8.16 (Windows 10), Board: "M5Stick-C-Plus, Default, 240MHz (WiFi/BT), 1500000, None, Disabled"

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

To reproduce

just load and compile. I have loaded all libraries

Expected behavior

I expect the program to compile and load

Screenshots

No response

Environment

Additional context

No response

Issue checklist

Tinyu-Zhao commented 1 year ago

Please attach this report so that you can better identify the problem

image

Also update the M5Stack board definition to version 2.0.6 and the M5StickCPlus library to version 0.0.8 and try again.

bierbarrel commented 1 year ago

All updated and here is what i get now: error: 'did' does not name a type; did you mean 'div'? Compilation error: 'struct i2s_pin_config_t' has no member named 'mck_io_num'; did you mean 'bck_io_num'?

bierbarrel commented 1 year ago

thx for the help

Tinyu-Zhao commented 1 year ago

All updated and here is what i get now:

error: 'did' does not name a type; did you mean 'div'?

Compilation error: 'struct i2s_pin_config_t' has no member named 'mck_io_num'; did you mean 'bck_io_num'?

Please try to compile the sample program that comes with StickCPlus

bierbarrel commented 1 year ago

I'm sorry. I don't have that code. I was trying to restore the StickCplus back to original configuration. Do you know where I can get a copy?

thx

Tinyu-Zhao commented 1 year ago

I'm sorry. I don't have that code. I was trying to restore the StickCplus back to original configuration. Do you know where I can get a copy?

thx

Here, https://github.com/m5stack/M5StickC-Plus/tree/master/examples/Basics