serial obj for SPIN+P2+PropTool v2.2
bozo
Posts: 70
in Propeller 2
Can anyone point me to a serial object that works under Propeller Tool for the P2?
I see various incarnations around but they don't seem to target this specific environment:
h/w = P2 ES Eval Board RevB
IDE = Propeller Tool v2.2.0.0 alpha
to be called from SPIN
any help appreciated,
cheers,
Mark
I see various incarnations around but they don't seem to target this specific environment:
h/w = P2 ES Eval Board RevB
IDE = Propeller Tool v2.2.0.0 alpha
to be called from SPIN
any help appreciated,
cheers,
Mark
Comments
dgately
When I click on the filenames it just opens up a new page with the source code listed.
I just want a download button.
At this time, something like GitHub Desktop makes things marginally better. You let the app clone the whole repository to your local drive, and it gives you a UI that allows browsing for files (well, it can use Visual Studio Code to do that). It handles the update process by checking-in on github and letting you know that there have been updates, etc...
Git (& GitHub) are really designed for entire project-based file access for us "mere mortals" but an expert could create an interface that allows access to single files.
cheers,
Mark
Cluso, To get the repo from GitHub without needing git you can click the green Code button and choose download ZIP. This will send you the zip with all the files in it. You get the whole repo folder structure though, not just a few files of interest and I can see this will become a problem when the total repo size gets really large. Otherwise it needs some browsing and cut/paste source for individual text files which I admit could be tedious and also not be any good for binary files.
In its' current form, it's a disaster and definately not a replacement for OBEX.
A few specific problems for me
* I use the cellular network (no landline of any sort)
* Therefore I have a download limit too
* Downloads to my SSD so I want to limit what is written
Nothing on those pages has anything related to downloading as far as I can see.
There is no RAW section/button on my screen.
I am using W10 Pro and Chrome x64 v84 (latest).
I am not interested in copy/paste, nor downloading the whole git repository. So git in its' current form is useless. No point in wasting anymore time here.
IMHO currently it's better to post a thread with code on the forum. At least it's accessible for everyone there.
If the file is non-text I get a different screen that has the Download button instead. Examples attached below. Maybe other browsers will present the GitHub site differently, or you may need to turn on JavaScript etc. I don't know.
Thanks. I now see the raw when I get to the individual file. But clicking this just gives a listing of the source.
When downloading a zip file (like Eric's flexgui) and unzip I get the date the file was created/updated. This is essential for ensuring you have the latest files. Copying/pasting would lose that info, and any other info about the file.
I fail to see any benefit in git whatsoever, just obstacles.
Unfortunately I couldn't find Jon's thread
While debugging my P2 OS I came upon this type of code I used with Kye's string handling (ASCII0 String Engine) spin1 code Using JonnyMac's serial this can be simplified into the one line below (yes, I could make the above into 1 line but it wouldn't be readable)