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
From my experience, the
From my experience, the
Live Casino API offered here is an absolute game-changer for developers. It's packed with high-quality features and really simplifies the integration process for various gaming platforms. Whether you’re adding new games or optimizing your existing setup, this API streamlines everything. I’ve had a smooth time integrating it, and I’m confident it’ll work wonders for anyone looking to expand their casino offerings.
I can’t tell you how much I
I can’t tell you how much I appreciate the way your article breaks everything down. The step-by-step explanations and simple bed wars examples make what could be a complicated subject feel manageable. It’s clear that you put a lot of thought into making sure your readers can really understand the topic, and that effort really shines through. This article is a great resource, and I’m sure many people will benefit from your knowledge and clear writing.
Setting up a development
Setting up a development environment on Ubuntu 16.04 and later LTS releases can be quite straightforward with proper tools and guides. For anyone working on gaming-related projects like crazygames using Ubuntu ensures a stable and efficient platform to manage dependencies and streamline workflows.
Run 3 is a free game, easily
Run 3 is a free game, easily accessible to everyone.
Preparing for the Salesforce
Preparing for the Salesforce Data-Cloud-Consultant certification exam can be a challenging yet rewarding journey. As one of the most sought-after credentials in the Salesforce ecosystem, this certification validates your expertise in managing and implementing Salesforce Data Cloud solutions. To ensure your success, leveraging high-quality exam dumps can be a game-changer. Here’s everything you need to know about Salesforce Data-Cloud-Consultant exam dumps and how they can help you achieve your certification goals. For more info:
GOOD
Overcoming challenges in games geometry dash can teach players resilience and the ability to bounce back from setbacks.
NICE
Your information you provide is useful and great. google
Setting up a development environment on Ubuntu 16.04 and later L
Merhaba! Ubuntu 16.04 ve sonraki LTS sürümleri üzerinde geliştirme ortamı kurmak, yazılım geliştirme sürecinin temel bir adımıdır. Bu işlem, doğru araçları ve yazılımları kurarak, verimli bir çalışma alanı oluşturmanıza olanak tanır. Başlangıç için gerekli paketlerin yüklenmesi, programlama dili için uygun ortamın hazırlanması ve veritabanı bağlantılarının yapılandırılması gibi adımlar yer alır. Ayrıca, doğru kütüphaneler ve bağımlılıklar ile çalışan bir sistem, projelerinizin daha stabil ve hızlı bir şekilde geliştirilmesini https://starzbetpromo.com/. Detaylı bilgi ve rehberler için bu linki ziyaret edebilirsiniz.
BXVN
BXVN
play pokerouge game online free
Just discovered this awesome Pokemon-style roguelike game called PokeRouge! 🎮 It’s free to play at https://pokerouge.cc/pokerouge-play-online-for-free/ and runs right in your browser. The random dungeons and Pokemon combinations make every run different – super addictive! Perfect for quick gaming sessions. Give it a try and let me know what starter you pick! 🌟
Useful Guide for Developers
This article provides a solid foundation for setting up a development environment on Ubuntu for VESC. However, it could be updated for newer Ubuntu versions and associated tools. A section on troubleshooting common errors would also improve the user experience. For those working on macOS, a comparison of configuration differences could be helpful. Additionally, integration with automation tools or project management solutions could streamline workflows. Lastly, better documentation for developers in Europe would be a great addition.
Yasir Electronics
At Yasir Electronics, transform your home with cutting-edge appliances that combine style and functionality. Discover the latest Samsung Washing Machine and Samsung Microwave Oven for effortless living. Elevate your kitchen with premium Hitachi Refrigerator Price in Pakistan and Water Dispenser Price in Pakistan designed for convenience and performance. Experience excellence—shop at Yasir Electronics and redefine your lifestyle today!
Crown Furniture
At Crown Furniture, discover a world of elegance with our Modern Bedroom Furniture, stylish Center Tables, and luxurious Wing Chair Lahore. Transform your living spaces with impeccable Wardrobe Design and premium selections from our Sofa Store. Experience sophistication and comfort—visit Crown Furniture to create the home of your dreams!
Furniture 4 US
At Furniture 4 US, discover a wide range of stylish Home Furniture Karachi that combines elegance and comfort. Whether you're looking for a sleek Center Table, a spacious Dining Table, or a cozy Sofa Set, we have it all. Explore our L Shaped Sofa Set and transform your living space with Furniture4us today!
Yamas Office Furniture
At Yamas Office Furniture, we offer a wide range of high-quality Office Furniture in Islamabad that combines style and comfort. Whether you're looking for Office Chairs in Islamabad or modern Office Furniture in Lahore, we have everything you need to create a productive and professional workspace. Visit Yamas Furniture for the best selection today!
Hafi Pest Control Services
At Hafi Pest Control Services, we specialize in comprehensive pest control solutions to keep your home pest-free. From Rodent Control Services in Karachi to effective Mosquito Control Services, our experts are here to help. We also offer professional Dengue Spray Service in Karachi to protect your family. Trust Hafi Services for reliable and efficient pest management.
Mayar Curtain
At Mayar Curtain, we offer an exquisite range of curtains that add elegance to any room. From chic Living Room Curtains to luxurious Royal Curtains, our collection is designed to suit every taste. Explore Modern Room Curtains and stylish TV Lounge Curtains to enhance the beauty of your home. Visit Mayar Curtain today!
Karachi Fire Corporation
At Karachi Fire Corporation, we provide top-tier Fire Safety Equipment to protect your home and business. From essential Fire Extinguisher Price in Karachi and Fire Doors in Karachi to comprehensive Fire Fighting Training, we offer reliable solutions. As leading Fire Fighting Companies in Pakistan, we ensure safety with quality Road Sign Board and expert fire protection services.
Pakistan Fumigation Services
At Pakistan Fumigation Services we specialize in a variety of professional services to ensure a safe and clean environment. From Termite Proofing in Karachi to expert Pest Control Services in Lahore, our team also offers Roof heat proofing karachi and Rodent Control Services. Trust us for reliable Disinfection Services in Karachi and effective IPM Services.
Ahsan Electronics
At Ahsan Electronics, we bring you the latest and most reliable home appliances to enhance your lifestyle. Discover energy-efficient Dawlance inverter ac Price in Pakistan, powerful Dawlance 1 ton ac Price in Pakistan, and spacious Dawlance Deep Freezer Price in Pakistan 2024 designed for maximum performance. Upgrade your home with top-quality appliances—shop now at Ahsan Electronics for unbeatable deals!
Water Tank Cleaning
At Water Tank Cleaning, we ensure clean and safe water for your home and business with expert Water Tank Cleaning Services in Karachi. Our advanced cleaning techniques remove dirt, bacteria, and contaminants, providing you with pure and hygienic water. Trust us for professional water tank cleaning—your health starts with clean water!
Emaan Electronics
Discover premium home appliances at Emaan Electronics your trusted destination for top brands. Upgrade your kitchen with a Dawlance Refrigerator Price in Pakistan or a Hitachi Refrigerator Price in Pakistan, and stay cool with a Haier Ac Price in Pakistan or Kenwood Ac Price in Pakistan. Need more space? Explore the Haier Side By Side Refrigerator for modern convenience. Shop now for quality you can trust!
Qasim electronics
Discover the best home appliances at Qasim Electronics, where quality meets affordability. From the latest lg washing machine price in pakistan to advanced samsung washing machine price in pakistan models, we have it all. Stay cool with a general air conditioner price in pakistan or upgrade your kitchen with a hitachi refrigerator price in pakistan and mitsubishi refrigerator price in pakistan. Shop now for premium appliances!
Malik Furnitures
Transform your home with Malik Furniture, your go-to destination for premium furniture. Discover a stylish Wardrobe in Lahore, elegant Bedroom Chair Price in Lahore, and space-saving Single Bed in Lahore. Looking for kids' furniture? Check out our cozy Baby Cot in Lahore and durable Bunk Beds in Lahore for ultimate comfort!
The Muslim Guest House
Experience comfort and hospitality at The Muslim Guest House, your ideal Guest House in Karachi for a peaceful stay. Whether you're traveling for business or leisure, we offer a relaxing environment with modern amenities. Enjoy a home-like atmosphere with top-notch service, ensuring a memorable and comfortable experience in the heart of Karachi.
DriftHunters is a fun car
DriftHunters is a fun car racing game where you drift, upgrade cars, and master tracks for high scores. Enjoy cool stunts and challenges!
Nulls Brawls est un jeu
Nulls Brawls est un jeu mobile amusant où les joueurs se battent en temps réel. Choisissez des personnages avec des pouvoirs spéciaux, jouez avec des amis ou en ligne. Le but est de gagner en battant les adversaires avec stratégie et travail d'équipe.
Cricket
My buddy and I bet on cricket matches, but I always lose cause I don't know much. This site https://www.cricketfresh.in/, with its focus on Indian cricket, gives you predictions and analysis. They cover everything from team form to pitch conditions. I've learned a lot about what makes a good bet. Now, I'm not just throwing money away; I feel like I'm making smarter choices.
Фарингіт – це дуже неприємне
Фарингіт – це дуже неприємне захворювання, яке супроводжується болем у горлі, першінням та загальним дискомфортом. Коли я зіткнувся з цією проблемою, почав шукати ефективні засоби для лікування. На сайті Біотус знайшов не тільки якісні препарати, а й корисні поради щодо швидкого одужання. Великий вибір натуральних засобів, вітамінів та спреїв дійсно допоміг мені впоратися з симптомами. Рекомендую цей сайт усім, хто хоче швидко та безпечно позбутися фарингіту!
What a fantastic subway
What a fantastic subway surfers article! Your ability to bring clarity to intricate subjects showcases your exceptional vision and deep understanding of the topic.
Pages