1
0
Fork 0
Commit graph

501 commits

Author SHA1 Message Date
Janez
32d6106047 Merge branch 'master' of https://github.com/CANopenNode/CANopenNode 2023-03-17 18:49:29 +01:00
Janez
3662e92ffa
Merge pull request #432 from growx-tech/feature/always-lock-od-config 2023-03-17 18:48:38 +01:00
mlout
4ab0bd10c1 Always call OD lock macros on SDO operations 2023-03-17 17:42:35 +01:00
Janez
fcd552ef96 example: update files with the latest CANopenEditor (v4.1-1)
DS301_profile.xpd/.eds: "$NODEID" now appears at the beginning of the expression.
OD.h/.c: difference in C variable names generator.
2023-03-17 13:15:10 +01:00
mlout
900ab00a79 Rename CO_CONFIG_FLAG_ALWAYS_LOCK_OD to CO_CONFIG_FLAG_SDO_ALWAYS_LOCK_OD 2023-03-16 14:19:07 +01:00
mlout
d8a637dbc5 Add CO_CONFIG_FLAG_ALWAYS_LOCK_OD to always lock OD
Add CO_CONFIG_FLAG_ALWAYS_LOCK_OD which can be used to lock the OD for
every SDO read/write operation.
Modify the code in CO_SDOserver.c and CO_SDOclient.c to check this
config flag.
2023-03-16 14:09:01 +01:00
Janez
5fdaab20cf
Merge pull request #427 from MaximIntegrated/doc-update
Update information on Analog Devices MAX32xxx MCUs
2023-02-24 10:13:02 +01:00
Janez
ead2845ea5
Merge pull request #425 from ankitemb/master
Fix variable name and use of pointer for big endian system
2023-02-24 10:07:39 +01:00
ttmut
4d7afa6fa3 Add link to ADI homepage 2023-02-17 13:28:31 +03:00
ankit.chudasama1
4c86a61342 Fix variable name and use of pointer for big endian system
1. Variable name update in CO_PDO.c file
2. Correct use of pointer in the CO_SDOserver.c file
2023-02-16 19:36:49 +05:30
ttmut
ce9f99950d Update information on Analog Devices MAX32xxx MCUs 2023-02-13 15:34:27 +03:00
Janez
ca5f3578f0
Merge pull request #424 from MaximIntegrated/CANopenADI
Add Analog Devices MAX32xxx support
2023-02-02 10:14:26 +01:00
ttmut
d4393e4cc6 Add Analog Devices MAX32xxx support
Add support for Analog Devices MAX32662 and MAX32690 microcontrollers.
2023-02-02 10:44:21 +03:00
Janez
1128bbbaf9
Wrong conditional compilation #420, fixed 2022-12-03 00:08:13 +01:00
Janez
9e2e5afec1
Merge pull request #406 from burghart/patch-1
Fix a small typo
2022-07-19 09:56:01 +02:00
Chris Burghart
2c97ff7f4c
Fix a small typo 2022-07-18 10:37:47 -06:00
Janez
31e7e81c12
Merge pull request #405 from Blazej1994/Blazej1994-patch-1
TPDO inhibitTime_us / evnetTime_us calculation fix
2022-07-16 13:55:43 +02:00
Blazej1994
7249ea6acd
TPDO inhibitTime_us / evnetTime_us calculation fix
Added inhibiTime and eventTime casting to uint32_t
2022-07-14 11:48:08 +02:00
Janez
8c7d852902
Update README.md
Add link to CANOpenSTM32
2021-10-13 15:25:27 +02:00
Janez
1c9fd7b12d
Merge pull request #337 from gotocoffee1/patch-3
fixed typo in sdo client
2021-08-31 20:35:37 +02:00
gotocoffee
18bac27516
fixed typo in sdo client
SDO_C instead of SDO
2021-08-31 15:53:30 +02:00
Janez
d38287a8e2
Merge pull request #333 from Inviz/patch-1
Fix typo (co -> CO) in main_blank.c
2021-08-30 07:39:22 +02:00
Janez
a5fb680c6c Recommended C style and coding rules 2021-08-30 07:28:20 +02:00
Janez
ece65978d3
Merge pull request #336 from MaJerle/master
Replace malloc/free with CO_ and add macro for complete allocation
2021-08-30 06:56:55 +02:00
Tilen Majerle
9c146e8b91 Replace malloc/free with CO_ and add macro for complete allocation 2021-08-26 13:25:38 +02:00
Janez
7cdf746d1f
Merge pull request #328 from MaJerle/patch-1
Add conditional compile statement for unused vars
2021-08-24 08:23:00 +02:00
Janez
f1e39ccabb
Update CO_PDO.c 2021-08-24 08:20:37 +02:00
Yaroslaff Fedin
309024f312
Fix typo (co -> CO) in main_blank.c 2021-08-23 14:06:10 +08:00
Tilen Majerle
88bc36da27
Add conditional compile statement for unused vars 2021-08-14 12:00:08 +02:00
Janez
9d1e99f66e Use enumerators in CO_NMT_t, #327 2021-08-13 19:07:19 +02:00
Janez
b1b091a463 Add option for logical devices to have more than four PDOS with pre-defined CAN_IDs. 2021-08-10 16:34:20 +02:00
Janez
2117fb6149 Add example for basic SDO client usage, #276 2021-08-10 10:17:46 +02:00
Janez
78544f8043 CANopen Conformance Test Tool tested and passed.
See CANopenDemo for test results.
2021-08-09 18:53:26 +02:00
Janez
3d50dd4bf9 Fixed Object dictionary mapping direction 2021-08-09 18:45:38 +02:00
Janez
fe3777b781 Verify for restricted CAN-IDs in SYNC, TIME, EMCY, PDO and SDO COB-ID configuration. 2021-08-09 14:12:19 +02:00
Janez
5338f110e1 Synchronous TPDO: send first in the middle between sync messages. 2021-08-09 14:08:31 +02:00
Janez
3ff84e21ff Fix some SDO abort messages. 2021-08-09 14:06:08 +02:00
Janez
bb74ed2cf5 SDO server: send abort on wrong block size 2021-08-09 14:00:45 +02:00
Janez
20f7af361f Fixed Heartbeat consumer
Receive buffer was not disabled, if monitored node has been unconfigured.
2021-08-09 13:59:03 +02:00
Janez
b4ddf9be32 Fixed SDO server
- Missing break
- expedited transfer: always copied fixed amount of data instead of actual data size.
2021-08-09 13:56:05 +02:00
Janez
84487ef6ce
Merge pull request #320 from Maldus512/master
Fixed bug with RPDO CANrxData buffer indexing
2021-07-22 07:18:28 +02:00
Mattia Maldini
2e80d0304a Fixed bug with CANrxData buffer indexing 2021-07-14 19:19:28 +02:00
Janez
3a0039716b
Merge pull request #312 from DISTORTEC/PDO_initMapping-fixes
PDO_initMapping() fix + CO_CANopenInitPDO() call in example + warning fix
2021-07-05 13:25:45 +02:00
Freddie Chopin
a1db0180c4 Fix warning about unused argument in CO_TIME_set()
If CO_CONFIG_TIME_PRODUCER is not enabled, `producerInterval_ms`
argument for CO_TIME_set() is unused and gives multiple warnings
(because the function is in header).
2021-07-05 12:33:58 +02:00
Freddie Chopin
db6462cfc1 Add CO_CANopenInitPDO() call to example's main() 2021-07-05 12:33:58 +02:00
Freddie Chopin
e8d40fbfb7 Fix error in PDO_initMapping()
The loop should initialize only existing subindexes. Assuming that every
time there are CO_PDO_MAX_MAPPED_ENTRIES subindexes results in the
function returning CO_ERROR_OD_PARAMETERS because the call to
OD_get_u32() to read a non-existing subindex returns ODR_SUB_NOT_EXIST.
2021-07-05 12:33:58 +02:00
Janez
1ee6a9abc2 Move some macros from CO_LSS.h into CO_LSSslave.c, issue #301 2021-07-01 09:23:39 +02:00
Janez
bdcca85d07 Add example for CO_MULTIPLE_OD configuration. 2021-06-29 11:16:50 +02:00
Janez
598a2bb25f Update documentation and Doxyfile 2021-06-28 14:51:51 +02:00
Janez
b9927ff1cd Remove CO_CONFIG_EM_BUFFER_SIZE macro, size is fetched from Object Dictionary
It is necessary to re-generate OD.h file with the latest CANopenEditor
from https://github.com/CANopenNode/CANopenEditor
2021-06-28 12:39:03 +02:00