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

feat!: bump nrf sdk version from 2.6.2 to 2.7.0 #56

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/softsim-zephyr-rtos-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:

strategy:
matrix:
board: [nrf9160dk_nrf9160_ns, nrf9161dk_nrf9161_ns, nrf9151dk_nrf9151_ns, thingy91_nrf9160_ns, actinius_icarus_ns]
board: [nrf9160dk/nrf9160/ns, nrf9161dk/nrf9161/ns, nrf9151dk/nrf9151/ns]
# board: [nrf9160dk/nrf9160/ns, nrf9161dk/nrf9161/ns, nrf9151dk/nrf9151/ns, thingy91/nrf9160/ns, actinius/icarus/ns]

steps:
# Initialize a Zephyr West workspace in its default format
Expand All @@ -44,12 +45,12 @@ jobs:
- name: Build firmware of static profile sample
working-directory: modules/lib/onomondo-softsim/samples/softsim_static_profile
run: |
west build --pristine=always --board ${{ matrix.board }}
west build --sysbuild --pristine=always --board ${{ matrix.board }}

- name: Build firmware of external profile sample
working-directory: modules/lib/onomondo-softsim/samples/softsim_external_profile
run: |
west build --pristine=always --board ${{ matrix.board }}
west build --sysbuild --pristine=always --board ${{ matrix.board }}

- name: Archive SoftSIM External Profile Build
uses: actions/upload-artifact@v4
Expand Down
3 changes: 3 additions & 0 deletions Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
menu "Onomondo SoftSIM Options"

config SOFTSIM
bool "SoftSIM"
depends on NVS
Expand Down Expand Up @@ -37,6 +39,7 @@ config SOFTSIM_BUNDLE_TEMPLATE_HEX

endif #SOFTSIM

endmenu

module = SOFTSIM
module-str = Onomondo-SoftSIM
Expand Down
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# Onomondo SoftSIM for Nordic nRF91 Series

> [!IMPORTANT]
> This repository is currently supporting nRF Connect SDK v2.5.1 to v2.6.2.
> This repository is currently transitioning to Zephyr Sysbuild
>
> The repository is not yet ported to default sysbuild, introduced in nRF Connect SDK v2.7.0.
> Please ensure that West is configured accordingly or that you build the project using the --sysbuild argument.
>
> To build the samples with nRF Connect SDK v2.7.0, use the build option --no-sysbuild
>
> Feel free to contribute to this repository if you have already done the migration to sysbuild.
> Feel free to raise an issue or contribute to this repository if you experience any issue with the migration to sysbuild.

The Onomondo SoftSIM is an [Open Source](https://github.com/onomondo/onomondo-uicc) C based UICC implementation, allowing new and innovative cellular device designs to see the light of day in the ever-growing landscape of IoT!

Expand All @@ -28,7 +26,7 @@ west update
Getting started with the external profile sample
```
cd modules/lib/onomondo-softsim/samples/softsim_external_profile
west build -b nrf9151dk_nrf9151_ns
west build -b nrf9151dk/nrf9151/ns
west flash
```

Expand Down Expand Up @@ -140,15 +138,15 @@ Which results in:

For most samples and applications, it's sufficient to build by executing the following command:
```_
west build -b nrf9151dk_nrf9151_ns -- "-DOVERLAY_CONFIG=$PATH_TO_ONOMONDO_SOFTSIM/overlay-softsim.conf"
west build -b nrf9151dk/nrf9151/ns -- "-DOVERLAY_CONFIG=$PATH_TO_ONOMONDO_SOFTSIM/overlay-softsim.conf"
```
Where `PATH_TO_ONOMONDO_SOFTSIM` is the path of the downloaded Onomondo SoftSIM repository, for example `$HOME/ncs/nrf-softsim-dev`.

#### Note
SoftSIM is relying on some default data in the storage partition. This section of the flash can be generated and flashed manually (see steps below) or, as we recommend, automatically included by `CONFIG_SOFTSIM_BUNDLE_TEMPLATE_HEX=y`

Manually generating SoftSIM profile template data:
1. After building the application, generate the application-specific template profile. `west build -b nrf9151dk_nrf9151_ns -t onomondo_softsim_template`
1. After building the application, generate the application-specific template profile. `west build -b nrf9151dk/nrf9151/ns -t onomondo_softsim_template`
2. Flash the application-specific template profile. `west flash --hex-file build/onomondo-softsim/template.hex`

If the partition table of the application changes, for example due to another partition changing size, the template profile must be rebuilt and flashed again.
Expand All @@ -162,7 +160,7 @@ Some applications will fail to link with error `zephyr/zephyr_pre0.elf uses VFP
the application directory.
The application can then be built like this:
```
west build -b nrf9151dk_nrf9151_ns -- "-DOVERLAY_CONFIG=$PATH_TO_ONOMONDO_SOFTSIM/overlay-softsim.conf;overlay-softsim.conf"
west build -b nrf9151dk/nrf9151/ns -- "-DOVERLAY_CONFIG=$PATH_TO_ONOMONDO_SOFTSIM/overlay-softsim.conf;overlay-softsim.conf"
```

#### Note
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ manifest:
projects:
- name: sdk-nrf
path: nrf
revision: v2.6.2
revision: v2.7.0
remote: nrfconnect
import: true
self:
Expand Down
3 changes: 2 additions & 1 deletion zephyr/module.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: softsim

build:
cmake: .
kconfig: ./Kconfig
depends:
- trusted-firmware-m

samples:
- samples
- samples
Loading