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
Calculate and understand your tire dimensions with our easy-to-u
Calculate and understand your tire dimensions with our easy-to-use and free tool.
https://tire-size-calculator.net/
Access to knowledge
Alright, buckle up buttercups, let's dive in. Ever wrestle with getting your coding cave just right? Setting up a dev environment can be a real headache, true story. Ubuntu 16.04 and beyond, eh? Sounds like a specific beast to tame. LTS releases... long-term support, gotta love that stability, allegedly. Reminds me of the time I spent a whole afternoon battling with Python dependencies trying to get a machine learning model to play Slither io, eventually I used Docker to circumvent the headaches.
Reply
This is a really great blog and I appreciate how you put everything together in such an organized way. It’s not easy to find content that’s both informative and enjoyable to read, but you’ve done it perfectly. Thanks a lot for posting this! By the way, you should also check this out https://gbapps.net/gbwhatsapp-apk-dl/.
Monkey Mart: The Ultimate
Monkey Mart: The Ultimate Gaming Marketplace Experience
Step Into The Future of Gaming Commerce
Enter the world of Monkey Mart, where gaming meets innovation. We've created a cutting-edge marketplace that's transforming how gamers trade and connect globally.
Exclusive Features That Set Us Apart
Discover what makes us special:
The Monkey Mart Difference
Our Monkey Mart ecosystem offers:
Effortless Trading Experience
At Monkey Mart, we enhance your journey with:
Unmatched Security
Trust in our robust protection:
Community Benefits
Join the Monkey Mart revolution and receive:
Quick Start Guide
Start your Monkey Mart journey:
Do My Assignment NZ
Using a do my assignment NZ service connects students with experts who know local academic standards. Assignments are carefully researched, structured, and tailored to requirements, ensuring clarity and quality. Students not only get better grades but also learn from well-written examples that strengthen their own writing skills. With expert support, learners can focus on other priorities while still excelling in coursework.
labubu clicker
This is a really helpful guide, thanks for putting it together! I've been struggling to get my environment set up correctly, especially with some of the dependencies. I found a random video online that mentioned something about a labubu clicker to help with repetitive tasks during setup, but I wasn't sure if it was relevant. This guide seems much more straightforward and complete.
Great idea
Great walkthrough! Setting up a development environment on Ubuntu can feel a bit overwhelming at first, but once everything is in Lakeside Park Roofing place, it makes coding so much smoother. I like how Ubuntu keeps things flexible for different stacks.
Alright, diving headfirst into Ubuntu setup, eh? I remember wrestling with similar dependency demons! Setting up a dev environment can feel like navigating a jungle sometimes. It's all about getting those essential packages in line. We're talking system updates, build tools, and ARM toolchains. Funny enough, I spent an entire afternoon once struggling to get OpenOCD to play nice with my hardware. Remember that time? The error messages were cryptic, the forum threads endless. I am the Block Breaker, now i wanna share it.
Re: What is Sprunki Phase 3?
In Sprunki Phase 3, drag-and-drop controls make creating eerie soundscapes simple, as players mix haunting loops with grotesque characters, triggering animations that transform cheerful tracks into unsettling compositions filled with creepy atmosphere.
/*-->*/
This article explained it so well. I always wondered why certain videos blow up overnight—turns out summarize youtube video AI plays a huge role in that. https://ytbsummarizer.ai/
/*-->*/
This blog post is both informative and inspiring. I learned so much in such a short time, and I truly appreciate the clarity of your writing. Thank you for taking the time to help your readers like me. By the way you should also check this out: https://gbdownload.io/
/*-->*/
Awesome read! Tattoo AI helped me visualize a sleeve idea I’ve had for years. Now I actually feel ready to get it inked. https://getattoos.com/
/*-->*/
If Incredibox and a haunted arcade game had a baby, it’d be Sprunki Phase 3. Equal parts catchy and why is that avatar staring into my soul?
As a broke student, I couldn
As a broke student, I couldn’t justify paying for Spotify Premium—until I found a Spotify Premium MOD that gives all the premium perks for free. No more annoying ads during study sessions! If you’re on a tight budget, this is a lifesaver.
Did you know that changing
Did you know that changing your wallpaper can boost productivity? Instead of using stock images, I used a Wallpaper AI Generator to create a minimalist, focus-enhancing background. The customization options are endless, and it’s completely free. A small change that made a big difference for me!
The Sprunki are a group of
The Sprunki are a group of music games that transport you on a rhythmic voyage through the Sprunki universe. Join the modders and employ various characters to create catchy songs. Create music that will stay forever!
good
Great guide on setting up a development environment on Ubuntu 16.04 and later LTS releases! You might also add tips for using
apt-fast
to speed up package installs and suggest lightweight IDEs like VS Code or Geany. For debugging,htop
andncdu
are super helpful. Also, a fun break tool: wordle unlimited for brain refreshes. Consider mentioning containerization with Docker for consistent builds across teams.Great walkthrough on setting
Great walkthrough on setting up a development environment on Ubuntu 16.04 and later LTS releases the clear steps make it easy to follow much like using an attractive calculator that simplifies complex tasks.
ragdoll archers are charming
ragdoll archers are charming in their own special way because of this mix of order and disorder.
Where can I find high-quality women's leather purses in Canada?
If you’re looking for durable and stylish options, Canada offers a range of stores and online retailers specializing in women’s leather purses. Brands like FamilyLeatherOutlet and local boutiques provide genuine leather purses crafted for both elegance and practicality. Look for features like multiple compartments, secure closures, and adjustable straps for versatility. When choosing, consider size, style, and durability to ensure your purse meets daily needs while remaining a timeless accessory. Investing in a well-made leather purse ensures long-lasting quality and classic style suitable for any occasion.
Free time
On a rainy day in Vancouver, I didn’t feel like heading outside, so I opened my laptop and ended up trying Yabby Casino. The first thing I noticed was how smooth everything worked, even when switching between different games. They really put out a lot of promotions—welcome packages, weekly rewards, and free spins. It feels like there’s always something happening. In Canada, where the weather isn’t always great, I think sites like this are popular because you can play from the couch. I’ve stuck with it because it’s easy to use and offers enough variety so it never feels repetitive.
Reply
Reading this blog was an absolute pleasure. It’s informative, easy to follow, and gave me exactly the answers I was looking for. Thank you for taking the time to create such valuable content for your readers. Please try also GB WhatsApp Apk download
Reply
Learning a language with YouTube videos? A YouTube AI summarizer helps by breaking down lessons into key phrases and vocabulary lists. Makes reviewing so much easier—try it!
sloperun
In its fast-paced 3D endless runner Slope Run, participants control a bright ball as it rolls across an endless track that includes turns, gaps, and slopes. The objective is straightforward: avoid falling off the edge and accumulate points by surviving as long as possible.There are no objectives or tasks in Ragdoll Playground, so it a sandbox game. It's just free-form exploration and imaginative thinking. Will you like to create untouchable fortresses, aircraft, submarines, etc.? Feel free to try anything you want in Ragdoll Playground.
Setting up a development environment on Ubuntu 16.04 and later L
To set up a development environment on Ubuntu 16.04 and later LTS releases, install the required tools and dependencies using the terminal.
Learn more and get detailed guidance at https://sprunki-play.org/.
Eggy Car A Fun and Addictive Racing Game
Experience the thrill of
eggy car 2! With its engaging gameplay and stunning visuals, this game will keep you entertained for hours. Race through exciting levels and discover hidden treasures along the way!
awesome
io games are a genre of fast-paced, browser-based multiplayer games that became popular for their simplicity, accessibility, and instant action.
Very useful!
mac ブルーレイ 再生
4K Video Enhancer Online Free
Need help transforming blurry footage into HD masterpieces? With BeautyPlus' AI video enhancer, you can improve video quality online to 4K quality.fix quality of video
Castle App
Castle App delivers fast video downloads. You can save large files quickly without delays, allowing you to enjoy your favorite movies or shows immediately after downloading them onto your device.
Slope Unblocked
Ubuntu dev environments, eh? Funny, I remember wrestling with getting all the right bits aligned just so. Initially it can feel like navigating a maze. Getting the dependencies right is crucial, or things just break in spectacular fashion. Slope Unblocked memories flood back, almost the same level of frustration at times, haha! One time, I was trying to compile a custom kernel module, and I spent hours fighting mismatched headers. Talk about pulling your hair out! Took me ages to figure out I was using the wrong kernel version.
<p data-end="1772" data-start
<p data-end="1772" data-start="1465">Main har din <a href="http://apkrocket.net/"><strong data-end="1508" data-start="1495">77cb game</strong></a> khelta hoon, aur mujhe har baar kuch naya seekhne ko milta hai. Yeh platform beginner-friendly hai aur rewards bhi genuine milte hain. Interface smooth hai aur customer service helpful. Jo log fun aur thrill chahte hain unhe <strong data-end="1747" data-start="1734">77cb game</strong> zaroor dekhna chahiye.</p>
apk rocket
http://apkrocket.net/" khelta hoon, aur mujhe har baar kuch naya seekhne ko milta hai. Yeh platform beginner-friendly hai aur rewards bhi genuine milte hain. Interface smooth hai aur customer service helpful. Jo log fun aur thrill chahte hain unhe <strong data-end="1747" data-start="1734">77cb game</strong> zaroor dekhna chahiye.</p>
Pages