added pinmask_type to all board files
This commit is contained in:
parent
1841009e04
commit
ecccfc2dc9
|
@ -10,6 +10,7 @@
|
||||||
* General
|
* General
|
||||||
*/
|
*/
|
||||||
#define PORT_TYPE uint8_t //Size of the port variables (Eg inj1_pin_port).
|
#define PORT_TYPE uint8_t //Size of the port variables (Eg inj1_pin_port).
|
||||||
|
#define PINMAKS_TYPE uint8_t
|
||||||
void initBoard();
|
void initBoard();
|
||||||
uint16_t freeRam();
|
uint16_t freeRam();
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
***********************************************************************************************************
|
***********************************************************************************************************
|
||||||
* General
|
* General
|
||||||
*/
|
*/
|
||||||
#define PORT_TYPE uint8_t
|
#define PORT_TYPE uint32_t
|
||||||
|
#define PINMAKS_TYPE uint32_t
|
||||||
#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()
|
#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()
|
||||||
#define USE_SERIAL3
|
#define USE_SERIAL3
|
||||||
void initBoard();
|
void initBoard();
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
void initBoard();
|
void initBoard();
|
||||||
uint16_t freeRam();
|
uint16_t freeRam();
|
||||||
#define PORT_TYPE uint8_t //Size of the port variables
|
#define PORT_TYPE uint8_t //Size of the port variables
|
||||||
|
#define PINMAKS_TYPE uint8_t
|
||||||
#define BOARD_DIGITAL_GPIO_PINS 34
|
#define BOARD_DIGITAL_GPIO_PINS 34
|
||||||
#define BOARD_NR_GPIO_PINS 34
|
#define BOARD_NR_GPIO_PINS 34
|
||||||
#define USE_SERIAL3
|
#define USE_SERIAL3
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
* General
|
* 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 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_NR_GPIO_PINS 52 //Not sure this is correct
|
||||||
#define BOARD_DIGITAL_GPIO_PINS 52 //Pretty sure this isn't right
|
#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()
|
#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()
|
||||||
|
|
Loading…
Reference in New Issue