Compare commits

..

No commits in common. "bb898adfac617f25776aba9cf09b8b73cede98b5" and "f04a5c79306ccd6b75f44bfd612d9de358109f73" have entirely different histories.

9 changed files with 9 additions and 9 deletions

View File

@ -33,9 +33,9 @@ INCLUDEPATH += -Ishellmatta/api
# DEFINES += -DSHELLMATTA_STRIP_PRINTF # DEFINES += -DSHELLMATTA_STRIP_PRINTF
# RCC Manager # RCC Manager
CFILES += stm-periph/clock-enable-manager.c CFILES += clock-enable-manager.c
CFILES += stm-periph/uart.c stm-periph/dma-ring-buffer.c CFILES += uart/uart.c uart/dma-ring-buffer.c
CFILES += digio.c CFILES += digio.c
@ -98,7 +98,7 @@ mrproper: clean
rm -f $(target).pro rm -f $(target).pro
clean: clean:
rm -f $(target).elf $(target).bin $(target).hex $(OBJ) $(ASOBJ) $(mapfile).map $(CFILES:%.c=$(OBJDIR)/%.c.d) $(ASFILES:%.S=$(OBJDIR)/%.S.d) rm -f $(target).elf $(target).bin $(target).hex $(OBJ) $(ASOBJ) $(mapfile).map
qtproject: qtproject:
echo -e "TEMPLATE = app\nCONFIG -= console app_bundle qt" > $(target).pro echo -e "TEMPLATE = app\nCONFIG -= console app_bundle qt" > $(target).pro
echo -e "SOURCES += $(CFILES) $(ASFILES)" >> $(target).pro echo -e "SOURCES += $(CFILES) $(ASFILES)" >> $(target).pro

View File

@ -17,7 +17,7 @@
#include <reflow-controller/digio.h> #include <reflow-controller/digio.h>
#include <stm-periph/stm32-gpio-macros.h> #include <stm-periph/stm32-gpio-macros.h>
#include <stm-periph/clock-enable-manager.h> #include <stm-periph/clock-enable-manager.h>
#include <stm-periph/uart.h> #include <stm-periph/uart/uart.h>
static void setup_nvic_priorities() static void setup_nvic_priorities()
{ {

View File

@ -1,5 +1,5 @@
#include <reflow-controller/shell.h> #include <reflow-controller/shell.h>
#include <stm-periph/uart.h> #include <stm-periph/uart/uart.h>
#include <string.h> #include <string.h>
#include <reflow-controller/adc-meas.h> #include <reflow-controller/adc-meas.h>
#include <reflow-controller/digio.h> #include <reflow-controller/digio.h>

View File

@ -1,4 +1,4 @@
#include <stm-periph/uart.h> #include <stm-periph/uart/uart.h>
char* _sbrk(int incr) { char* _sbrk(int incr) {
extern char heap_low; // Defined by the linker extern char heap_low; // Defined by the linker

View File

@ -1,4 +1,4 @@
#include <stm-periph/dma-ring-buffer.h> #include <stm-periph/uart/dma-ring-buffer.h>
#include <stm-periph/clock-enable-manager.h> #include <stm-periph/clock-enable-manager.h>
#include <stdbool.h> #include <stdbool.h>
#include <string.h> #include <string.h>

View File

@ -8,11 +8,11 @@
//PA2 => TX //PA2 => TX
//PA3 => RX //PA3 => RX
//Alternate Function 7 //Alternate Function 7
#include <stm-periph/uart.h> #include <stm-periph/uart/uart.h>
#include <stm32/stm32f4xx.h> #include <stm32/stm32f4xx.h>
#include <stm-periph/clock-enable-manager.h> #include <stm-periph/clock-enable-manager.h>
#include <stm-periph/stm32-gpio-macros.h> #include <stm-periph/stm32-gpio-macros.h>
#include <stm-periph/dma-ring-buffer.h> #include <stm-periph/uart/dma-ring-buffer.h>
#include <string.h> #include <string.h>
static struct dma_ring_buffer_to_mem ring_buff_rx; static struct dma_ring_buffer_to_mem ring_buff_rx;