You are here

Setting up a development environment on Ubuntu 16.04 and later LTS releases

Submitted by benjamin on Wed, 2018-01-24 10:16

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

  • YouTube to MP3 - Convert your favorite YouTube videos to MP3 or MP4 files, and download for free with YTMP3 here, the fastest YouTube Converter. No apps and registration needed.

  • Konverter YouTube ke MP3 Konverter MP3 Youtube Y2mate kami memungkinkan Anda mengonversi video YouTube ke MP3 hanya dengan beberapa klik. Anda dapat mengunduh musik MP3 dengan berbagai kualitas seperti: 128kbps, 320kbps, 64kbps, 96kbps, 192kbps, 256 kbps. Sekarang Anda dapat dengan mudah mengonversi ribuan video dari YouTube dan simpan ke koleksi lagu favorit Anda. Mengonversi YouTube ke MP3 tidak pernah semudah ini.

This blog post is a fantastic resource for setting up Ubuntu 16.04! As someone who manages IT tasks at AZ Sliding Fix commercial door repair Florida, 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! 

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 Florida, 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! 

When cloning the firmware from GitHub, remember to adjust the `conf_general.h` file for your specific hardware version before running `make`. This step ensures that your build is compatible with your setup. Once you've made your changes, rebuilding with `make` and then using `make upload` should verify that everything went smoothly.

For the VESC Tool, installing Qt SDK is key. Just make sure you follow through with the additional packages like `mesa-common-dev` to avoid any graphical issues when building the project.

Stacy M.
NDIS Support Coordination

My family was planning a virtual game night to stay connected across provinces. Needed a platform that was reliable and had something for everyone. Checked out BettySpin Online from Canada, with a smooth design and tons of games. Their bonuses are cracking—welcome offers, reload deals, and loyalty perks. Slots, poker, and live dealers are all there, and payouts are hassle-free. Turned our night into a riot.

This is a great, detailed guide! I remember struggling with the udev rules when I first set this up. It's easy to miss that step. For anyone taking a break from the coding, or waiting for something to compile, you might enjoy a quick game like Slope Game to clear your head. Thanks for putting this together, it will definitely help others.

Hello, if the whole experience of interacting with the site is more important to you than just the game, https://luckyjet-in.com is worth a try. Indian users will have access to local recharge methods, tech support that understands the regional context, and a flexible bonus system that doesn't require complicated terms and conditions.

Setting up a development environment on Ubuntu 16.04 and later LTS releases is a great starting point for any developer. Clear guidance on installing essential tools like Git, VS Code, and language-specific packages (Python, Node.js, etc.) would be super helpful—especially for beginners aiming for a smooth setup process. By the way, if you need a quick break from coding, Basket Random Game is a fun and chaotic way to relax your mind! https://basketrandom.org

Hello. My name is Salman, and I am from Pakistan. With years of hands-on expertise in lifestyle and fashion items, I specialise in offering professional insights into industry trends, as well as extensive information about skechers shoes price in Pakistan. My work is based on real-world industry expertise and aims to assist customers in making educated choices. I provide a realistic, on-the-ground view of the changing fashion and footwear scene.

To set up a development environment on Ubuntu 16.04 or later LTS releases, begin by updating your system and installing essential packages. Consider using tools like Docker for containerization. For a fun break, try Moto X3M to unwind! Ensure you configure your IDE, libraries, and dependencies according to your project's needs for optimal performance.

Struggling with installing dependencies on Ubuntu? I used to! My workaround was using Docker containers, as they provide isolated environments and eliminate dependency conflicts. This approach saved me hours of troubleshooting! Has anyone else tried Docker for development setup? 

Has anyone else found setting up VESC development on Ubuntu tricky? I definitely struggled initially, mainly forgetting crucial dependencies. After a clean install and meticulous package management, though, it ran smoothly. Ah, memories of frustration and triumph… much like the satisfying chomping of Pacman 30th Anniversary 

Great guide for setting up a VESC development environment on Ubuntu! The step-by-step instructions are clear and easy to follow. It's almost like navigating a level in Geometry Dash , each step precisely executed. I appreciate the inclusion of updating the system, installing necessary packages, and even building the firmware. Thanks for sharing this valuable resource!

This is a helpful guide! I remember struggling with the udev rules for the ST-Link V2 programmer. That part always seemed a bit obscure. I've used this setup for robotics projects and it worked great. For a fun break from coding, have you ever tried the online game Drift Hunters? It's surprisingly addictive!

Thanks for the helpful guide! I remember struggling with setting up my dev environment for VESC a while back. Following a haphazard collection of forum posts left me pulling my hair out. This clear, concise approach is much better. For anyone getting frustrated with errors during installation, sometimes it's good to just take a five-minute break and play the Dinosaur Game in Chrome. It's surprisingly therapeutic!
 

Just a couple of thoughts: First, it might be useful to mention the importance of ensuring that the system is fully updated before starting the installation process, as this can prevent compatibility issues down the line. Also, maybe consider adding a brief note about checking the version of Ubuntu they are using since some packages might differ slightly across versions.

When it comes to building the firmware, it’s great that you included how to change the hardware version in `conf_general.h`. Maybe you could also suggest some common pitfalls to watch out for during the compilation or uploading process, like ensuring that all necessary drivers are installed for the ST-Link v2 programmer.

Ann Hansen/CEO/Behaviour Services Consultant

I've shown stickman hook to so many friends, and they all get hooked (pun intended!). It's universally appealing, easy to understand, but difficult to put down. Great for short bursts of entertainment.

在電子煙使用者逐漸重視吸煙體驗品質的趨勢下,"控煙" 功能成為評估一款電子煙主機的重要指標之一。作為市面上深受歡迎的產品之一,Lana皮革主機不僅外型時尚、手感出色,更搭載一系列先進控煙技術,提供穩定且舒適的霧化表現。本篇文章將深入介紹Lana皮革主機如何實現控煙功能,幫助用戶更有效掌握吸煙節奏與品質。

控煙核心一:氣流感應與智能霧化調節

Lanavape皮革主機的控煙機制,首先源於其氣流感應技術。當使用者開始吸氣時,內部氣壓感應器會即時啟動霧化程序,依據吸氣力度自動調節霧化器的輸出功率,實現煙霧量的智能控制。

這種設計不但提高了使用者的操控自由度,也避免因過度霧化而造成喉嚨刺激或耗油過快的問題。尤其對於剛接觸電子煙的新手,用戶可無需任何按鍵操作,即可獲得穩定的控煙體驗,這也是Lana主機深受喜愛的原因之一。

控煙核心二:穩定輸出與防過熱設計

為了進一步強化控煙的穩定性,Lanavape主機配備穩壓輸出系統,確保在電池電量變化過程中,輸出功率始終保持一致。這意味著無論電量高低,使用者都能獲得幾乎一致的煙霧量與口感,不會出現時強時弱的吸煙體驗。

此外,Lana電子煙主機內建過熱保護功能。當連續抽吸過快或主機溫度過高時,系統會自動限制輸出或短暫暫停,以避免過熱影響霧化品質與主機壽命。這項設計不僅延長主機使用時間,也進一步強化控煙的安全性。

控煙延伸:與煙彈結合的氣密設計

除了主機本身的智能系統外,Lana電子煙主機還強調與煙彈的氣密性結合。良好的氣密結構能減少氣流洩漏,使煙霧集中而順暢,有助於提升控煙效果與霧化效率。

當氣密性不足時,即便主機控制得再精準,也可能導致煙霧稀薄、味道不明顯。Lana電子菸主機與原廠煙彈完美匹配,能穩定輸出一致霧量,從而幫助使用者更精準地掌握每一口吸入量與口感強度。

總結:Lana皮革主機實現高效控煙的秘密

總的來說,LANA皮革主機能夠實現出色的控煙表現,關鍵在於其結合氣流感應、穩壓輸出、防過熱保護與氣密結構等多重設計。這些功能協同運作,讓使用者無論在吸力強弱或吸煙頻率上,都能獲得一致且穩定的霧化體驗。

對於追求高品質電子煙使用感的消費者來說,Lana皮革主機無疑是兼具智慧科技與貼心設計的理想選擇。若你正考慮升級主機,不妨親自體驗Lana皮革主機的控煙表現,讓每一次吸入都更輕鬆、舒適又安心。

幫助用戶更有效掌握節奏與品質。

Baseball bros io is an online simulation game about baseball that has fun game features and fast-paced action. This game is fun and easy to play, no matter how much you know about sports or how much experience you have with video games.
 

The Betrupees APK is the perfect solution for Indian players who want to gamble on the go. I love how fast and responsive the app is, even with multiple games running. The layout is clean and makes it easy to switch between slots, table games, and sports bets. Betrupees has made it easy to install their APK—just visit the official site and follow the steps. Everything from deposits to withdrawals works smoothly within the app. If you want the full Betrupees experience in your pocket, the Betrupees APK is a must-download for Android users.

IQOS電子煙的使用感受獨具特色。由於其採用先進的加熱技術,菸草在不完全燃燒的情況下釋放尼古丁,IQOS ILUMA相比傳統香菸,減少了焦油和一氧化碳等有害物質的吸入。這讓吸菸者在享受菸草風味時,能顯著降低對健康的危害。

許多用戶回饋,日本電子煙能有效減輕咽喉刺激和咳嗽,且不會有日本煙那種濃烈刺鼻的煙味,加熱菸彈取而代之的是更溫和、清新的菸草香氣,抽吸過程順暢自然,口感醇厚且層次豐富。

IQOS ILUMA i PRIME 配備了實用的暫停功能,專為那些需要暫時中斷吸菸的用戶提供了一種便捷的解決方案。當您需要暫停吸菸時,只需輕輕一按暫停按鈕,設備即進入暫停模式,螢幕中間的四顆燈會同時亮起,直觀地表明設備已暫停加熱。

這一模式最長可維持 8 分鐘,橢圓形的燈會隨時間倒數逐漸減少,時刻提醒您剩餘暫停時間,確保您能及時恢復吸菸,避免菸草棒過度加熱或浪費。推薦閱讀:IQOS ILUMA機型介紹

IQOS ILUMA PRIME在暫停模式下,想要恢復吸菸非常簡單。只需在觸控螢幕開關由下而上輕掃一下,煙槍便會迅速重新加熱,您可以立即繼續正常使用。IQOS PRIME整個過程迅速且流暢,無需重新插入菸草棒或進行複雜操作,彷彿時間未曾中斷,讓您輕鬆延續吸菸體驗。

加熱煙暫停功能為吸菸者提供了更大的便利性和靈活性。無論是接聽電話、用餐還是短暫離座,暫停功能都能確保您的吸菸體驗不受干擾。不僅避免了不必要的菸草浪費,還延長了單根TEREA的使用壽命,使您能更經濟高效地享受菸草帶來的愉悅感。

前言

對於電子煙的新用戶來說,瞭解如何正確使用和維護設備是非常重要的。SP2s電子煙主機憑藉其簡潔的設計和直觀的操作介面,讓新手也能夠輕鬆上手。

開箱與檢查

當您收到SP2s電子煙主機後,首先應該檢查包裝內的所有配件是否齊全無損,這通常包括主機、充電線以及可能的煙彈。確認所有物品完好無損後,可以開始閱讀隨附的說明書,熟悉各個部件的功能及基本操作步驟。

初次充電與啟動

為了確保最佳性能,建議在首次使用前對SP2s電子煙進行完全充電。使用原裝充電器連接電源,並根據指示燈顯示來確認充電狀態。當電量充滿後,您可以通過按下啟動按鈕來檢查設備是否正常運作,同時注意觀察燈光提示以瞭解電池電量情況。

安裝與更換煙彈

SP2s電子煙主機支持多種口味的煙彈,選擇適合自己口味的煙彈並將其正確插入主機。請確保煙彈安裝穩固,以避免漏油或蒸汽不足的情況發生。當需要更換煙彈時,只需輕鬆拔出舊煙彈,然後插入新的即可。

調節功率設置(如果適用)

部分SP2s型號提供了可調節的功率設置功能,允許用戶根據個人喜好調整吸食體驗。通過調整功率,您可以改變蒸汽量和溫度,從而影響口感。具體的調節方法可以參考產品說明書中的相關介紹。

日常維護與保養

定期清潔您的SP2s主機是保持其良好性能的重要環節。每次更換煙彈時,檢查並清理接口處的殘留物質;每隔一段時間還應對整個設備進行全面清潔。此外,遵循安全使用原則,如不在極端溫度下使用或存放設備。

結論

總結而言,SP2s電子煙主機以其簡潔明瞭的操作方式和人性化的設計,使得即使是電子煙的新手也能夠快速上手。小夥伴們別錯過!台灣SP2s官網線上店鋪提供正品Sp2s煙彈,多種口味任君選擇,現貨充足,快速發貨,讓您即刻享受新鮮口感。所有產品均通過嚴格檢驗,確保100%原裝正品!

After bouncing off a bunch of clickbait reviews, I landed on https://www.giveme5.co/group/discussions-about-episodes/discussion/6d725004-46b7-4673-b20d-89ae20b761ca where real users were having a conversation. One guy mentioned where he plays online and shared a legit link. I checked the options and saw solid features like cricket betting promos, fast KYC, and weekly offers. What made me trust it more is seeing several Indian users commenting their real experience.

 

This creative scoring system will help me decide whether I can resume playing and raise on past performance. wave road

UNO has stood the test of time by staying true to its roots while continuing to evolve with new formats, rules, and digital platforms. It brings people together through friendly competition, unexpected twists, and shared laughter. Whether you're 6 or 60, new to card games or a seasoned player, uno online is guaranteed to offer excitement, connection, and unforgettable memories.

Pages