Only download Microchip pack if avr-libc doesnt support ATtiny3216

This commit is contained in:
Allen Hill
2023-08-22 11:59:41 -04:00
parent 23ea7ee463
commit eb93931522
3 changed files with 61 additions and 11 deletions
+5
View File
@@ -47,6 +47,11 @@
__asm__ __volatile__( \
"cbi %[vporta_out], 6;" ::[vporta_out] "I"(_SFR_IO_ADDR(VPORTA_OUT)));
// Name difference between avr-libc and Microchip pack
#if defined(EVSYS_ASYNCCH00_bm)
#define EVSYS_ASYNCCH0_0_bm EVSYS_ASYNCCH00_bm
#endif
uint8_t CD_ID_1;
uint8_t CD_ID_2;