Skip to content

Commit 312b2be

Browse files
committed
RTEMS example of simple DC servo control - initial version.
IRC processing conceptually works but correct mapping to rising and falling edges has to be checked again that it matches Linux setup. PWM and servo loop work. Signed-off-by: Pavel Pisa <[email protected]>
1 parent b809314 commit 312b2be

15 files changed

+2471
-0
lines changed

rtems/Makefile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Generic directory or leaf node makefile for OCERA make framework
2+
3+
ifndef MAKERULES_DIR
4+
MAKERULES_DIR := $(shell ( old_pwd="" ; while [ ! -e Makefile.rules ] ; do if [ "$$old_pwd" = `pwd` ] ; then exit 1 ; else old_pwd=`pwd` ; cd -L .. 2>/dev/null ; fi ; done ; pwd ) )
5+
endif
6+
7+
ifeq ($(MAKERULES_DIR),)
8+
all : default
9+
.DEFAULT::
10+
@echo -e "\nThe Makefile.rules has not been found in this or parent directory\n"
11+
else
12+
include $(MAKERULES_DIR)/Makefile.rules
13+
endif
14+

rtems/Makefile.omk

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SUBDIRS = rpi_simple_dc_servo

0 commit comments

Comments
 (0)