This guide describes how to set up a development environment on Ubuntu 16.04 and later for working with the VESC firmware and VESC Tool. Open a terminal and follow along...
Start by updating the system and installing some required packages:
sudo apt update
sudo apt upgrade
sudo apt install build-essential openocd git libudev-dev qt-sdk
Now install the gcc-arm-embedded toolchain (see this page for more details)
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
press Y, enter, then
sudo apt update
sudo apt install gcc-arm-embedded
now add udev rules to use the stlink v2 programmer without beeing root
wget vedder.se/Temp/49-stlinkv2.rules
sudo mv 49-stlinkv2.rules /etc/udev/rules.d/
sudo udevadm trigger
At this point you should be able to clone the firmware from github, build it and upload it. Let's give it a try
git clone https://github.com/vedderb/bldc.git vesc_firmware
cd vesc_firmware
make
by default this will build firmware for hardware version 6. To change the hardware version, open conf_general.h and change it to use the hardware version that you have. For example, for HW 4.12 it should look like this
/*
* Select only one hardware version
*/
#if !defined(HW_VERSION_40) && !defined(HW_VERSION_45) && !defined(HW_VERSION_46) && \
!defined(HW_VERSION_48) && !defined(HW_VERSION_49) && !defined(HW_VERSION_410) && \
!defined(HW_VERSION_60) && !defined(HW_VERSION_R2) && !defined(HW_VERSION_VICTOR_R1A) && \
!defined(HW_VERSION_DAS_RS) && !defined(HW_VERSION_PALTA) && !defined(HW_VERSION_RH) && \
!defined(HW_VERSION_TP)
//#define HW_VERSION_40
//#define HW_VERSION_45
//#define HW_VERSION_46 // Also for 4.7
//#define HW_VERSION_48
//#define HW_VERSION_49
#define HW_VERSION_410 // Also for 4.11 and 4.12
//#define HW_VERSION_60
//#define HW_VERSION_R2
//#define HW_VERSION_VICTOR_R1A
//#define HW_VERSION_DAS_RS
//#define HW_VERSION_PALTA
//#define HW_VERSION_RH
//#define HW_VERSION_TP
#endif
there are also many other options that can be changed in conf_general.h. To rebuild the firmware after the changes, run
make
now connect the stlink v2 programmer, connect power from a lab power supply and try to upload the firmware
make upload
It should say verified ok towards the end if everything went well.
VESC Tool
In order to build VESC Tool you need a recent version of the Qt SDK. Go to https://www.qt.io/download and get Qt Open Source. You should get a file called something like qt-unified-linux-x64-3.0.2-online.run. Set the executable flag of the file and install it as root to get a system-wide installation
cd Downloads
chmod +x qt-unified-linux-x64-3.0.2-online.run
sudo ./qt-unified-linux-x64-3.0.2-online.run
follow the instructions to finish the installation. You might also need the following packages:
sudo apt install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev
At this point you should be able to clone the source code for VESC Tool and build it.
git clone https://github.com/vedderb/vesc_tool.git vesc_tool
It is recommended to open the project file from Qt Creator (which you should have after the previous step) and build the project from there. Instructions for building the android version will be added later.
Comments
there are also many other
there are also many other options that can be changed in conf_general.h. To rebuild the firmware after the changes, run make now connect the stlink v2 programmer fnaf 2,connect power from a lab power supply and try to upload the firmware
Balancing a busy schedule
Balancing a busy schedule with multiple assignments can be overwhelming. Getting support from https://myhomeworkdone.com/assignment-writing-service.html helped ease the pressure. The assistance provided was thorough and well-structured, making complex topics more understandable. However, I found it important to review the completed work carefully and add my own insights to ensure it aligned with my personal academic goals and my professor's expectations. This service has been a helpful resource in managing my workload, especially during particularly demanding weeks.
Problems of writing articles
Balancing a busy schedule with multiple assignments can be overwhelming. Getting support from https://myhomeworkdone.com/assignment-writing-service.html helped ease the pressure. The assistance provided was thorough and well-structured, making complex topics more understandable. However, I found it important to review the completed work carefully and add my own insights to ensure it aligned with my personal academic goals and my professor's expectations. This service has been a helpful resource in managing my workload, especially during particularly demanding weeks.
this is insane dude
this is insane dude
Really cool
Really cool
thanks for info
thanks for info
For those struggling with
For those struggling with essay writing, I’ve found an amazing website that provides exceptional writing services. Their professional writers are experienced in various academic fields and can produce essays that are both engaging and well-researched. This 99 papers.com service ensures that your essays are delivered on time and meet all your academic requirements. It’s a fantastic resource for students seeking reliable writing assistance.
Really cool
Really cool
Really cool
Really cool
Really cool
Really cool
Really cool
Really cool
Really cool
Really cool
Really cool
Really cool
/*-->*/
However, standing out in a saturated market requires more than just creating great music. I found a service that could be a game-changer for those looking to make an impact on Beatport. https://promosoundgroup.net offers a specialized Beatport Top 100 promotion service that is tailored to elevate your track's visibility. Their approach combines targeted promotion with industry insights, ensuring your music reaches the right audience. By leveraging their services, you can increase your chances of making it into the coveted Top 100 and gaining the recognition you deserve.
Dive into the world of
Dive into the world of Unblocked Games 76 where every game is a new journey. Experience the luxury of premium gameplay, whether you’re playing with family, classmates, or on your own. Unblocked Games 76 transforms your free time into exhilarating adventures, combining passion and class in every session. Discover excitement like never before with Unblocked Games 76!
amazing
Here are many extremely attractive adventure and horror game titles that have been loved by many people around the world such as Skribbl io or five nights at freddy's. Coming to this version this time you will continue the adventure full of attraction and no less adventurous, you have to overcome great challenges.
Monkey Mart
To set up a development environment on Ubuntu 16.04 and later for VESC firmware, begin by updating your system and installing required packages using the command:
sudo apt update
. This guide provides a clear path for developers interested in enhancing projects like Monkey Mart.Head Soccer
There is no better topic than this one. Thanks for sharing. Head Soccer
puntent
This article has completely changed my perspective on the topic. I'm grateful for the insights it has provided. cartel4d
wadidao
Enter a world of fantasy and magic with this enchanting blog. Journey to far-off lands and embark on epic quests with cartel4d
puntent this is a real good
puntent this is a real good blog but my friend cartel4d here is the real slot gacor my brotha!
Prepare to be inspired by the
Prepare to be inspired by the breathtaking beauty of art and design on this captivating blog. Explore innovative creations and discover the cartel4d
Yo!
Yes. Don’t forget to configure your SSH keys for secure access to repositories. Finally, consider using Docker for containerization, which can simplify dependencies and deployment across different environments. This setup will provide a solid foundation for various development tasks!
Best,
Mrs. Lou - Kitchens Parramatta
best service
Juga a Wordle en Català a wordle català! Millora el teu vocabulari i diverteix-te amb el joc de paraules popular en català. Prova-ho avui!
I value the work you put into
I value the work you put into sharing your knowledge slope run
hey!
Great tips.. Using a version manager, such as `nvm` for Node.js or `pyenv` for Python, can help manage different versions effortlessly. Don’t forget to set up a good code editor; Visual Studio Code and Atom are popular choices that offer great support for various languages. Lastly, leverage tools like Docker for containerization to simplify deployment across different environments. Overall, the process is quite user-friendly and gives you a robust platform for development.
Anne., small business coach sydney
Thanks! Setting up a
Thanks! Setting up a development environment on Ubuntu 16.04 and later LTS releases is a great way to ensure you have all the necessary tools at your fingertips for coding and development work. First, it's essential to update your package list to ensure you're working with the latest software versions. You can do this by running `sudo apt update` in the terminal. Next, consider installing build-essential, which includes the GCC compiler and libraries needed for compiling software. You can install it using `sudo apt install build-essential`.
Mr. Salvador,. Sydney construction company
great
You now have a basic development environment set up on Ubuntu 16.04 and later LTS
Sprunki releases. Depending on your specific development needs, you can customize this setup further by installing other tools or libraries.
Hello :)
For additional support, consider checking out forums or documentation related to VESC development, as they can provide valuable insights and troubleshooting tips.
Lea J.@Sydney Dance School
Join me in this fun challenge
Join me in this fun challenge in Quick Draw game, can you draw for AI technology to guess?
/*-->*/
Since I already use Microsoft tools, ASP.NET’s integration has made my workflow more efficient. It’s so convenient to work within one ecosystem, saving time and effort. This compatibility has allowed me to streamline processes and improve productivity. More about you can find here
https://www.abtosoftware.com/services/asp-dot-net-web-applications-development
telecom
Setting up a development environment on Ubuntu 16.04+ involves installing essential tools like Git, Node.js, and Python, configuring IDEs, and setting up Docker or virtual environments. directv provider These steps ensure a flexible, robust setup for coding and software development.
Setting up a development
Setting up a development environment for VESC firmware seems like a thorough process! It’s similar to fine-tuning a Papa's Pizzeria pizza order—every step matters for the perfect outcome.
Setting up a development
Setting up a development environment on Ubuntu can be a rewarding challenge. As you dive into firmware development, consider checking out the Pokerogue and Pokerogue Dex game for a unique twist on Pokémon. Explore coding, unleash your creativity, and perhaps even build your own Pokémon-inspired projects. Follow the steps outlined to start your journey and unlock new capabilities in the coding world!
Pages