Commit Graph

11 Commits

Author SHA1 Message Date
Alberto Escolar Piedras 20e134eea3 TIMER: Completed, including all count functionality
* Added missing count compare functionality
* Now each timers has the right amount of CC
  registers, events and tasks
* Interrupts are now level based

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-07-27 16:08:26 +02:00
Alberto Escolar Piedras 46a3f44403 docs: Miscelaneous improvements
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-07-21 11:22:08 +02:00
Alberto Escolar Piedras 2a5984e58c GPIO docs: Added paragraph about comments and empty lines on input files
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-07-04 12:47:24 +02:00
Alberto Escolar Piedras c1479fc405 GPIO: Add better documentation
Move documentation to its own file, and expand.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-07-03 16:28:39 +02:00
Alberto Escolar Piedras a7960c4017 docs: Add notes on ARM peripherals
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-03-16 16:31:19 +01:00
Alberto Escolar Piedras 1e0c0cd1e6 RADIO: Added documentation
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-03-10 09:55:28 +01:00
Alberto Escolar Piedras 6f8b238a53 Model a nrf52833 instead of a nrf52832
Motivation for the change:

The nrf52833 is for the purpose of these models practically the
same as a 52832, but it includes the HEADER_MASK register in the
AES_CCM module which is needed for proper encrypted BIS support.

Changing the version of the HW we model can cause minor trouble
for users, i.e. require them to change the configuration of their SW,
but at this point is believed most users will desire sooner or
later full BLE ISO support.

Change:

* Changed version we compile as from NRF52832_XXAA to NRF52833_XXAA
* Number of interrupts increased to 47 (32 was too low even for 52832)
* Updated all documentation references to point to 52833 docs
* Updated description of missing features (no new 52833 features
  implemented so far)

******************************************************************
Expect backwards/forward compatibility changes from/to this commit
******************************************************************

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-01-24 09:18:13 +01:00
Rubin Gerritsen 71a8a9ef08 nrfx: Use actual nrfx instead of manually modified files
Warning. This commit breaks backwards compatibility with
Zephyr <= 2.4.0.

With nrfx 2.3.0 it is possible to include the MDK files on
non-ARM platforms. As the MDK has a depenency to cmsis core
files, a simple mocked core_cm4.h has been provided.

By defining NRF_DECLARE_ONLY and NRF_STATIC_INLINE to nothing,
no functions are inlined. This ensures that it is possible to
mock the peripherals.

For a non-zephyr build, the application must provide the
environment varianble NRFX_BASE.

The user of the nRF MDK or nrfx must ensure that the peripheral
pointers are redefined before they are used. This is done in
nrfx_bsim_redef.h. Include this header after including nrf.h
or similar. When using nrfx, this inclusion can be placed in
nrfx_glue.h

For non-zephyr builds, a nrfx_config and nrfx_glue is provided.
Other builds should include nrfx_config_bsim.h and nrfx_glue_bsim.h
in their config and glue files.

The original implementation of the HAL APIs from the real nrfx
is included in `nrf_hal_originals.c`.
All these functions are labelled as weak,
so they can be replaced as needed with new definition in `src/nrfx/hal/`
This removes the need for duplicating code.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
2020-10-12 10:52:15 +02:00
Alberto Escolar Piedras 1001c97bd4 Documentation: Expand greatly
Added a lot more information about:
* how the HW models are built
* what one would need to do if they wanted to use them
  without the nr52_bsim.
* About the nRFx HAL replacement

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2019-08-04 15:52:21 +02:00
Alberto Escolar Piedras d6282847af doc: README minor fixes 2018-09-16 13:17:58 +02:00
Alberto Escolar Piedras e9b643d6d5 First commit
Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2018-09-14 13:18:38 +02:00