# compiling with new mcconf_default.h and appconf_defaut.h does not seem to work

2 posts / 0 new
owhite
Offline
Last seen: 1 month 2 weeks ago
Joined: 2020-10-14 04:03
Posts: 13
compiling with new mcconf_default.h and appconf_defaut.h does not seem to work

Folks,

I did a dump of header files from vesc-tools with customized values

Then, starting with a clean build from github for vesc I made sure that conf_general.h pointed to mcconf_default.h and appconf_default.h

I compiled, flashed on to a vesc board using st-link, connected vesc tool, and I expected that my default values would appear in the tool. Going to "read motor configuration" and "read app configuration" did not change any values.

In one specific case I changed the value of:

#define MCCONF_L_MAX_VOLTAGE			100


and that didnt appear in the configuration -- I got "maximium input voltage" of 57 of the advanced tab.

In another example I set

#define APPCONF_UART_BAUDRATE				19200

And was expecting that to change my baudrate in UART panel

any suggestions for how I can compile and flash to set the default values parameters for the VESC?

thanks.

owhite
Offline
Last seen: 1 month 2 weeks ago
Joined: 2020-10-14 04:03
Posts: 13

Please ignore -- I was able to get it to work although the only change seemed to be from performing the compile/flash multiple times.