vs code is a fork from atom there both code editors and got a wide list of packages to highlight and get back debug info from compilers for breakpoints, debug highlighting and more
im most likely going to end up using visual studio code cuz the intelisence system (if it can parse the pokitto lib) is going to be the killer feature
Both VSCode and Atom are made with Electron and designed to look and behave somewhat similarly, but they donât intentionally share any code (except for the Electron stuff).
interesting did not know that, they do look allot alike and there always put in the same boat, plugins seem to be compatible (assume thats due to electron and just being javascript) i have played around with monaco (the text editor rendering visual studio code uses)
i had seen that vscode is source is more leaning on typescript (cuz ofcourse its Microsoft)
still think vscode is the better deal to use (although i guess now that microsoft bought github they also own the atom project)
is there a way to run like a script after compile to like copy the firmware.bin to like a bin folder or with upload to overide the firmware in CRP_DISABLD?
Thank you for your perseverance @jonne and @Pharap !
Iâm just a little confused getting a hello-world to run. Where do we put the platformio.ini and pokitto_pre.py? I see in PokittoIO they are in a subdir called platformio.ini, but this doesnât work either.
Iâd say ideally we should only have this in the users platformio.ini:
Ok read the README and followed the instructions (tiny bit more work than Iâd like for a beginning user), but we got SUCCES on the pio run which is a great feeling
So what are the steps now to upload the build to the pokitto?
If you want to copy directly to the device, you can use: mcopy -o -i /dev/sdX path/to/bin ::/firmware.bin
Youâll have to find out what dev your Pokitto shows up as.
Ah check. Only thing there is that you need to have su-rights to write to the block device.
So for most users a copy of the bin to the sd-card is easiest probably.
So, this is exactly the kind of experience I was hoping for Pokitto! Platform-agnostic easy install of a toolchain.
Already 2 cross-platform editors (and infinite if you just use the commandline tools) available and it just worksâ˘
Hope to finally start coding some stuff for the pokitto soon, thank you again @jonne and @Pharap for pushing this through!
I know itâs possible to configure it so you donât need su, but then youâd need su to do that. Copying to the sd, unmounting, taking the SD out, putting it in the pokitto, turining it on, finding the file in the loader, waiting⌠it gets old pretty fast if youâre trying to code something.
Iâd expect most users to be able to use sudo on their own machines, so it shouldnât be that much of a problem?