Closed dlktdr closed 1 year ago
I started a xiao based on this one. Haven't posted yet, it compiles but I need to get the jlink hooked up to it yet. Also meant to ask you about the UF2 part of it. I tried with the zepher config option to generate UF2 and it still didn't.
Maybe we'll discuss on discord later/tomorrow
I've been having pretty good results on this PR. Will merge, any remaining issues can be taken care of in master.
Ok, Finally got this working, and learned lots in the process. It should be safe now but should get some extra testing.
FYI, when I first tried to build it didn't automatically switch versions. Ended up deleting my .platformio folder in /users and letting it re-install. Edit Found out without forcing the version results were arbitrary, figured it would use the most recent. ... Fixed
-O0 will no longer work as is without increasing all stack sizes. Left at -O1 for debugging. Using RTT as a debugging tool is highly helpful. Additional options to show the stack usage added to prj.conf. Using a JLink on the same USB bus isn't a good idea, wasted a lot of time on this thinking it was something in the code.