Skip to content
Merged
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ CANnectivity supports USB Device Firmware Upgrade
with boards without an on-board programmer.

To build CANnectivity with MCUboot integration for USB DFU use
[sysbuild](https://docs.zephyrproject.org/latest/build/sysbuild/index.html) with the
`sysbuild-dfu.conf` configuration file when building for your board (here `frdm_k64f`):
[sysbuild](https://docs.zephyrproject.org/latest/build/sysbuild/index.html) when building for your
board (here `frdm_k64f`):

```shell
west build -b frdm_k64f/mk64f12 --sysbuild cannectivity/app/ -- -DSB_CONF_FILE=sysbuild-dfu.conf
west build -b frdm_k64f/mk64f12 --sysbuild cannectivity/app/
```

After building, MCUboot and the CANnectivity firmware can be flashed to the board by running the
Expand Down
3 changes: 0 additions & 3 deletions app/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ tests:
- canbardo
extra_args:
- FILE_SUFFIX=legacy
- SB_CONF_FILE=sysbuild-dfu.conf
app.cannectivity.dfu:
sysbuild: true
depends_on:
Expand All @@ -124,5 +123,3 @@ tests:
- frdm_k64f
- frdm_mcxn947/mcxn947/cpu0
- lpcxpresso55s16
extra_args:
- SB_CONF_FILE=sysbuild-dfu.conf
File renamed without changes.
5 changes: 2 additions & 3 deletions doc/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ CANnectivity supports USB :external+zephyr:ref:`Device Firmware Upgrade <dfu>` (
`MCUboot`_ bootloader. This is intended for use with boards without an on-board programmer.

To build CANnectivity with MCUboot integration for USB DFU use :external+zephyr:ref:`sysbuild
<sysbuild>` with the ``sysbuild-dfu.conf`` configuration file when building for your board (here
``frdm_k64f``):
<sysbuild>` when building for your board (here ``frdm_k64f``):

.. code-block:: console

west build -b frdm_k64f/mk64f12 --sysbuild ../custom/cannectivity/app/ -- -DSB_CONF_FILE=sysbuild-dfu.conf
west build -b frdm_k64f/mk64f12 --sysbuild ../custom/cannectivity/app/

After building, MCUboot and the CANnectivity firmware can be flashed to the board by running the
``west flash`` command.
Expand Down
Loading