Commit Graph

216 Commits

Author SHA1 Message Date
nakarlsson 828b8987d9
Merge pull request #260 from nakarlsson/master
improve groups, make memory usage more efficient, fix erroneous byte …
2019-03-12 10:08:05 +01:00
Andreas Karlsson 930d6e07c8 improve groups, make memory usage more efficient, fix erroneous byte calculations and dc frame handling 2019-03-11 10:34:21 +01:00
ArthurKetels 8832ef0f2f
Merge pull request #256 from claudioscordino/upstream-new
Clean up comments, EC_PRINT and thread usage.
2019-02-14 11:54:19 +01:00
Claudio Scordino e0d880d7bd Avoid OSAL_THREAD usage when EC_MAX_MAPT=1
Rationale : allow SOEM to be used in a OS that does not support threads.
2019-02-14 10:56:50 +01:00
Claudio Scordino 7beba91c62 Fix typos in comments.
No functional changes.
2019-02-04 13:56:11 +01:00
Claudio Scordino 770e4c93d6 README: link to the documentation 2019-02-04 13:56:06 +01:00
Claudio Scordino 26cde1dc94 Introduce platform-specific EC_PRINT
Rationale: not all operating systems use function printf for printing
console messages. This commits allows to define platform-specific
functions.
2019-02-04 13:56:00 +01:00
Claudio Scordino 826be99bab .gitignore: ignore ctags file 2019-02-04 13:55:53 +01:00
nakarlsson 037a629839
Fixed un-used parameter and variable warnings for EoE (#248)
Trivial fix, no review
2019-02-01 10:42:18 +01:00
nakarlsson 86a2584e47
Impelmented EoE filter function in mailbox receive (#244) 2019-01-31 14:57:16 +01:00
ArthurKetels 4427684cc5
ethercatconfig : Set SM enable flag if SM length > 0 2019-01-31 10:07:18 +01:00
Qbotics Labs b4f3a306e4 Fix in aliastool.c (#234) 2018-11-27 07:27:18 +01:00
Schlumpf 8f2b233837 Endian fixes (#222)
This patch fixes some bugs on big-endian systems.
  - Use temp variables for etohs() and etohl() at function calls to avoid
    multiple function calls for one value.
  - Fix and add use of etohs(), etohl(), htoes() and htoel().
  - Fix use of 32bit values in 64bit variables.
2018-11-14 11:56:57 +01:00
wanga 0a67e6bf94 Fix race condition in rxbufstat (#200) 2018-08-23 07:36:56 +02:00
wanga 2e165bee41 Protect against priority inversion for linux (#194)
Set priority inheritance for mutex
2018-08-07 18:00:30 +02:00
Hans-Erik Floryd 5b2c51b65c
Merge pull request #187 from lounick/rtems5-integration
Rtems5 integration
2018-07-10 14:35:37 +02:00
Nikolaos Tsiogkas 94217505df Move to RTEMS 5 and don't build tests for RTEMS 2018-07-06 11:33:22 +02:00
nakarlsson b1e4b6ce95
Merge pull request #182 from jespersmith/patch-1
Increased size of EEPROM buffer in eepromtool.c
2018-07-03 21:30:02 +02:00
Jesper Smith d8c5620768
Increased size of EEPROM buffer in eepromtool.c
This PR increases the size eepromtool can read/write to 4 megabit, which is the maximum slave devices seem to support according to the datasheets.

Due to space constraints on our device we store some application specific data on our slave that exceeds 32kbyte, hence the need for the ability to read/write larger images to EEPROM.
2018-06-21 09:15:22 +02:00
nakarlsson 0398b6ba72
Merge pull request #164 from zchen24/fix/cmake-win64-path
Fixed windows x64 link path
2018-03-04 17:43:57 +01:00
Zihan Chen 462464ee37 Fixed windows x64 warning C4267 conversion from size_t to uint16 2018-02-22 15:01:44 -08:00
Zihan Chen 415131e3f1 Fixed windows x64 link path 2018-02-22 12:12:59 -08:00
nakarlsson c12de6633a
Merge pull request #159 from nakarlsson/master
Create and v1.3.3 (skip v1.3.2 due to mistake)
2018-02-02 09:12:38 +01:00
rtlaka 99f4e1c8f7 Create and v1.3.3 (skip v1.3.2 due to mistake) 2018-02-02 09:11:17 +01:00
nakarlsson 5261e237e4
Merge pull request #158 from nakarlsson/master
Bump version and update the documentation
2018-02-02 08:51:43 +01:00
rtlaka 084a3b8576 Bump version and update the documentation 2018-02-02 08:47:35 +01:00
nakarlsson 8094ff1b80
Merge pull request #157 from nakarlsson/master
When broadcast read the state,it is OK if the WKC is higher
2018-02-02 08:29:46 +01:00
rtlaka 2b339a135b When broadcast read the state,it is OK if the WKC is higher 2018-02-02 08:27:19 +01:00
nakarlsson 0adfb0025b
Merge pull request #156 from nakarlsson/master
Add functions to configure and send an overlapping IOmap
2018-02-02 08:21:46 +01:00
rtlaka 28d82fa8fd Add functions to configure and send an overlapping IOmap 2018-02-01 13:01:35 +01:00
nakarlsson fc945ba86b
Merge pull request #155 from nakarlsson/master
Add check that all slaves are present
2018-02-01 10:50:02 +01:00
rtlaka f329d2fc3a Add check that all slaves are present 2018-01-31 10:18:56 +01:00
Hans-Erik Floryd cd243dedcc
Merge pull request #143 from lounick/integrate-with-RTEMS
Integrate with RTEMS
2018-01-25 11:13:23 +01:00
Nick Tsiogkas 3cc1e9739e Integrate SOEM with RTEMS 2018-01-23 17:07:59 +01:00
mizoguch-ken 1903d1ff54 fix warnings and fix error (#128) 2017-09-18 08:06:12 +02:00
Hans-Erik Floryd 3daefaea61 Normalize line endings (#126)
* add .gitattributes

* normalize line-endings
2017-08-16 20:07:39 +02:00
Hans-Erik Floryd da7d55e893 Enable and fix warnings (#123)
* cleanup CMakeLists.txt

* build with more warnings, warnings as errors

* fix expression has no effect warning

* fix unused parameter warnings

* fix loss of precision warning

* remove obsolete files
2017-08-16 13:48:51 +02:00
Hans-Erik Floryd 0ece3165a0 name all exported structs (#125) 2017-08-15 19:02:00 +02:00
Hans-Erik Floryd c8a11227b5 Automated builds (#122)
* add travis and appveyor build scripts

* add travis and appveyor badges to README.md
2017-08-07 17:33:08 +02:00
Hans-Erik Floryd 59a87a36c1 Merge pull request #112 from nakarlsson/master
Use only one config thread default, multiple threads is an advanced feature for people who know their system
2017-07-14 17:10:40 +02:00
nakarlsson db5d3eb769 Use only one config thread default, multiple threads is an advanced feature for people who know their system 2017-06-01 06:42:13 +02:00
Zihan Chen ed79602a64 Fixed FMMU2func typo (#107) 2017-05-25 10:11:15 +02:00
Zihan Chen e78bb66327 Fixed osal_timer_diff bug (#106) 2017-05-25 10:09:10 +02:00
Hans-Erik Floryd fb975cbc70 allow setting CMAKE_INSTALL_PREFIX externally (#86)
looks fine
2017-03-31 17:47:20 +02:00
Mikael Heden 15e7748198 Move license information to LICENSE file (#95)
OK
2017-03-29 07:16:44 +02:00
HolgerNie cf76625f4c Update nicdrv.c (#87)
For the new network cards we need also to set mBlkPktHdr.len.
2017-03-14 14:47:13 +01:00
nakarlsson 712fac0eb9 Merge pull request #77 from alberth/improve_tutorial_and_documentation
Improve tutorial and documentation
2017-02-14 20:53:16 +01:00
Albert Hofkamp 6c37e949e0 Improve tutorial and documentation 2017-02-09 12:19:58 +01:00
Mikael Heden cfd5adfdcd Merge pull request #70 from nakarlsson/master
Add vxworks port
2017-01-11 16:52:19 +01:00
nakarlsson addb1204b4 vxworks
Add VxWorks reference driver, interrupt driven Mux driver.
2017-01-10 11:55:23 +01:00