Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: ram_pwrdn: power up/down RAM sections on heap resize #2

Closed
wants to merge 230 commits into from

Conversation

Damian-Nordic
Copy link
Owner

  1. Extend RAM Power Down library with two functions for
    powering up and down RAM sections for the given address
    range.
  2. Enable the library for nRF52840 and nRF52833 SOCs instead
    of just corresponding development kits.
  3. Add RAM_POWER_ADJUST_ON_HEAP_RESIZE Kconfig option which
    automatically disables RAM sections not used by the
    application image at boot time, and then adjusts the RAM
    power configuration based on the current libc heap size.
  4. Add integration test for the mentioned functionality.

simensrostad and others added 22 commits January 11, 2022 09:06
Update `roam` and `dev` objects:

- Move band and network mode from `dev` to `roam`.

*The reported network mode is now the mode that is actually used by
the modem in the LTE connection, not the network modes that the modem
is configured to use.*

- Add IMEI to `dev` object.

Fixes CIA-463, NCSIDB-641, and CIA-368

Signed-off-by: Simen S. Røstad <[email protected]>
Counting on process field of the http client lib response for
indicating content length. This fixes a situation when response does
not have Content-Length field at all.

Signed-off-by: Jani Hirsimäki <[email protected]>
Fixed compilation error with native_posix target on missing bool type
by adding zephyr.h include.
Signed-off-by: Tommi Rantanen <[email protected]>
This renames the dependency `GPS_MODULE` to `GNSS_MODULE`
which was renamed in
nrfconnect#6392

Signed-off-by: Markus Tacker <[email protected]>
Add support for atmospheric pressure readings from the BME680 sensor on
the Thingy:91.

Fixes CIA-442

Signed-off-by: Simen S. Røstad <[email protected]>
Removed mpsl_cx.c file and moved initialization of cx to
corresponding cx implementations. This allows adding of cx
implementations also as modules in customer-specific repositories
which is not referenced by the sdk-nrf repository.

Signed-off-by: Andrzej Kuros <[email protected]>
link nmodeauto: fixed usage of --enable_no_rel14.
In case when that was enabled, and link funmode was used between with
the REL14 enabled (-1), that caused next auto connect also to be made
with REL14.
Jira: MOSH-207

Signed-off-by: Jani Hirsimäki <[email protected]>
Had to disable more features from Thingy overlay in order to get MoSh
fit to available flash. Adding also Thingy build into sample.yaml.

Signed-off-by: Jani Hirsimäki <[email protected]>
…mmands

Had to disable more features from lwm2m builds in order to get MoSh fit
to available flash.

Signed-off-by: Jani Hirsimäki <[email protected]>
Modified implementation so that Modem library is initialized in
SYS_INIT, unless the LwM2M Carrier library overlay is used.

Signed-off-by: Tommi Kangas <[email protected]>
Adding missing indentation for thingy91.

Signed-off-by: Jani Hirsimäki <[email protected]>
Add filtered ephemerides support, with ability to set threshold angle.

When filtered ephemerides is enabled, only allow updates
once every 2 hours.

Signed-off-by: Pete Skeggs <[email protected]>
Co-authored-by: Tommi Kangas <[email protected]>
Add support for filtered ephemerides and setting elevation mask angle.
Add filter values to cloud_data_agps_request struct.

Signed-off-by: Pete Skeggs <[email protected]>
Co-authored-by: Simen S. Røstad <[email protected]>
Add support for filtered ephemerides and elevation mask angle.

Signed-off-by: Pete Skeggs <[email protected]>
Add support for filtered ephemerides.

Signed-off-by: Pete Skeggs <[email protected]>
When using A-GPS filtered ephemerides mode, suppress
the last assistance request time check in send_agps_request in
main.c, and let the filtered mode code in nrf_cloud_agps.c
take control.

Signed-off-by: Pete Skeggs <[email protected]>
This documents changes to libraries and
applications to support A-GPS filtered ephemerides
mode when using MQTT with nRF Cloud.

Signed-off-by: Pete Skeggs <[email protected]>
Co-authored-by: Tommi Kangas <[email protected]>
Port from at_cmd to nrf_modem_at.

Signed-off-by: Mirko Covizzi <[email protected]>
Port from at_cmd to nrf_modem_at.

Signed-off-by: Mirko Covizzi <[email protected]>
This commits ads overlays to enable rtt logging and thread awareness
on openthread cli sample.

Signed-off-by: Przemyslaw Bida <[email protected]>
The modem traces sent over UARTE was limited to 255 bytes even though
most chipsets allow a significantly larger buffer to be sent. This
commit changes the max size to be the defined max size for the chipset.

CIA-515

Signed-off-by: Gregers Gram Rygg <[email protected]>
Fixes misspelling in word "CONFIG" in direct advertising.
This issue caused device to not work properly when direct advertising
option was turned on.

Jira: NCSDK-13058

Signed-off-by: Aleksander Strzebonski <[email protected]>
In case fw download is restarted a reset of dfu target is missing
causing invalid writing to dfu target.

Signed-off-by: Andreas Chmielewski <[email protected]>
srv_init fails if any of the property ID within server is 0
prevent listing of 0 property IDs

Signed-off-by: Alperen Sener <[email protected]>
Removed nrf specific trace print for POLLHUP in Curl_poll().
It was find out that this is seen in OK cases where TCP FIN
contained last payload http data. Happened especially with NB-IoT.
Jira: MOSH-217

Signed-off-by: Jani Hirsimäki <[email protected]>
This PR updates sdk-nrf-802154 and nrfxlib revisions to bring in
the latest changes in the nrf_802154 component.

Signed-off-by: Artur Hadasz <[email protected]>
Also update tests/modules/lib/cddl-gen to run on 0.3.0

The new cddl-gen version is 0.3.0 + a change to the
module folder to allow placing a CMakeLists.txt in the
nrf repo.

Signed-off-by: Øyvind Rønningstad <[email protected]>
Remove regex since it is installed together with cddl-gen and was
not used by any other scripts.

Signed-off-by: Øyvind Rønningstad <[email protected]>
pdunaj and others added 4 commits January 26, 2022 13:31
The latest changes in Zephyr require us to increase the idle thread
stack size a bit if it was set to 128 bytes.
I have checked and it seems we have this setting inconsistent
between boards and even one board. We also have space in RAM.
Let's then use the default stack proposed by Zephyr.

Signed-off-by: Pawel Dunaj <[email protected]>
Update hw_unique_key_tfm to be compatible with mbedtls 3.0.

It was using a deprecated macro.

Signed-off-by: Sebastian Bøe <[email protected]>
The heap size was ridiculous causing a RAM overflow of 56
bytes. Reduce it by 10k so we have 9.9k of extra RAM.

Signed-off-by: Sebastian Bøe <[email protected]>
Disable testing of the unsupported cipher mode OFB in the TF-M
regression tests.

Signed-off-by: Joakim Andersson <[email protected]>
1. Add RAM_POWER_ADJUST_ON_HEAP_RESIZE Kconfig option which
   automatically disables RAM sections not used by the
   application image at boot time, and then adjusts the RAM
   power configuration based on the current libc heap size.
2. Add integration test for the mentioned functionality.

Signed-off-by: Damian Krolik <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment