X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quantum%2Fconfig_common.h;h=bc4d9ec1af1a03a9f4d079cf0c6a8abaae93fb8e;hb=7ec583e5efb276ce90a40a1df985de7d0d0b8f46;hp=0b2e408a43f238e5b5ad7d04942f12a1b4649667;hpb=d977daa8dc9136746425f9e1414e1f93cb161877;p=qmk_firmware.git diff --git a/quantum/config_common.h b/quantum/config_common.h index 0b2e408a4..bc4d9ec1a 100644 --- a/quantum/config_common.h +++ b/quantum/config_common.h @@ -59,6 +59,11 @@ #define PINC_ADDRESS 0x3 #define PINB_ADDRESS 0x6 #define PINA_ADDRESS 0x9 + #elif defined(__AVR_ATmega328P__) + #define ADDRESS_BASE 0x00 + #define PINB_ADDRESS 0x3 + #define PINC_ADDRESS 0x6 + #define PIND_ADDRESS 0x9 #else #error "Pins are not defined" #endif @@ -199,6 +204,8 @@ #define B13 PAL_LINE(GPIOB, 13) #define B14 PAL_LINE(GPIOB, 14) #define B15 PAL_LINE(GPIOB, 15) + #define B16 PAL_LINE(GPIOB, 16) + #define B17 PAL_LINE(GPIOB, 17) #define C0 PAL_LINE(GPIOC, 0) #define C1 PAL_LINE(GPIOC, 1) #define C2 PAL_LINE(GPIOC, 2)