Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-08 | merge test code from projects/hsm/ | Fredrik Thulin | |
2016-06-25 | Split LIB*_DIR into _SRC and _BLD. | Paul Selkirk | |
Also rename all instances of GNUmakefile to Makefile. | |||
2016-06-16 | Merge branch 'master' into ft-ks_flash | Fredrik Thulin | |
2016-06-13 | Only the HSM project needs the RTOS; most of the test projects can use the ↵ | Paul Selkirk | |
STM32 HAL code directly. | |||
2016-06-09 | Put all the keystore commands under 'keystore' instead. | Fredrik Thulin | |
Makes more sense to keep them together, at least in the cli-test. | |||
2016-06-09 | updated test-code for keystore functionality | Fredrik Thulin | |
2016-06-08 | Include strings.h, for strcasecmp(). | Rob Austein | |
2016-06-08 | Test code for ks_flash in corresponding branch of libhal. | Fredrik Thulin | |
2016-06-07 | Don't reboot when CLI logout is intended. | Paul Selkirk | |
2016-06-02 | Use DMA for UART RX instead of interrupts. | Fredrik Thulin | |
DMA is more efficient and less prone to miss characters than interrupts. An open question is if circular mode is really the best. If someone copy-pastes more than the RX buffer size of configuration into the CLI, we risk the DMA controller catching up with the reader and overwriting data not yet read. Since we don't have flow control back to the users terminal, we will always fail if too much data is entered before we can process it. The question is if failing to stuff new data at the end of a buffer might be better than data being overwritten - thus messing up the commands in unpredictable ways. | |||
2016-06-02 | Move the rest of the CLI commands out of cli-test.c. | Fredrik Thulin | |
2016-06-01 | Implement circular buffer UART RX using interrupts. | Fredrik Thulin | |
2016-06-01 | Move FPGA related commands to mgmt-fpga.c | Fredrik Thulin | |
kground-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */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
|