cpu/nrf51: define GPIO_COUNT
GPIO_COUNT is not defined in the vendor headers, but it's always one for this family (one GPIO port).
This commit is contained in:
parent
76c03291dc
commit
5a11fd2c66
@ -57,6 +57,11 @@ extern "C" {
|
|||||||
#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT (4U)
|
#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT (4U)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief nRF51 only has one GPIO block
|
||||||
|
*/
|
||||||
|
#define GPIO_COUNT (1U)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Due to RAM restrictions, we need to limit the default GNRC packet
|
* @brief Due to RAM restrictions, we need to limit the default GNRC packet
|
||||||
* buffer size on these CPUs
|
* buffer size on these CPUs
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user