tschak909 Posted May 6, 2021 Share Posted May 6, 2021 #Atari8bit This video focuses on setting up #VSCode and #PlatformIO under Linux (as an example), so that you can hack on #FujiNet #ESP32 firmware! (or, just get a head start on builds before they reach production!) 4 Quote Link to comment Share on other sites More sharing options...
apc Posted May 27, 2021 Share Posted May 27, 2021 Nice! Thx NB: C'est la Vie - happy to make money like this ? Quote Link to comment Share on other sites More sharing options...
E474 Posted December 20, 2021 Share Posted December 20, 2021 Thanks! The following should install Visual Studio Code, cc65 and fix the dialout issue on Debian 11 (Bullseye), and similar 64-bit Debian/Ubuntu distributions. #!/bin/bash sudo apt-get update sudo apt-get upgrade sudo apt-get install build-essential git python3-venv python3-distutils wget apt-transport-https cc65 wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/ sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' rm -f packages.microsoft.gpg sudo apt update sudo apt install code sudo usermod -aG dialout ${USER} I cribbed adding the Visual Studio Code repositories from: https://code.visualstudio.com/docs/setup/linux - which also includes steps for other Linux distributions. You still need to do the Platform IO setup inside Visual Studio Code (from about 7 minutes onwards in the video), but the above should automate a reasonable number of steps. You'll need to logout and log back in again for the addition of the "dialout" group to your id to take effect. N.B. I still have to build my FujiNet, so can't do any actual testing of FujiNet coding, but the above will install the tool-chain, as far as I can tell. 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.