Initial merge of Nordic Semi nRF51/52 from Unicore MX back into Libopencm3

* merged: nrf tree from unicore-mx
* fixed: small changes to make merged code play with rest of locm3 again
* added: linker script generator defines for nRF51/52 stubs
* added: doxygen support

This removes code and changes names and styles where relevant to be more
inline with normal libopencm3.

NRF52x library is built for hardfloat, M4F by default.  The M4 no float
variants are less common, and if needed, the library can be built
manually for those variants.  Unless some very common boards show up
using those parts, we don't need an extra library build.

Reviewed-by: Karl Palsson <karlp@tweak.net.au>
Tested-by: Karl Palsson <karlp@tweak.net.au>
This commit is contained in:
Eduard Drusa
2021-11-19 11:06:27 +01:00
committed by Karl Palsson
parent c36a4538b0
commit 213a6b4244
75 changed files with 4951 additions and 0 deletions

View File

@@ -496,6 +496,20 @@ pac5527 pac55xx ROM=128K RAM=32K
pac5532 pac55xx ROM=128K RAM=32K
pac5556 pac55xx ROM=128K RAM=32K
################################################################################
# nRF52xx Cortex-M4 based chips
nrf52805* nrf52sf ROM=192k RAM=24K
nrf52810* nrf52sf ROM=192k RAM=24K
nrf52811* nrf52sf ROM=192k RAM=24K
nrf52820* nrf52sf ROM=256k RAM=32K
nrf52832qfaa nrf52fp ROM=512K RAM=64K
nrf52832qfab nrf52fp ROM=256K RAM=32K
nrf52832ciaa nrf52fp ROM=512K RAM=64K
nrf52833* nrf52fp ROM=512K RAM=128K
nrf52840* nrf52fp ROM=1024K RAM=256K
################################################################################
################################################################################
################################################################################
@@ -600,3 +614,13 @@ vf6xx END CPU=cortex-m4 FPU=hard-fpv4-sp-d16
# PAC55xx families
pac55xx END ROM_OFF=0x00000000 RAM_OFF=0x20000000 CPU=cortex-m4 FPU=hard-fpv4-sp-d16
################################################################################
# nRF52xx families
#
nrf52sf nrf52 FPU=soft
nrf52fp nrf52 FPU=hard-fpv4-sp-d16
nrf52 END ROM_OFF=0x00000000 RAM_OFF=0x20000000 CPU=cortex-m4