make code for ESP32 LyraT

kandy_deng
Posts: 1
Joined: Sun Aug 18, 2019 10:26 am

make code for ESP32 LyraT

Postby kandy_deng » Sun Aug 18, 2019 10:31 am

$ make flash
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-80-g6c4433a5
Expected to see version: esp32-2019r1
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Compiler version is not supported: 5.2.0
Expected to see version(s): 8.2.0
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Python requirements from D:/msys32/home/Administrator/esp/esp-adf/esp-idf/requirements.txt are satisfied.
WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-80-g6c4433a5
Expected to see version: esp32-2019r1
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Compiler version is not supported: 5.2.0
Expected to see version(s): 8.2.0
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Building partitions from /home/Administrator/esp/esp-adf/esp-idf/components/partition_table/pa rtitions_singleapp.csv...

App "play_mp3" version: v2.0-beta1-31-g76ef618-dirty
CC build/audio_board/lyrat_v4_3/board_pins_config.o
In file included from D:/msys32/home/Administrator/esp/esp-adf/components/audio_pipeline/inclu de/audio_event_iface.h:30:0,
from D:/msys32/home/Administrator/esp/esp-adf/components/esp_peripherals/incl ude/esp_peripherals.h:29,
from D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4 _3/board.h:31,
from D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4 _3/board_pins_config.c:28:
D:/msys32/home/Administrator/esp/esp-adf/esp-idf/components/esp32/include/rom/queue.h:1:2: war ning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
#warning rom/queue.h is deprecated, please use sys/queue.h instead
^
In file included from D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4 _3/board.h:29:0,
from D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4 _3/board_pins_config.c:28:
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c : In function 'get_input_set_id':
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:33:35: error: 'TOUCH_PAD_NUM9' undeclared (first use in this function)
#define BUTTON_SET_ID TOUCH_PAD_NUM9
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c :164:12: note: in expansion of macro 'BUTTON_SET_ID'
return BUTTON_SET_ID;
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:33:35: note: each undeclared identifier is reported only once for each function it appears in
#define BUTTON_SET_ID TOUCH_PAD_NUM9
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c :164:12: note: in expansion of macro 'BUTTON_SET_ID'
return BUTTON_SET_ID;
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c : In function 'get_input_play_id':
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:34:35: error: 'TOUCH_PAD_NUM8' undeclared (first use in this function)
#define BUTTON_PLAY_ID TOUCH_PAD_NUM8
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c :169:12: note: in expansion of macro 'BUTTON_PLAY_ID'
return BUTTON_PLAY_ID;
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c : In function 'get_input_volup_id':
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:35:35: error: 'TOUCH_PAD_NUM7' undeclared (first use in this function)
#define BUTTON_VOLUP_ID TOUCH_PAD_NUM7
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c :174:12: note: in expansion of macro 'BUTTON_VOLUP_ID'
return BUTTON_VOLUP_ID;
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c : In function 'get_input_voldown_id':
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_def.h:36:35: error: 'TOUCH_PAD_NUM4' undeclared (first use in this function)
#define BUTTON_VOLDOWN_ID TOUCH_PAD_NUM4
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c :179:12: note: in expansion of macro 'BUTTON_VOLDOWN_ID'
return BUTTON_VOLDOWN_ID;
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c : In function 'get_input_set_id':
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c :165:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c : In function 'get_input_play_id':
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c :170:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c : In function 'get_input_volup_id':
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c :175:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c : In function 'get_input_voldown_id':
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c :180:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
D:/msys32/home/Administrator/esp/esp-adf/components/audio_board/lyrat_v4_3/board_pins_config.c : At top level:
cc1.exe: warning: unrecognized command line option '-Wno-frame-address'
cc1.exe: some warnings being treated as errors
make[1]: *** [/home/Administrator/esp/esp-adf/esp-idf/make/component_wrapper.mk:292:lyrat_v4_ 3/board_pins_config.o] 错误 1
make: *** [/home/Administrator/esp/esp-adf/esp-idf/make/project.mk:584:component-audio_board- build] 错误 2

JunesLiang
Posts: 2
Joined: Tue Aug 20, 2019 2:17 pm

Re: make code for ESP32 LyraT

Postby JunesLiang » Wed Aug 21, 2019 3:40 pm

I have a same problem!

Who is online

Users browsing this forum: No registered users and 26 guests