You are here

Firmware Modification Basics? Changing app_adc.c

2 posts / 0 new
Last post
striderkent
Offline
Last seen: 4 years 12 months ago
Joined: 2018-12-17 22:56
Posts: 8
Firmware Modification Basics? Changing app_adc.c

Hello,

I'm new to the VESC and having fun messing with it, but it seems many of the things I want it to do with ADC inputs I'm having to create external analog circuitry.

I'm sure that changing the firmware / code could create the same effects for me, but I'm completely lost as to how to make these updates.

Specifically: I want to have it look at ADC inputs and do certain if / then / else with it. I'll figure out the coding later.

 

Where I'm stuck: I'm looking at the app_adc.c file. Modifying that and saving it is self explanatory...I assume.

What are all the steps to:

Taking that modified file and putting it into the firmware to upload to the VESC?

Everything I find on the process is very high level.

Thanks!

striderkent
Offline
Last seen: 4 years 12 months ago
Joined: 2018-12-17 22:56
Posts: 8

Also, how do I pull firmware OFF the VESC that I'm using? I want to make sure I'm only modifying what's already on there, not assuming that the files on github are current to my VESC.

Thanks!