1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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:
Benjamin Valentin 2021-02-14 00:29:47 +01:00
parent 76c03291dc
commit 5a11fd2c66

View File

@ -57,6 +57,11 @@ extern "C" {
#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
* buffer size on these CPUs