New timer implementation
commitaa7f5c4a1e66fb838f4ffb95ef1e41038765e1cc
authorPetr Ledvina <ledvinap@gmail.com>
Fri, 7 Nov 2014 14:26:29 +0000 (7 15:26 +0100)
committerPetr Ledvina <ledvinap@gmail.com>
Fri, 7 Nov 2014 14:38:26 +0000 (7 15:38 +0100)
treef75036cfa4b69be022e306c3c82fd194e3aad7e9
parent2c8b3af88d6bb034d9090f6b9fb793d17d3fb7d5
New timer implementation

This is first part of new softserial code. Main timer code is changed, changes to rest of code are kept to minimum.

macros for BASEPRI based synchronization are added to project (atomic.h)

TIMER_PERIOD fixed in pwm_rx.c
17 files changed:
Makefile
src/main/common/atomic.h [new file with mode: 0644]
src/main/common/utils.h [new file with mode: 0644]
src/main/drivers/pwm_output.c
src/main/drivers/pwm_rx.c
src/main/drivers/serial_softserial.c
src/main/drivers/serial_softserial.h
src/main/drivers/serial_uart.c
src/main/drivers/timer.c
src/main/drivers/timer.h
src/main/drivers/timer_impl.h [new file with mode: 0644]
src/main/drivers/timer_stm32f10x.c [new file with mode: 0644]
src/main/drivers/timer_stm32f10x.h [new file with mode: 0644]
src/main/drivers/timer_stm32f30x.c [new file with mode: 0644]
src/main/drivers/timer_stm32f30x.h [new file with mode: 0644]
src/main/main.c
src/main/startup/startup_stm32f30x_md_gcc.S