m5stack / Core2-for-AWS-IoT-Kit

Accompanying code for use with AWS IoT Kit content. Works with PlatformIO and ESP-IDF v4.2.
https://m5stack.com/collections/m5-core/products/m5stack-core2-esp32-iot-development-kit-for-aws-iot-edukit
MIT License
127 stars 66 forks source link

Blinky-Hello-World #90

Closed SilverLakeDev closed 2 years ago

SilverLakeDev commented 2 years ago

In the Blinky-Hello-World the utilities/requirements.txt is causing errors on crytoauthlib during this command.

pio run -e core2foraws-device_reg -t register_thing

I used this as my fix

esptool>=3.2 botocore>=1.24.13 boto3>=1.21.13 cryptography==3.4.8 pyasn1_modules==0.2.8 pyasn1==0.4.8 python-jose==3.3.0 ecdsa==0.17.0 cryptoauthlib >= 20210121 asn1crypto==1.4.0 pyOpenSSL==21.0.0 requests-aws4auth==1.1.1 hexrec==0.2.3 hidapi==0.11.0.post2

rashedtalukder commented 2 years ago

I've provided a temporary workaround for now: https://github.com/m5stack/Core2-for-AWS-IoT-EduKit/commit/d65cdf2f9a8461e9484c411d1e5c6d025cd9611c

We will be working with Microchip to provide a pre-compiled version that can be used by PIP instead of cloning and compiling from source.