Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Things to add #3

Open
Defragster opened this issue Mar 15, 2020 · 18 comments
Open

Things to add #3

Defragster opened this issue Mar 15, 2020 · 18 comments

Comments

@Defragster
Copy link
Contributor

** Portable version is handy: https://forum.pjrc.com/threads/60026-Windows-10-app-vs-downloaded-Arduino-app?p=232963&viewfull=1#post232963

** note on interrupts in general and the 1062 and dsb?

** page on TyCommander

@luni64
Copy link
Collaborator

luni64 commented Mar 15, 2020

page on TyCommander

It was already there, to better find it I renamed Build Systems to Compiling & Uploading
This is also good pace to add the info about the portable version

note on interrupts in general and the 1062 and dsb?

Interrupt section is a good idea. Let's see where it fits. We need to take care that all information can be found easily, otherwise we'll end up in the same situation as the forum is where one often loses sight of the wood for the trees.

@luni64
Copy link
Collaborator

luni64 commented Mar 15, 2020

Added info to the Arduino page: https://github.com/TeensyUser/doc/wiki/Arduino-IDE
Lot of stuff to add is still open, feel free to contribute... I'm not a regular IDE user, so my experience is quite limited here.

@FrankBoesing
Copy link

FrankBoesing commented Mar 15, 2020

maybe mention
a) the possibilty to use an external editor and
b) "Ausführliche kompilierung" (Weiß nicht, wie der Punkt auf Englisch heißt)

@TeensyUser
Copy link
Owner

a) is a good idea, but again, since I hardly use the IDE, it might be better if someone else is adding this.
b) I think you mean "File > Preferences > Show verbose output during compiling" right? I can add that

@Defragster
Copy link
Contributor Author

Just posted a link to this : https://forum.pjrc.com/threads/67649-Non-volatile-data-for-debugging-RTWDOG-reset?p=282962&viewfull=1#post282962

That post is here: https://forum.pjrc.com/threads/67649-Non-volatile-data-for-debugging-RTWDOG-reset?p=283519&viewfull=1#post283519

On a quick glance I didn't find a 'debug' area where adding it would fit?

Paul is doing a blog writeup for TD 1.54 - ... not sure if it will go this deep on CrashReport

@luni64
Copy link
Collaborator

luni64 commented Jul 12, 2021

Added a debugging section with some subsections:

image

Feel free to add content

@Defragster
Copy link
Contributor Author

Awesome - will give it a look

Another thing of interest is FLEXIO and see that got it's own page!

Looking over that I found this on DMA that doesn't seem to have a page?
https://forum.pjrc.com/threads/63353-Teensy-4-1-How-to-start-using-DMA?p=266991&viewfull=1#post266991

@Defragster
Copy link
Contributor Author

Defragster commented Jul 12, 2021

EDIT :: found the edit button I was missing

Those STUB's are not present pages?

Not sure how to add any notes and get it linked in to the sidebar area?

EDIT either wants to change the footer or the sidebar?

@Defragster
Copy link
Contributor Author

Added at least 3 intro placeholders for those pages ...

@luni64
Copy link
Collaborator

luni64 commented Jul 13, 2021

Good information. I fixed the code tags, no need to enclose every line in back ticks, you can use triple backticks to start and close a code block. See here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code for details.

If you follow the opening triple tags by c++ you get nice syntax highlighting

@Defragster
Copy link
Contributor Author

Thanks, I selected the code and hit the 'code' tool and it did the .code. lines as you saw it.

I knew there were better syntax - but I was just looking to drop something in there as a placeholder at least.

Web editing is a pain and everywhere is different and other than 14,370 forum.pjrc posts I don't get out much :) Even inserting hyper links are unique ...

I did add a couple of comments at SFun where they had bad specs for Teensy MMod.

@luni64
Copy link
Collaborator

luni64 commented Jul 13, 2021

Web editing is a pain and everywhere is different and other than 14,370 forum.pjrc posts I don't get out much :) Even inserting hyper links are unique ...

Agreed, but especially the GitHub web editors are quite nice to use. Looks like the editor prefers preselecting. E.g. if you click on the code tag button you get empty single back ticks. If you preselect your code and use the code tag button it nicely includes the block in the triple ticks.
Also simply pasting images or attachments from the clip board is a huge time saver.

But, as always, if one doesn't use tools regularly one tends to forget those tricks. So, for the sake of markdown training, keep the WIKI articles coming :-))

@Defragster
Copy link
Contributor Author

I did the block select and click ... had to re-edit a few times to get it to be viewable at all - and put in the bars to get line breaks.

Going to go add a full example and see ...

@Defragster
Copy link
Contributor Author

Updated watchdog example - select block and <> Code tool did dots all over again.

Redid with manual ```cpp edit as your examples.

@Defragster
Copy link
Contributor Author

Added https://github.com/TeensyUser/doc/wiki/NVRAM-usage-on-T_3.x-and-T_4.x-and-MicroMod

And renamed Debugging to add NVRAM.

Has come up a couple of times on forum ... How can an active 'state/counter' be kept.

Also demo of RESTART and Bootloader entry commands.

@luni - you can re-org as appropriate, but I managed to add a page and get it linked!

@luni64
Copy link
Collaborator

luni64 commented Jul 13, 2021

Added https://github.com/TeensyUser/doc/wiki/NVRAM-usage-on-T_3.x-and-T_4.x-and-MicroMod

That's very interesting, didn't know about the on-chip NVRAM. Will give it a try this evening.

I'm not sure if the debugging section is the right place for the page, seems only loosely coupled to debugging? What do you think about moving it to Tips & Tricks? (I can do that if you want)

@Defragster
Copy link
Contributor Author

As noted you can re-org for the best as you know what is where.

Common use is instead of recording State/Count to EEPROM in case of restart it is written to NVRAM.

Under the covers CrashReport used the RAM2 static nature to hold the Fault info. When that is extended to T_3.x it seems that NVRAM might be used ?

@luni64
Copy link
Collaborator

luni64 commented Jul 14, 2021

Moved it to the tips&tricks section:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants