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

app: enable CONFIG_WARN_EXPERIMENTAL when building for device_next #78

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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ To use the `release` configuration, which has reduced log levels, set `FILE_SUFF
west build -b lpcxpresso55s16/lpc55s16 cannectivity/app/ -- -DFILE_SUFFIX=release
```

Build configurations for using the experimental `device_next` USB device stack in Zephyr are also
provided. These can be selected by setting either `FILE_SUFFIX=usbd_next` or
`FILE_SUFFIX=usbd_next_release`.

After building, the firmware can be flashed to the board by running the `west flash` command.

> **Note:** Build configurations for using the experimental `device_next` USB device stack in
> Zephyr are also provided. These can be selected by setting either `FILE_SUFFIX=usbd_next` or
> `FILE_SUFFIX=usbd_next_release`.

## USB Device Firmware Upgrade (DFU) Mode

CANnectivity supports USB Device Firmware Upgrade
Expand Down
2 changes: 2 additions & 0 deletions app/prj_usbd_next.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CONFIG_WARN_EXPERIMENTAL=y

CONFIG_LOG=y
CONFIG_UDC_DRIVER_LOG_LEVEL_WRN=y
CONFIG_USBD_LOG_LEVEL_WRN=y
Expand Down
2 changes: 2 additions & 0 deletions app/prj_usbd_next_release.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CONFIG_WARN_EXPERIMENTAL=y

CONFIG_LOG=y
CONFIG_UDC_DRIVER_LOG_LEVEL_WRN=y
CONFIG_USBD_LOG_LEVEL_WRN=y
Expand Down
10 changes: 6 additions & 4 deletions doc/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ To use the ``release`` configuration, which has reduced log levels, set ``FILE_S

west build -b lpcxpresso55s16/lpc55s16 cannectivity/app/ -- -DFILE_SUFFIX=release

Build configurations for using the experimental ``device_next`` USB device stack in Zephyr are also
provided. These can be selected by setting either ``FILE_SUFFIX=usbd_next`` or
``FILE_SUFFIX=usbd_next_release``.

After building, the firmware can be flashed to the board by running the ``west flash`` command.

.. note::

Build configurations for using the experimental ``device_next`` USB device stack in Zephyr are
also provided. These can be selected by setting either ``FILE_SUFFIX=usbd_next`` or
``FILE_SUFFIX=usbd_next_release``.

USB Device Firmware Upgrade (DFU) Mode
--------------------------------------

Expand Down