You are here

Custom Apps on Windows

6 posts / 0 new
Last post
rok340
Offline
Last seen: 1 year 1 month ago
Joined: 2021-01-05 08:50
Posts: 5
Custom Apps on Windows

Dear All,

I am trying to modify code, compile and upload custom app on VESC. I have trouble finding instructions how to do this on Windows.

I only find following instructions for Ubuntu https://vesc-project.com/node/310 .

Can somebody help me with Windows?

Thanks.

Regards.

TheFallen
Offline
Last seen: 3 weeks 4 days ago
VESC FreeVESC Original
Joined: 2017-09-11 11:46
Posts: 222

I've heard of people on this forum using the Linux you can get running in a VM under windows, Linux sub-system or something. Try searching on the forum.

Flepple
Offline
Last seen: 3 years 8 months ago
Joined: 2020-11-26 11:34
Posts: 10

Download a development environment like eclipse and the gnu Arm toolchain (https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads).

Then load the code as makefile project into eclipse and define where your makefile is located. Now you can edit code and compile it.

rok340
Offline
Last seen: 1 year 1 month ago
Joined: 2021-01-05 08:50
Posts: 5

Thank you both.
Compiled code is than uploaded using STlink to the VESC?

I don't quite understand if the code is than overriden when programming the VESC using VESC tool?

 

I'm quite new to SW, because I'm more in electromagnetics FEM analysis :).

Flepple
Offline
Last seen: 3 years 8 months ago
Joined: 2020-11-26 11:34
Posts: 10

Yes, you have to connect the vesc with stlink to your pc and debug it. The usual way to upload the software to a uC. 

rok340
Offline
Last seen: 1 year 1 month ago
Joined: 2021-01-05 08:50
Posts: 5

Thanks.