From 46ef9be075c3b57bdac4e33ba6d4113f66d91dba Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Mon, 27 Sep 2021 19:50:56 +0100 Subject: [PATCH] samples: canopennode: fix the sample path The sample code got moved in 613f1cde4a, update the old path to the current one. Signed-off-by: Fabio Baltieri --- samples/modules/canopennode/README.rst | 18 +++++++++--------- .../modules/canopennode/objdict/objdict.xml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/samples/modules/canopennode/README.rst b/samples/modules/canopennode/README.rst index 7da9b5ab306..8ebafa01b03 100644 --- a/samples/modules/canopennode/README.rst +++ b/samples/modules/canopennode/README.rst @@ -34,7 +34,7 @@ LEDs). The sample can be built and executed for the TWR-KE18F as follows: .. zephyr-app-commands:: - :zephyr-app: samples/subsys/canbus/canopen + :zephyr-app: samples/modules/canopennode :board: twr_ke18f :goals: build flash :compact: @@ -53,7 +53,7 @@ LED indicators (red and green LEDs) The sample can be built and executed for the FRDM-K64F as follows: .. zephyr-app-commands:: - :zephyr-app: samples/subsys/canbus/canopen + :zephyr-app: samples/modules/canopennode :board: frdm_k64f :goals: build flash :compact: @@ -66,7 +66,7 @@ Building and Running for boards without storage partition The sample can be built for boards without a flash storage partition by using a different configuration file: .. zephyr-app-commands:: - :zephyr-app: samples/subsys/canbus/canopen + :zephyr-app: samples/modules/canopennode :board: :conf: "prj_no_storage.conf" :goals: build flash @@ -352,7 +352,7 @@ for the FRDM-K64F as follows: #. Rebuild the CANopen sample with MCUboot support: .. zephyr-app-commands:: - :zephyr-app: samples/subsys/canbus/canopen + :zephyr-app: samples/modules/canopennode :board: frdm_k64f :goals: build :gen-args: -DCONFIG_BOOTLOADER_MCUBOOT=y @@ -392,20 +392,20 @@ for the FRDM-K64F as follows: Modifying the Object Dictionary ******************************* The CANopen object dictionary used in this sample application can be -found under :zephyr_file:`samples/subsys/canbus/canopen/objdict` in +found under :zephyr_file:`samples/modules/canopennode/objdict` in the Zephyr tree. The object dictionary can be modified using any object dictionary editor supporting CANopenNode object dictionary code generation. A popular choice is the EDS editor from the `libedssharp`_ project. With that, the -:zephyr_file:`samples/subsys/canbus/canopen/objdict/objdicts.xml` +:zephyr_file:`samples/modules/canopennode/objdict/objdicts.xml` project file can be opened and modified, and new implementation files -(:zephyr_file:`samples/subsys/canbus/canopen/objdict/CO_OD.h` and -:zephyr_file:`samples/subsys/canbus/canopen/objdict/CO_OD.c`) can be +(:zephyr_file:`samples/modules/canopennode/objdict/CO_OD.h` and +:zephyr_file:`samples/modules/canopennode/objdict/CO_OD.c`) can be generated. The EDS editor can also export an updated Electronic Data Sheet (EDS) file -(:zephyr_file:`samples/subsys/canbus/canopen/objdict/objdicts.eds`). +(:zephyr_file:`samples/modules/canopennode/objdict/objdicts.eds`). .. _CANopenNode: https://github.com/CANopenNode/CANopenNode diff --git a/samples/modules/canopennode/objdict/objdict.xml b/samples/modules/canopennode/objdict/objdict.xml index 419c9ce4955..a72ea167798 100644 --- a/samples/modules/canopennode/objdict/objdict.xml +++ b/samples/modules/canopennode/objdict/objdict.xml @@ -1018,7 +1018,7 @@ The counter can be reset by writing the value 0. - + 0