Getting started with AVR and PlatformIO under Linux
Vložit
- čas přidán 27. 08. 2024
- Watch me loosing my sanity when trying to figure out the access rights to the USB serial port /dev/ttyACM0 under Linux Mint 18.
But in the end I get both Visual Studio Code, PlatformIO and avrdude from the command line to do what I want.
(the screen casting from the Linux laptop was done using obs.ninja/ resulting in a slightly blurred image - but the text on the screen should not be too important)
Links:
Linux Mint: linuxmint.com/ (an Ubuntu-based distro)
Visual Studio Code for Linux: code.visualstu...
PlatformIO: platformio.org/
Linux command line tools: $ sudo apt-get install binutils gcc-avr avr-libc uisp avrdude flex byacc bison
There was a comment placed under the video and then removed again, but I could rescue it. Directory name problems with PlatformIO are now documented here: docs.platformi...
Great video as usual, Uwe!
A 13 minute video and less than half of it an an understandable speed !!
Thank you for watching and commenting...
well, the advantage of youtube is that you can play-back at your own speed, pause and fast-forward...
I decided for your (or rather my students') entertainment to leave my solution-seeking process in the video, but at a fast forward pace...
@@uwezimmermann5427 just an observation, not a complaint, and a useful video none the less.
Can you please tell me how to use linux and platformio for AT89S52 programming ?
Sorry, no, I have no experience with x52-microcontrollers. Everything is different from the AVR-family. Perhaps you should look into more modern alternatives.
@@uwezimmermann5427 Those are cheap microcontrollers. Can you please suggest some other cheap alternatives. Thanks a lot.
@@skmplanet9591 ATtiny and ATmega are not expensive either - the price depends on the amount of IO and memory.
@@skmplanet9591 I don't know about street prices where ever you are in the world, but Microchip gives about the same price for an AT89S52 as for an ATmega16A which is quite an old member of the family but with the same size and number of IO, but twice the amount of flash memory.
@@uwezimmermann5427 thanks a lot