Unable to Flash tutorial examples onto LyraT board
Posted: Fri May 10, 2019 3:51 am
I am unable to flash the example play_mp3 program onto my LyraT board. I am able to get ESP IDF example programs like blink to work, but I get compiler errors when I attempt to use the ESP ADF example. Im wondering if anyone can help me fix this. Sorry if this board is not meant for topics like this. Here is the output of 'make flash' for the play_mp3 example.
Code: Select all
Jacksons-MacBook-Pro-460:play_mp3 jacksonw$ make flash
Toolchain path: /Users/jacksonw/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
Python requirements from /Users/jacksonw/esp/esp-idf/requirements.txt are satisfied.
Project is not inside a git repository, will not use 'git describe' to determine PROJECT_VER.
App "play_mp3" version: 1
CC build/audio_hal/board/lyrat_v4_3/board_pins_config.o
In file included from /Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c:3:0:
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c: In function 'get_input_set_id':
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.h:16:35: error: 'TOUCH_PAD_NUM9' undeclared (first use in this function)
#define BUTTON_SET_ID TOUCH_PAD_NUM9
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c:100:12: note: in expansion of macro 'BUTTON_SET_ID'
return BUTTON_SET_ID;
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.h:16:35: note: each undeclared identifier is reported only once for each function it appears in
#define BUTTON_SET_ID TOUCH_PAD_NUM9
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c:100:12: note: in expansion of macro 'BUTTON_SET_ID'
return BUTTON_SET_ID;
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c: In function 'get_input_play_id':
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.h:17:35: error: 'TOUCH_PAD_NUM8' undeclared (first use in this function)
#define BUTTON_PLAY_ID TOUCH_PAD_NUM8
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c:105:12: note: in expansion of macro 'BUTTON_PLAY_ID'
return BUTTON_PLAY_ID;
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c: In function 'get_input_volup_id':
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.h:18:35: error: 'TOUCH_PAD_NUM7' undeclared (first use in this function)
#define BUTTON_VOLUP_ID TOUCH_PAD_NUM7
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c:110:12: note: in expansion of macro 'BUTTON_VOLUP_ID'
return BUTTON_VOLUP_ID;
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c: In function 'get_input_voldown_id':
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.h:19:35: error: 'TOUCH_PAD_NUM4' undeclared (first use in this function)
#define BUTTON_VOLDOWN_ID TOUCH_PAD_NUM4
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c:115:12: note: in expansion of macro 'BUTTON_VOLDOWN_ID'
return BUTTON_VOLDOWN_ID;
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c: In function 'get_input_set_id':
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c:101:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c: In function 'get_input_play_id':
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c:106:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c: In function 'get_input_volup_id':
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c:111:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c: In function 'get_input_voldown_id':
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c:116:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
/Users/jacksonw/esp/esp-adf/components/audio_hal/board/lyrat_v4_3/board_pins_config.c: At top level:
cc1: warning: unrecognized command line option '-Wno-frame-address'
cc1: some warnings being treated as errors
make[1]: *** [board/lyrat_v4_3/board_pins_config.o] Error 1
make: *** [component-audio_hal-build] Error 2