-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf noup] modules: hal_nordic: add DPPI channel allocation for NRFE
Add possibility to mark DPPI channels as allocated for software- defines peripherals. Signed-off-by: Magdalena Pastula <[email protected]>
- Loading branch information
1 parent
83195a3
commit b87e6ec
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright (c) 2024, Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#ifndef NRFE_CONFIG_H__ | ||
#define NRFE_CONFIG_H__ | ||
|
||
#ifdef CONFIG_GPIO_NRFE | ||
#include <drivers/gpio/nrfe_gpio.h> | ||
#else | ||
#error "NRFE config header included, even though no SW-define IO device is enabled." | ||
#endif | ||
|
||
#ifndef NRFE_RESERVED_PPI_CHANNELS | ||
#define NRFE_RESERVED_PPI_CHANNELS 0 | ||
#endif | ||
|
||
#endif /* NRFE_CONFIG_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters