You are here

Help needed compiling vesc express for esp32 mini D1

3 posts / 0 new
Last post
mrendu43
Offline
Last seen: 2 months 2 weeks ago
VESC Free
Joined: 2021-03-05 13:44
Posts: 25
Help needed compiling vesc express for esp32 mini D1

Hello.

Im trying to compile vesc express firmware for my esp32 mini d1.

I managed to setup toolchain and get the code compiling but i get some error that i dont know how to solve.

Only change i have made is set target to esp32 insted of esp32c3.

here re the errors from command prompt.

Untitled.png

 

meashman
Offline
Last seen: 1 month 1 week ago
VESC Free
Joined: 2021-11-06 23:15
Posts: 5

I also get errors when trying to compile vesc express build from the source code.

esp-idf/bt/CMakeFiles/__idf_bt.dir/host/bluedroid/btc/profile/std/gap/btc_gap_ble.c.obj FAILED

C:/Espressif/frameworks/esp-idf-v5.1.1/components/bt/host/bluedroid/stack/include/stack/bt_types.h:35:34: error: 'strncpy' specified bound 33 equals destination size [-Werror=stringop-truncation]
   35 | #define BCM_STRNCPY_S(x1,x2,x3)  strncpy((x1),(x2),(x3))
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~

C:/Espressif/frameworks/esp-idf-v5.1.1/components/bt/host/bluedroid/btc/profile/std/gap/btc_gap_ble.c:89:9: note: in expansion of macro 'BCM_STRNCPY_S'
   89 |         BCM_STRNCPY_S(param.get_dev_name_cmpl.name, name, BTC_MAX_LOC_BD_NAME_LEN + 1);
      |         ^~~~~~~~~~~~~
cc1.exe: some warnings being treated as errors

 

 

meashman
Offline
Last seen: 1 month 1 week ago
VESC Free
Joined: 2021-11-06 23:15
Posts: 5

Anyone?