Build an Arduino project with PlatformIO IDE for VSCode

preview_player
Показать описание
How to install PlatformIO extension in Visual Studio Code, an alternative to Arduino IDE. Download my EEPROM programmer from GitHub and upload to Arduino Nano.

Chapters
00:00 - Introduction
00:30 - Install VSCode and PlatformIO
01:09 - Download project from GitHub
01:44 - Do you trust VSCode?
02:18 - Using PlatformIO
03:36 - Using EEPROM programmer

Music by StreamBeats
Рекомендации по теме
Комментарии
Автор

Thankyou! I'm from the MPLAB days with the hockey puck programmer, I have an older 'SDK-85' that I was eyeing Ben Eaters project as the beginning of an 'EEPROM EMULATOR', but then I saw your video, MUCH BETTER!, so we may have a ton of questions, hope you can put up with us! 🙂

haroldmoore
Автор

Thanks Trevor! I walked through your steps to get PlatformIO setup and compiled your code. I didn't have a Nano so I used an Adafruit Metro Mini. It was detected as an Arduino Uno and received the upload without any problems.

I didn't wire the latches yet. ..so anyone can try this with just a Nano or Uno configured to receive the PlatformIO Upload.
Starting the serial console I am able to type help and go through the commands
hex, set, fill, export. it works as expected with no ram or latches.

I'm working through your Z80 circuit and adapting the code to work with an Atmega1284 and an IDC-7132 dual port RAM connected to a pinball machine using a 6800 microprocessor. The commands will let us explore the pinball machine RAM.

I have some code I worked on but I like the libraries and abstraction you have created and your command set is more complete that what I have.

tgopaul
Автор

At 2:38 PlatformIO does not add new controls to the bottom tool bar ! Any suggestions ?

sergerobitaille
Автор

Could you do a turorial on how to use PlatformIO with Arduino with different versions of 'main.cpp'. my workflow is: create project, type into main.cpp (within 'src') . Complie and upload. When it works - I make a copy into 'Test' folder. then continue to develop the src/main.cpp. Eventually I want to go back and compile the version in 'Test'. At this point I am renaming files, and swapping locations between 'src' and 'Test'. So my ideal solution would be to complie directly from the 'Test/main.cpp' file. OR compile from the 'src/main.cpp'
A video on how to do this would be a great step up on using PlatformIO.

simplefi
Автор

Did exactly like this video but I get errors on main.cpp, example: "cannot open source file core/io/bus.hpp" and it doesn't automatically setup pio folder

davidrosset