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 <fabio.baltieri@gmail.com>
This commit is contained in:
Fabio Baltieri 2021-09-27 19:50:56 +01:00 committed by Christopher Friedt
commit 46ef9be075
2 changed files with 10 additions and 10 deletions

View file

@ -34,7 +34,7 @@ LEDs). The sample can be built and executed for the TWR-KE18F as
follows: follows:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/subsys/canbus/canopen :zephyr-app: samples/modules/canopennode
:board: twr_ke18f :board: twr_ke18f
:goals: build flash :goals: build flash
:compact: :compact:
@ -53,7 +53,7 @@ LED indicators (red and green LEDs)
The sample can be built and executed for the FRDM-K64F as follows: The sample can be built and executed for the FRDM-K64F as follows:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/subsys/canbus/canopen :zephyr-app: samples/modules/canopennode
:board: frdm_k64f :board: frdm_k64f
:goals: build flash :goals: build flash
:compact: :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: The sample can be built for boards without a flash storage partition by using a different configuration file:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/subsys/canbus/canopen :zephyr-app: samples/modules/canopennode
:board: <your_board_name> :board: <your_board_name>
:conf: "prj_no_storage.conf" :conf: "prj_no_storage.conf"
:goals: build flash :goals: build flash
@ -352,7 +352,7 @@ for the FRDM-K64F as follows:
#. Rebuild the CANopen sample with MCUboot support: #. Rebuild the CANopen sample with MCUboot support:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/subsys/canbus/canopen :zephyr-app: samples/modules/canopennode
:board: frdm_k64f :board: frdm_k64f
:goals: build :goals: build
:gen-args: -DCONFIG_BOOTLOADER_MCUBOOT=y :gen-args: -DCONFIG_BOOTLOADER_MCUBOOT=y
@ -392,20 +392,20 @@ for the FRDM-K64F as follows:
Modifying the Object Dictionary Modifying the Object Dictionary
******************************* *******************************
The CANopen object dictionary used in this sample application can be 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 the Zephyr tree. The object dictionary can be modified using any
object dictionary editor supporting CANopenNode object dictionary code object dictionary editor supporting CANopenNode object dictionary code
generation. generation.
A popular choice is the EDS editor from the `libedssharp`_ A popular choice is the EDS editor from the `libedssharp`_
project. With that, the 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 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/modules/canopennode/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.c`) can be
generated. The EDS editor can also export an updated Electronic Data generated. The EDS editor can also export an updated Electronic Data
Sheet (EDS) file Sheet (EDS) file
(:zephyr_file:`samples/subsys/canbus/canopen/objdict/objdicts.eds`). (:zephyr_file:`samples/modules/canopennode/objdict/objdicts.eds`).
.. _CANopenNode: .. _CANopenNode:
https://github.com/CANopenNode/CANopenNode https://github.com/CANopenNode/CANopenNode

View file

@ -1018,7 +1018,7 @@ The counter can be reset by writing the value 0.</description>
</CANopenObject> </CANopenObject>
</CANopenObjectList> </CANopenObjectList>
<other> <other>
<file fileName="objdict.xml" fileCreator="" fileCreationDate="09-18-2019" fileCreationTime="2:52PM" fileModifedBy="" fileMotifcationDate="02-20-2020" fileModificationTime="12:28PM" fileVersion="1" fileRevision="1" exportFolder="/home/hebad/Projects/zephyrproject/zephyr/samples/subsys/canbus/canopen/objdict" EdsFile="/home/hebad/Projects/zephyrproject/zephyr/samples/subsys/canbus/canopen/objdict/objdict.eds" /> <file fileName="objdict.xml" fileCreator="" fileCreationDate="09-18-2019" fileCreationTime="2:52PM" fileModifedBy="" fileMotifcationDate="02-20-2020" fileModificationTime="12:28PM" fileVersion="1" fileRevision="1" exportFolder="samples/modules/canopennode/objdict" EdsFile="samples/modules/canopennode/objdict/objdict.eds" />
<DeviceIdentity> <DeviceIdentity>
<vendorName /> <vendorName />
<vendorNumber>0</vendorNumber> <vendorNumber>0</vendorNumber>