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
This guide describes how to
This guide describes how to set up a development environment on Ubuntu 16.04 and later for working with the VESC firmware and connect 4, VESC Tool. Open a terminal and follow along...
Heardle commitment to player
Heardle commitment to player satisfaction is evident in its regular updates and new challenges. The game evolves, offering a constant source of excitement for its dedicated community.
Good
I will be grateful to you for your post; I have been hunting for an article like this for a considerable amount of time, and I finally found it today. This piece offers me a wonderful deal of guidance, and I find that it is of great assistance to me. globle game
Thank you for this helpful
Thank you for this helpful post. I have been looking for similar guidance for a while, and this has been really valuable. It reminds me of the fun I have with games like idle breakout and globle game.
One more step should be added
One more step should be added concerning the kit build and run kit.
color blind test
andreaa
Setting up a development environment on Ubuntu 16.04 and
Geometry Dash Breeze later LTS releases involves several steps, depending on the specific development needs and tools required.
As players delve deeper into
As players delve deeper into the enchanting world of Infinite Craft, they uncover not only the potential of their creations but also the profound impact of their imagination. Every interaction within the game is an invitation to explore the depths of creativity and discover the magic that lies within.
Five Nights at Freddy's is
Five Nights at Freddy's is one of the most famous and highly praised video game horror series for its creativity and ability to create tension. Developed by Scott Cawthon, FNAF stands out with its complex storyline and simple yet tense gameplay. It has succeeded in creating an engaging horror space where players feel like they are immersed in the story and have to face terrifying and unexpected situations. In addition, the development of this series is also highly appreciated for the use of sound and images to enhance the appeal and reality of the game.
The way you presented this
The way you presented this bobs clothing information was clear and concise.
/*-->*/
Among Us is a social deduction game developed by InnerSloth that gained immense popularity in 2020.
Drift Hunters . Players enjoy
Drift Hunters . Players enjoy the thrill of drifting. It's a leisure activity used during free time.
Geometry Dash Wave is level
Geometry Dash Wave is level intros and outros are creatively designed, setting the stage for each challenge and providing a brief moment of respite or celebration upon completion.
Online dissertation writer uk
Get high-quality work done as per the requirements with the reference to genuine sources for achieving higher grades. We are experts in meeting academics deadlines. So, feel free to contact us and become tension free Online dissertation writer uk
great
Monkey Mart has bright, vivid and very eye-catching graphics. The colorful and cute images not only make the game more interesting but also create a comfortable and fun feeling every time you play.
Game Developer
Setting up your development environment for android game development is essential for smooth progress. Utilize user-friendly tools like Android Studio and Unity to simplify your workflow. By configuring these platforms properly, you'll ensure seamless coding, testing, and optimization, paving the way for successful game creation.
Thank you for shedding light
Thank you for shedding light on the icehouse phoenix this issue, more people need to know about it.
basketball stars
This guide shows how to set up a Django development environment on Ubuntu 16.04 and subsequent LTS editions. It involves installing Python 3, pip 3, Django, and virtualenv to offer you all the tools you need to create web applications with Django. basketball stars
buy dissertation uk Help
Simplifying the importance of their contributions to race prevents us from interrogating how their queerness simultaneously contests and expands our vision of what it means to be Black in the United States. buy dissertation uk Help
Best Assignment Writing Service
As a student aspiring to become a game developer, I focus on honing my skills through practice and learning. While seeking assistance, I've found that relying on the best assignment writing service ensures high-quality support tailored to my needs. This allows me to excel in both my coursework and my passion for game development.
Hey folks! Setting up your
Hey folks! Setting up your dev environment on Ubuntu 16.04 or later? Easy peasy! Just update your system, install necessary packages like build-essential, openocd, git, libudev-dev, and qt-sdk. Don't forget gcc-arm-embedded toolchain - add the repo, update, and install. Lastly, grab those udev rules for STLink V2. Voila! All set! Check out more tips like this on SavvyTipsGuru, perfect for business and course and jobs. Happy coding!
term paper writing help Online
By the help of this the candidate could be selected according to the job vacancy and the individual can get the beneficial opportunity in relation to this and it is good for them not to miss this term paper writing help Online
IO games have taken the world
IO games have taken the world by storm, offering players of all ages an addictive and entertaining gaming experience. It can be in the form of action-packed battles or strategic challenges
Hire Expert Woo Commmerce developers In USA
Hey there, community!
Are you on the lookout for skilled WooCommerce developers for hire to level up your e-commerce game? Look no further! Whether you're starting a new online store or revamping an existing one, finding the right developers is key to success.
If you need talented WooCommerce experts, you're in luck. This forum is teeming with seasoned professionals ready to tackle your projects with precision and finesse. Share your requirements, discuss your vision, and let's connect you with the perfect developers to bring your e-commerce dreams to life.
Don't hesitate to reach out and start the conversation! 🛒💻
The step-by-step instructions for updating the system
The step-by-step instructions for updating the system, installing required packages, and setting up the gcc-arm-embedded toolchain are very helpful. Additionally, the guide covers the process of adding udev rules, cloning the firmware from GitHub, and building/uploading it at my location now
Car game fans will adore
Car game fans will adore Drift Hunters.
The Custom Airline Software
The Custom Airline Software Development Guide by Attract Group is a comprehensive resource for aviation companies looking to elevate their operations. It delves expertly into the nuances of developing tailored software solutions, ensuring airlines can optimize processes, enhance customer experience, and stay competitive in a dynamic industry. Highly informative for stakeholders!
waffle game
I really like the word game waffle. Not the same as the daily one. You can play the "unlimited" version of Waffle until you get tired of it. The figures in the box tell you what to do. Move the characters around so that all of the rows, both vertical and horizontal, line up with each other to make words. You can move 15 times. The game will end after 15 tries if it can't move the characters to the right place.
global assignment help
Global Assignment Help is a leading platform offering comprehensive academic assistance to students worldwide. With a team of experienced professionals and subject matter experts, they provide top-notch assignment writing, editing, and proofreading services across various disciplines. Their commitment to quality, timely delivery, and customer satisfaction sets them apart. Whether it's essays, research papers, case studies, or dissertations, Global Assignment Help ensures thorough research, original content, and adherence to academic standards.
spotle
Gaming can spotle improve hand-eye coordination and reflexes.
Online dissertation writing Service UK
Instead of following the standard business and not striving for more, go for something different and out-of-the-box strategies. This will help you attract the attention of many marketers, businessmen, and consumers. For example Online dissertation writing Service UK
/*-->*/
Hello! Recently, I was in a minor car accident, and my neck got injured. I needed some practical advice on how to handle the pain. That’s when I found https://ways2well.com/health/chronic-injury. This website is a great resource! It’s full of practical tips and info on managing chronic injuries. What I appreciated the most is how easy it was to use on my phone. Whether I was lying down or sitting in a waiting room, I could access all the information I needed. The site is very user-friendly, and I quickly found the tips that helped. Thanks to this site, my neck pain has eased, and I can go about my day more comfortably. Definitely give it a try if you need similar advice.
The music in Slope Game is
The music in Slope Game is very suitable and creates a feeling of excitement.
writing services UAE
Instead of following the standard business and not striving for more, go for something different and out-of-the-box strategies. This will help you attract the attention of many marketers, businessmen, and consumers. For example writing services UAE
Dino game
dino game is a basic running game in which you control a T-Rex and attempt to dodge obstacles for as long as possible. This Dino Game was first included into Google Chrome in 2014 and could be played without an internet connection.
cookie clicker is an
cookie clicker is an addictive clicking game in which players click on a large cookie to earn cookies, then use the collected cookies to purchase upgrades and tools to automate and Speed up the process of earning cookies, thereby building a giant cookie empire.
Guide
This blog post is a fantastic resource for setting up Ubuntu 16.04! As someone who manages IT tasks at Atlas Door Repair's commercial door repair chicago, I found your guide incredibly helpful. The step-by-step instructions for installation, configuration, and optimizing the system are clear and easy to follow. Your tips on partitioning and securing the installation have been particularly useful for ensuring our systems run smoothly and securely. Thank you for providing such detailed and practical advice. This post has made the setup process much simpler and more efficient for us!
Key features of Papa's
Key features of Papa's Scooperia include choosing ice cream ingredients, processing orders, decorating ice cream cups, managing employees, tracking profits and more.
good
I found your article to be both informative and thought-provoking, a rare Io Games combination indeed.
This topic is a great
This topic is a great conversation Slope Game starter
Great
wow, great post. it gave me a lot of useful information. I look forward to your next posts.
Connections NYT
Monkey Mart
Monkey Mart is a standout in the world of online gaming, offering a captivating and immersive shopping simulation experience. Its vibrant graphics and intuitive gameplay mechanics make it a joy to play, appealing to both casual gamers and simulation enthusiasts alike.
Build Now GG
In Build Now GG, you can create and defend your own structures. The game’s fast-paced action keeps players on their toes.a
we become what we be hold
Hello everyone, nice to meet you. Do you want to try playing we become what we be hold? Play with me, it's great.
Papa's games
You have clear goals in all of our papa's games. You might be putting money aside for a new car or a park ticket. You can only reach your goal by making money and helping other people. At the order desk, you will first take orders. Then, get the right items together and get them ready at the grill, mix, or build station. The last steps are different for each place. Help people in the neighborhood and at baseball games!
One of the standout features
One of the standout features of Geometry Dash unblocked is the astonishing creativity exhibited by its players in level design. The game’s level editor provides a wide array of tools and assets, allowing creators to craft intricate patterns, visually stunning environments, and complex obstacle courses. Players often push the boundaries of what’s possible, incorporating unique elements like custom backgrounds, animated sequences, and complex triggers that alter game play in innovative ways. This creativity is a major driving force behind the game’s longevity and appeal, as players are constantly discovering new, imaginative levels that showcase the diverse talents within the Geometry Dash community.
One of Pokerogue is strengths
One of Pokerogue is strengths lies in its roguelike elements, where death is not the end but a part of the learning process. Each run offers opportunities to unlock new cards, abilities, and strategies, empowering players to approach subsequent playthroughs with enhanced skills and knowledge.
En Jugabet, los aficionados
En Jugabet, los aficionados al fútbol pueden disfrutar de la emoción de apostar en los jugabet partidos de primera división. Con una variedad de opciones de apuestas y análisis detallados, Jugabet ofrece una experiencia inigualable para seguir cada partido del campeonato chileno y aumentar las posibilidades de ganar.
Your insights are very
Your insights are very valuable, thanks. URL
good
good
Setting up a development
Setting up a development environment on Ubuntu 16.04 and later LTS releases involves several key steps to ensure a smooth and efficient workflow.
Update System: Begin by updating your system. Open a terminal and run
sudo apt update
sudo apt upgrade
Install Essential Packages: Install build-essential and other essential tools
sudo apt install build-essential git curl
IDE/Editor: Choose an IDE or text editor. For example, install VS Code:
sudo snap install --classic code
Database Setup: If your project requires a database, install one like PostgreSQL:
sudo apt install postgresql postgresql-contrib
Set Up Version Control: For version control, install Git:
sudo apt install git
Additional Tools: Depending on your project, you might need Docker, Kubernetes, or other tools. Install them as needed.
Programming Languages: Install the programming languages you need. For Python:
sudo apt install python3 python3-pip
By following these steps, you'll have a robust development environment ready for coding and project management on Ubuntu 16.04 and later LTS releases.
If you need assistance with setting up your environment or troubleshooting, consider seeking Assignment help online to get expert guidance and support for your programming and development tasks.
Pages