From c6caaafde762d69d690cfc89133dba5e840d98e6 Mon Sep 17 00:00:00 2001 From: Stephen Moody Date: Fri, 16 Aug 2019 11:38:16 +0100 Subject: [PATCH] Added USART, shiftregister and command line parser code --- .cproject | 112 +++++++++++---------- EPROMEmu.elf.launch | 90 +++++++++-------- Inc/commands.h | 27 +++++ Inc/gpio.h | 3 + Inc/shiftregister.h | 18 ++++ Inc/timers.h | 2 + Inc/usart.h | 46 +++++++++ Src/commands.c | 116 ++++++++++++++++++++++ Src/gpio.c | 11 ++- Src/main.c | 18 +++- Src/shiftregister.c | 99 +++++++++++++++++++ Src/stm32f0xx_hal_msp.c | 84 ---------------- Src/stm32f0xx_system.c | 21 ++-- Src/syscalls.c | 9 +- Src/timers.c | 4 + Src/usart.c | 213 +++++++++++++++++++++++++++++++++++++++- 16 files changed, 682 insertions(+), 191 deletions(-) create mode 100644 Inc/commands.h create mode 100644 Inc/shiftregister.h create mode 100644 Src/commands.c create mode 100644 Src/shiftregister.c delete mode 100644 Src/stm32f0xx_hal_msp.c diff --git a/.cproject b/.cproject index 1f74918..f0d3c2c 100644 --- a/.cproject +++ b/.cproject @@ -15,64 +15,64 @@ -