Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync #165

Open
wants to merge 66 commits into
base: master
Choose a base branch
from
Open

Sync #165

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
6e5bea6
Add hal for lan9252 using raspberrypi bcm2835 spi
iwoodsawyer Apr 26, 2021
46077b2
select raspberrypi-lan9252 for build
iwoodsawyer Apr 26, 2021
ff73a5c
Add app demo with raspberry pi
iwoodsawyer Apr 27, 2021
984b202
Add diagnostics
iwoodsawyer Apr 27, 2021
2d795a0
Fix initialization of lan9252 using bcm2835 spi
iwoodsawyer Apr 28, 2021
4cea579
Add comments in init function
iwoodsawyer Apr 28, 2021
a5aa19c
Fix comment for reset
iwoodsawyer Apr 28, 2021
ba3ef2d
Add user configuration options for bcm2835 init
iwoodsawyer Apr 29, 2021
89b0687
Fix segmentation fault during parse arguments
iwoodsawyer Apr 29, 2021
32f4235
Update README.md
iwoodsawyer Apr 29, 2021
9561e95
Add synchronization options
iwoodsawyer Apr 29, 2021
fe0bebb
Fix compilation issue
iwoodsawyer Apr 30, 2021
fbf8b44
Adjust demo for EasyCAT and EtherC configuration
iwoodsawyer Apr 30, 2021
9818c7c
Remove empty lines
iwoodsawyer Apr 30, 2021
c4da3cc
typo
iwoodsawyer Apr 30, 2021
71ac497
Fix compilations errors
iwoodsawyer Apr 30, 2021
076dc1e
Fix number of records equal number of bytes pdo
iwoodsawyer Apr 30, 2021
a177b10
Fix sm mappimg
iwoodsawyer Apr 30, 2021
c9c230d
Fixes for PDO mapping
iwoodsawyer May 3, 2021
e4cd4bc
Build with debug print statements
iwoodsawyer May 4, 2021
1eb3389
Fix compilation issues
iwoodsawyer May 4, 2021
64385e5
Add define USE_MBX to disable mailbox support
iwoodsawyer May 4, 2021
0507616
Fixes
iwoodsawyer May 4, 2021
d347202
Use HW watchdog when cnt is zero
iwoodsawyer May 4, 2021
48f8a9e
Fix define for mapping
iwoodsawyer May 4, 2021
c68b511
Disable device emulation during HW init
iwoodsawyer May 5, 2021
a5aab1a
Add header
iwoodsawyer May 5, 2021
64f52ee
remove syncmode
iwoodsawyer May 5, 2021
9dba0d3
Undo HW watchdog changes
iwoodsawyer May 6, 2021
652ce30
Improved interrupt disable/enable functions
iwoodsawyer May 6, 2021
c262073
Add HW watchdog check in application hook
iwoodsawyer May 6, 2021
3be4e83
Improved descriptions
iwoodsawyer May 6, 2021
ac2f38b
Fix to max int32
iwoodsawyer May 7, 2021
cb2a088
Add hal include folder
iwoodsawyer May 7, 2021
7605acd
Remove debug prints
iwoodsawyer May 7, 2021
e166eaa
Add device emulation support
iwoodsawyer May 7, 2021
978724b
Add description for device emulation option
iwoodsawyer May 7, 2021
983856c
Fix state function when ALstatus is always set to ALcontrol
iwoodsawyer May 8, 2021
8bac890
Remove debug printfs
iwoodsawyer May 8, 2021
c3ad41d
Always copy ALcontrol to ALstatus when device in emulated
iwoodsawyer May 8, 2021
e4be280
Add custom pdo fucntions when pdo is fixed size
iwoodsawyer May 11, 2021
a5f03c1
Improved ESC read process data ram function
iwoodsawyer May 11, 2021
e3927de
Fixed ESC read/write pram functions
iwoodsawyer May 11, 2021
c2c0741
Fix missing fifo_size
iwoodsawyer May 11, 2021
11c1bdd
Fix object list such that pdo size is correctly calculated
iwoodsawyer May 11, 2021
a9e743e
remove rxpdo txpdo override
iwoodsawyer May 11, 2021
e2ec33b
Fixes write/read pram functions
iwoodsawyer May 12, 2021
d326e7a
Fix fifo size calculation
iwoodsawyer May 13, 2021
563a7c8
Fixes fifo range calculation
iwoodsawyer May 13, 2021
49face2
Fix issue with dynamic pdo
iwoodsawyer May 18, 2021
cf5dee4
remove empty lines
iwoodsawyer May 18, 2021
e1b39af
Add building instructions
iwoodsawyer May 28, 2021
716da11
Rename CMakeLists.txt to CMakeLists.txt
iwoodsawyer Jan 13, 2024
e7888dc
Rename EasyCAT_128_128_rev_1.bin to EasyCAT_128_128_rev_1.bin
iwoodsawyer Jan 13, 2024
3f34ece
Rename EasyCAT_16_16_rev_1.bin to EasyCAT_16_16_rev_1.bin
iwoodsawyer Jan 13, 2024
0466058
Rename EasyCAT_32_32_rev_1.bin to EasyCAT_32_32_rev_1.bin
iwoodsawyer Jan 13, 2024
4345fe8
Rename EasyCAT_64_64_rev_1.bin to EasyCAT_64_64_rev_1.bin
iwoodsawyer Jan 13, 2024
fd13324
Rename EasyCAT_V2_0.xml to EasyCAT_V2_0.xml
iwoodsawyer Jan 13, 2024
8eb8365
Rename EtherBerry.xml to EtherBerry.xml
iwoodsawyer Jan 13, 2024
eef0146
Rename ecat_options.h to ecat_options.h
iwoodsawyer Jan 13, 2024
bae7f62
Rename main.c to main.c
iwoodsawyer Jan 13, 2024
aebceb3
Rename slave_objectlist.c to slave_objectlist.c
iwoodsawyer Jan 13, 2024
1a616d6
Rename utypes.h to utypes.h
iwoodsawyer Jan 13, 2024
6961413
Merge branch 'master' into master
iwoodsawyer Jan 13, 2024
ba03d58
Update README.md
iwoodsawyer Jan 14, 2024
1b5ea09
Merge branch 'OpenEtherCATsociety:master' into master
iwoodsawyer Feb 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Simple Open Source EtherCAT Slave
====
[![Build Status](https://github.com/OpenEtherCATsociety/SOES/workflows/build/badge.svg?branch=master)](https://github.com/OpenEtherCATsociety/SOES/actions?workflow=build)

SOES (Simple OpenSource EtherCAT Slave Stack) is an opensource slave
stack that is very easy to use and provides a small footprint. It is a
good alternative to more complex stacks on the market.

This forks adds support for EtherCAT slave HAT with LAN9252 chip (like EasyCAT or EtherC/EtherBerry) for Raspberry PI using the BCM2835 library.

Overview
----
SOES is an EtherCAT slave stack written in c. Its purpose is to learn and
Expand All @@ -30,6 +30,10 @@ Feature list:
"stack"_init
- EoE

TODO
- Update documentation
- Add EoE sample application
Building
----

* `mkdir build`
* `cd build`
* `cmake .. -DRPI_VARIANT`
* `make`
6 changes: 6 additions & 0 deletions applications/raspberry_lan9252demo_default/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

add_executable (demo
main.c
slave_objectlist.c
)
target_link_libraries(demo LINK_PUBLIC soes bcm2835)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading