Commit Graph

19 Commits

Author SHA1 Message Date
Gonzalo Ruiz 77e9124728 ccimx95: add support for the ConnectCore 95 platform
Add missing entries in the readme for ConnectCore 91 and 93.

https://onedigi.atlassian.net/browse/DEL-9832

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-12-16 09:58:32 +01:00
Javier Viguera 85480c9f26 apix-can-examples: fix static analyzer warnings
* Initialize 'iface' and validate it before use to avoid undefined
  behavior.
* Move 'deffilter' to global static scope in can-recv-example to prevent
  stack address escape.
* Fix incorrect retry count in failure message in can-send-example.

No functional changes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-18 18:03:49 +02:00
Javier Viguera 2e2aac99f1 can-recv-example: fix printf format for timeval with _TIME_BITS=64
With _TIME_BITS=64, tv_sec and tv_usec are long long integer types,
so update %ld to %llu and cast to (unsigned long long) to fix timestamp
formatting.

https://onedigi.atlassian.net/browse/DEL-9638

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-18 14:47:35 +02:00
Francisco Gil 28932ae553 ccmp2-dvk: update libdigiapix.conf for ccmp2-dvk
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-07-30 11:56:29 +02:00
Francisco Gil e65ba8d69f ccmp91: add support for the ConnectCore 91 platform
Add missing entries in the readme for ConnectCore 93

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-07-30 11:52:58 +02:00
Arturo Buzarra a326832902 ccmp25: add support for the ConnectCore MP2 platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 23:09:55 +02:00
Mike Engel 81354f402f can: cosmetic change the data receive dump
This commit only will print the data received on the
CAN interface.

https://onedigi.atlassian.net/browse/DEL-8708

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-01-18 15:50:04 +01:00
Tatiana Leon fa3f38f698 readmes: update toolchain environment name for ConnectCore 6UL
Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2023-09-06 12:25:57 +02:00
Francisco Gil 7b617dc12a ccmp13: add support for the ccmp13 platform
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2022-12-21 18:08:16 +01:00
Francisco Gil 230c3ad038 ccmp15: add support for the ccmp15 platform
https://onedigi.atlassian.net/browse/DEL-8151

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2022-11-08 16:20:51 +01:00
Francisco Gil ada1185ac6 cc8mm: add support for cc8mm in the examples
https://jira.digi.com/browse/DEL-7463

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2021-03-08 12:53:18 +01:00
Mike Engel ff6869f690 apix-can: remove CAN stop from cleanup()
This commit will remove the call to stop the CAN controller,
because freeing the CAN will stop the CAN interface already.
Calling stop twice will producing the following error message:

DIGIAPIX[824]: [ERROR] ldx_can_process_tx_socket: CAN network is down
DIGIAPIX[824]: [ERROR] ldx_can_stop: Unexpected state 0, in can0 interface
DIGIAPIX[824]: [ERROR] can0|ldx_can_thr: select error (-27|100)

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2021-01-12 12:05:31 +01:00
Francisco Gil 69455d0b51 readme: reorganize the platform from newest to eldest
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2020-02-06 16:35:20 +01:00
Francisco Gil e340d9be3e cc8m: add support for the cc8m platform
https://jira.digi.com/browse/DEL-6955

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2020-02-06 16:35:14 +01:00
Jose Diaz de Grenu a821bc2f7c README.md: standarize prompts
Use the same prompts that we use in the online documentation:
* For the target: "~#"
* For the host:   "~$"

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-06-12 13:14:28 +02:00
Jose Diaz de Grenu 9286799d5c README.md: minor fixes
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-06-12 13:14:18 +02:00
Mike Engel 41289be92e apix_can_example: Add CANFD support to configure data bitrate
This commit adds CANFD support to configure the data bitrate and
to enable the CANFD feature.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6588
2019-06-05 11:50:05 +02:00
Arturo Buzarra 3f507e3116 can: fix Makefile to attend the different targets
General Makefile calls each API source without any specific target,
this commit fixes the CAN Makefile to build without errors.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-03-12 16:05:47 +01:00
fgilmar b541f27702 can: add two examples for the can interface
Added two examples about how to configure and set a CAN
interface to establish a communication receiving and
sending frames.

Signed-off-by: fgilmar <francisco.gilmartinez@digi.com>
2018-11-28 08:22:49 +01:00