Created
April 29, 2021 15:07
-
-
Save masuidrive/e6999c42fd2d7e211a414003521ff7dd to your computer and use it in GitHub Desktop.
M1 Mac環境でAmazon FreeRTOS on ESP32のビルドを行う
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
# M1 Mac環境でAmazon FreeRTOS on ESP32のビルドを行う | |
# FreeRTOSのソースはAWSコンソールのzipから落とさないで、 | |
# https://github.com/aws/amazon-freertos から持ってくること | |
# 参考: | |
# https://docs.aws.amazon.com/freertos/latest/userguide/getting_started_espressif.html#setup-espressif-idf42 | |
# https://github.com/SeanMollet/esp-idf/tree/esp-2020r3-aarch64 | |
# | |
# ビルドは下記のコマンドで | |
# idf.py -DVENDOR=espressif -DBOARD=esp32_wrover_kit -DCOMPILER=xtensa-esp32 build | |
export IDF_PATH=$PWD/vendors/espressif/esp-idf | |
( \ | |
cd $IDF_PATH/tools && \ | |
mv tools.json tools.json.orig && \ | |
mv idf_tools.py idf_tools.py.orig && \ | |
curl -L https://github.com/SeanMollet/esp-idf/raw/esp-2020r3-aarch64/tools/tools.json > tools.json && \ | |
curl -L https://github.com/SeanMollet/esp-idf/raw/esp-2020r3-aarch64/tools/idf_tools.py > idf_tools.py && \ | |
chmod a+x idf_tools.py && \ | |
cd .. && \ | |
sh ./install.sh \ | |
) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment