aboutsummaryrefslogtreecommitdiff
path: root/slip.c
AgeCommit message (Collapse)Author
2016-06-02Refactor serial and slip.Paul Selkirk
2016-03-16Added serial RPC transport and lots more...Paul Selkirk
Added RPC function to get server version number. Substantially reworked GNUMakefile with conditionals. Renamed rpc_*() and xdr_*() to hal_*() for consistency. Moved hal_io_fmc.c from stm32 repo.
'n21' href='#n21'>21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40







































                                                             
CC=arm-none-eabi-gcc
AR=arm-none-eabi-ar

###########################################

vpath %.c rtx/TARGET_CORTEX_M
vpath %.S rtx/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_GCC

SRCS =	rtos/rtos_idle.c \
	HAL_CM.c \
	rt_CMSIS.c \
	rt_Event.c \
	rt_List.c \
	rt_Mailbox.c \
	rt_MemBox.c \
	rt_Mutex.c \
	rt_Robin.c \
	rt_Semaphore.c \
	rt_System.c \
	rt_Task.c \
	rt_Time.c \
	RTX_Conf_CM.c \
	HAL_CM4.S \
	SVC_Table.S

OBJS = $(patsubst %.S,%.o, $(patsubst %.c,%.o, $(SRCS)))

all: librtos.a

%.o : %.c
	$(CC) $(CFLAGS) -c -o $@ $<

%.o : %.S
	$(CC) $(CFLAGS) -c -o $@ $<

librtos.a: $(OBJS)
	$(AR) -r $@ $(OBJS)

clean:
	rm -f $(OBJS) librtos.a