Commit 44bbc98
committed
[nrf fromtree]platform: nordic_nrf: Split the target_cfg for different platforms
This splits the target_cfg.c file for the different platfoms.
It splits the file into two files one for the nRF54L and one for
the nRF91/nRF53 series.
There is no need for the peripherals to be in the same file as
the configuration code. There is already a header which
provides extern definitions for all the peripherals a
device supports which can be used for for source files
needing to configure peripherals. So this peripheral definitions
are placed in a separate file.
Most of the code is taken unchanged from the target_cfg.c file
and the uneeded ifdefs got removed.
The init_debug function got rewritten without changing the logic
of it.
Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
Change-Id: I19071727061b8952e3abbae20dd182c822234427
(cherry picked from commit 37e8dc4)1 parent 53a6c1c commit 44bbc98
6 files changed
Lines changed: 1693 additions & 1539 deletions
File tree
- platform/ext/target/nordic_nrf/common/core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
209 | 212 | | |
210 | 213 | | |
211 | 214 | | |
| |||
0 commit comments