esp32 update 하고 git 앞뒤로 바꾸다가 build 안될때
esp32 sdk 를 update 후에 LAN8720 쪽이 싹 다 바껴서 삽질을 하다가 못해먹겠어가지고 그냥 sdk commit 을 예전으로 돌렸더니
LANG=C make
Toolchain path: /home/lionelj/hoho3/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
make[1]: Entering directory '/home/lionelj/hoho3/esp/esp-idf/tools/kconfig'
make[1]: *** No rule to make target 'expand_env.h', needed by 'zconf.tab.o'. Stop.
make[1]: Leaving directory '/home/lionelj/hoho3/esp/esp-idf/tools/kconfig'
make: *** No rule to make target '/home/lionelj/hoho3/esp/esp-idf/tools/kconfig/conf-idf', needed by '/home/lionelj/hoho3/esp/esp-idf/ho_test_rs485/build/include/config/auto.conf'. Stop.
이런 메세지가 나오면서 build가 안된다.
이럴때는 이렇게 해결합니다.
cd esp-idf
git submodule update --init
find . -name '*.d' | xargs rm //to remove the old dependency files.
cd PROJECT_DIR
make clean
LANG=C make
'Embeded' 카테고리의 다른 글
How to install zephyr (0) | 2019.08.21 |
---|---|
Playing Audio over Bluetooth on Rasbperry Pi (Using Bluealsa, Command Line) (0) | 2019.05.16 |
Android Bluetooth AVRCP / AVCTP (0) | 2018.03.13 |