You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ESP32_ePaper_example on epd2in13support [✘!]
➜ make all && make flash
/Users/sitapati/workspace/ESP32_ePaper_example/components/mkspiffs/Makefile.projbuild:13: warning: overriding commands for target `clean'
/Users/sitapati/esp/esp-idf/components/app_update/Makefile.projbuild:53: warning: ignoring old commands for target `clean'
Toolchain path: /Users/sitapati/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: esp-2020r3
Compiler version: 8.4.0
Python requirements from /Users/sitapati/esp/esp-idf/requirements.txt are satisfied.
App "ePaper" version: 00b4e1b-dirty
CC build/epaper/EPDspi.o
In file included from /Users/sitapati/esp/esp-idf/components/freertos/include/freertos/FreeRTOS.h:64,
from /Users/sitapati/workspace/ESP32_ePaper_example/components/spidriver/spi_master_lobo.h:19,
from /Users/sitapati/workspace/ESP32_ePaper_example/components/epaper/EPDspi.c:11:
/Users/sitapati/workspace/ESP32_ePaper_example/components/epaper/EPDspi.c: In function 'SPI_send_data':
/Users/sitapati/esp/esp-idf/components/freertos/include/freertos/portable.h:179:22: error: too many arguments to function 'malloc'
#define pvPortMalloc malloc
^~~~~~
/Users/sitapati/workspace/ESP32_ePaper_example/components/epaper/EPDspi.c:171:23: note: in expansion of macro 'pvPortMalloc'
uint8_t *transbuf = pvPortMalloc(len, MALLOC_CAP_DMA);
^~~~~~~~~~~~
In file included from /Users/sitapati/esp/esp-idf/components/newlib/platform_include/assert.h:21,
from /Users/sitapati/esp/esp-idf/components/esp_common/include/esp_err.h:18,
from /Users/sitapati/workspace/ESP32_ePaper_example/components/spidriver/spi_master_lobo.h:18,
from /Users/sitapati/workspace/ESP32_ePaper_example/components/epaper/EPDspi.c:11:
/Users/sitapati/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include/stdlib.h:108:8: note: declared here
void * malloc (size_t __size) _NOTHROW;
^~~~~~
In file included from /Users/sitapati/workspace/ESP32_ePaper_example/components/epaper/EPDspi.c:21:
/Users/sitapati/workspace/ESP32_ePaper_example/components/epaper/EPDspi.c: In function 'ReadBusy':
/Users/sitapati/workspace/ESP32_ePaper_example/components/epaper/EPDspi.h:63:20: error: implicit declaration of function 'gpio_get_level'; did you mean '_xtos_set_intlevel'? [-Werror=implicit-function-declaration]
#define isEPD_BUSY gpio_get_level(BUSY_Pin)
^~~~~~~~~~~~~~
/Users/sitapati/workspace/ESP32_ePaper_example/components/epaper/EPDspi.c:206:7: note: in expansion of macro 'isEPD_BUSY'
if (isEPD_BUSY == EPD_BUSY_LEVEL)
^~~~~~~~~~
/Users/sitapati/workspace/ESP32_ePaper_example/components/epaper/EPDspi.c: In function 'EPD_WriteCMD':
/Users/sitapati/workspace/ESP32_ePaper_example/components/epaper/EPDspi.h:60:18: error: implicit declaration of function 'gpio_set_level'; did you mean '_xtos_set_intlevel'? [-Werror=implicit-function-declaration]
#define EPD_DC_0 gpio_set_level(DC_Pin, 0)
^~~~~~~~~~~~~~
/Users/sitapati/workspace/ESP32_ePaper_example/components/epaper/EPDspi.c:229:2: note: in expansion of macro 'EPD_DC_0'
EPD_DC_0; // command write
^~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [EPDspi.o] Error 1
make: *** [component-epaper-build] Error 2
The text was updated successfully, but these errors were encountered:
I'm getting the following errors when building:
The text was updated successfully, but these errors were encountered: