Skip to content

ewowi/ledOS-vscode-PIO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ledOS-vscode-PIO

run ledOS in vscode with the pio plugin using I2SClocklessLedDriver and ASMParser

code by hpwit

Clone this repo to your harddrive

Flash the code to esp32

  • setup filesysystem: go to arduino ide and run Examples->SPIFFS->SPIFFS_test to initailize correctly the spiff.

  • connect the esp32 with usb to your computer

  • in vscode with pio press upload

  • uplpad the example sc files (in the data folder) to the esp32: in vscode press the alien icon and then Build FileSystem Image and then Upload FileSystem image (do this any time you make changes to these files)

    image

Run LedOS (On Mac)

  • Open a terminal

  • type screen /dev/cu.usbserial-0001 115200 (cu.usbserial-0001 the usb port you see in vscode)

  • type help:

    image
  • type ls

  • load the file you want to run

  • press ctrl-r to run it

    image
  • press ctrl-e to edit it, press again ctrl-e and then type save

  • run it again using ctrl-r

  • to exit ledOS press ctrl-a\, then press y (to upload files you need to exit first)

  • if for some reason vscode/pio cannot upload to esp32 check if no screen process running by ps -ef |grep screen and kill it by kill -9 pid

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published