USART bitmask changed in newer versions of the DFP #392
Replies: 1 comment 1 reply
-
By DFP do you mean ATPACK? Because I'm already using the new ATPACks where you guys did something that I have trouble charachterizing in polite company, and changed the names of all the bitfields and all the bit positions every name that represented a multibit bitfield. I will be sure to correct that scroll a few screens down in core_devices.h in megaavr/cores/dxcore - use a combination of findall w/regex, copy, pasted into new file, several times, in order to that gigundo block (something 3k lines) of obnoxious preprocessor stuff to make sure that the old names work. Because if I upgrade the ATPACK version to support new parts or whatever - and it breaks something, I can point my finger and you guys, but the people are still pissed at me and start telling all their friends "Don't use his core, it used to be good be now none of my old code works, he refuses to fix it, so that cores no good anymore does anyone know if there's is there any WORKING core for these part that isn't written by some moron like that dude?" So every time you break compatibility, I have to put in backwards compatibility hacks, and despite days of trying I haven't been able to maker a deprecation notice show. I can make a deprecation notice show whether they used the old names or not (worse than useless), but not make it show only when the deprecated constant has been used. Now if I could get the avr-gcc |
Beta Was this translation helpful? Give feedback.
-
USART_RXMODE0_bm is changed to USART_RXMODE_0_bm in the newer versions of the DFP (I'm testing with 2.2.159). Just to provide a heads up when you update the DFP the core uses. The only place I found where this was an issue is at this line:
DxCore/megaavr/cores/dxcore/UART.cpp
Line 553 in 44efdd2
Beta Was this translation helpful? Give feedback.
All reactions