Set other default parameters

Post Reply
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Set other default parameters

Post by yaroslav »

Hi johannes,
Can I set other default parameters in the source code?

And how can I compile the source code there are detailed instructions on how to do this, I was not able to figure out?
User avatar
johu
Site Admin
Posts: 7182
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 552 times
Been thanked: 1913 times
Contact:

Re: Set other default parameters

Post by johu »

If you make custom changes to the software you'll have to patch those back whenever you want to use a newer version.

I suggest you set the parameters you like in the web interface and save them. Then read flash memory, e.g. with openocd:

Code: Select all

flash read_bank 0 config.bin 0x1F800 0x800
(It will also read saved CAN mapping)
Then whenever you flash a new board

Code: Select all

flash write_image erase unlock config.bin 0x0801F800
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Post Reply