PINMAKS_TYPE defined to all boards

This commit is contained in:
Vitor_Boss 2019-03-03 02:12:33 -03:00
parent dd942c55aa
commit e150936c71
3 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@
* General
*/
#define PORT_TYPE uint8_t //Size of the port variables (Eg inj1_pin_port).
#define PINMAKS_TYPE uint8_t
void initBoard();
uint16_t freeRam();

View File

@ -9,6 +9,7 @@
void initBoard();
uint16_t freeRam();
#define PORT_TYPE uint8_t //Size of the port variables
#define PINMAKS_TYPE uint8_t
#define BOARD_DIGITAL_GPIO_PINS 34
#define BOARD_NR_GPIO_PINS 34
#define USE_SERIAL3

View File

@ -7,6 +7,7 @@
* General
*/
#define PORT_TYPE uint32_t //Size of the port variables (Eg inj1_pin_port). Most systems use a byte, but SAMD21 and possibly others are a 32-bit unsigned int
#define PINMAKS_TYPE uint32_t
#define BOARD_NR_GPIO_PINS 52 //Not sure this is correct
#define BOARD_DIGITAL_GPIO_PINS 52 //Pretty sure this isn't right
#define micros_safe() micros() //timer5 method is not used on anything but AVR, the micros_safe() macro is simply an alias for the normal micros()