megaTinyCore 2.0.2 released!
This fixes a few 2.0.x related bugs, fixes tinyNeoPixel compatibility issues with WS2812 (as opposed to SK6812 clones, which were more tolerant of it's incorrect timing) at 16MHz and higher. The same thing that caused that issue (ST indirect completes in 1 cycle, not 2), also allowed the ugly hackjob to get rid of the menu implemented in 2.0.1, and now there's one version of each of the libraries for all ports, with no submenu!
Wire library issues (excessively sized buffer and compile errors on 20-pin 0-series parts) fixed; also coding defensively around the way we plan for pinswaps being an option - now it always makes sure the swap exists before proceeding under the assumption that it is. Also, since 2.0.0 (or maybe earlier), the alt and default pins were backwards on 20-pin parts.
The macros that were used to identify part families were wrong for a bunch of parts
Finally - analogReadResolution() which was planned for 2.0.0 but forgotten about is now in - it has two valid options, 8 and 10. 2.1.0 will add options 11, 12, and 13 which will use oversampling and decimation (with appropriate warning from the app note on when this is applicable, and the downsides of this) by using the accumulator function)
Last but not least (er, well, I guess actually least, because it also isn't in yet). this week expect 2.0.3 which will pull in improved toolchain version to fix the R_AVR_13_PCREL errors when out of space....
Yeah, I like the idea of the jumpers. I recently found some jumper outlines that I really like - the next version is going to have a lot of tiny little jumpers for people who are interested in doing weird stuff with the board (and it's going to be the same across all the modern AVR breakouts I make - and I am going to have full set)... My current list (not all boards will have all of these, due to space/sanity):
All jumper names are preliminary, suggestions wanted - I think
Jumpers relating to Power Supply
REG: normally closed. Cut to disconnect regulator output from rest of circuit entirely
VUP: normally closed. Cut to isolate Vcc from Vcc pin of UPDI header(s)
VSER: normally closed. Cut to isolate Vcc from Vcc pin of FTDI header.
Relating to Reset:
RST_EN (reset enable or disable) - on tinies, this disconnects the whole reset circuit from the pin, on others, this only disconnects DTR from the cap - for the below:
RST_CAP (not for tinies) - if RST_EN cut, jump this to tie the side of the cap normally on DTR to gnd?
DTR_IO (not for tinies)- if RST_EN cut, jump this to tie DTR to an I/O pin
ERZ_RST (on tinies) - if RST_EN not bridged, this could connect another pin for "ersatz reset"
Others:
CTGN - connected by default, connects the "CTS" pin of serial header to ground.
CTXD - if CTGN cut, bridge this to connect "CTS" pin to an I/O pin (specifically, UART0's XDIR pin - so you could use that header for RS485 if you wanted to)
