From b9cc31d036bea5d7e1113028840e94e52fb60544 Mon Sep 17 00:00:00 2001 From: Robert Fisk Date: Thu, 1 Oct 2015 02:36:35 +1300 Subject: [PATCH] Crazy hardware issues, about to revert Upstream SPI from DMA to interrupt transfers --- Downstream/.cproject | 19 +- Downstream/.settings/language.settings.xml | 2 +- .../org.eclipse.cdt.managedbuilder.core.prefs | 10 + Downstream/Downstream Debug.launch | 4 +- Downstream/Downstream Release.launch | 66 + .../Src/stm32f4xx_hal_hcd.c | 37 +- .../Src/stm32f4xx_hal_spi.c | 19 +- Downstream/Inc/board_config.h | 8 +- Downstream/Inc/downstream_msc.h | 4 +- Downstream/Inc/downstream_spi.h | 17 +- Downstream/Inc/interrupts.h | 5 +- .../Class/MSC/Inc/usbh_msc_bot.h | 4 +- .../Class/MSC/Src/usbh_msc.c | 20 +- .../Class/MSC/Src/usbh_msc_bot.c | 69 +- .../Class/MSC/Src/usbh_msc_scsi.c | 5 +- Downstream/Src/downstream_msc.c | 46 +- Downstream/Src/downstream_spi.c | 305 +- Downstream/Src/downstream_statemachine.c | 22 +- Downstream/Src/hal_msp.c | 83 +- Downstream/Src/interrupts.c | 40 +- Downstream/Src/main.c | 9 +- Downstream/Src/usb_host.c | 4 +- Upstream/.cproject | 2 +- Upstream/.settings/language.settings.xml | 2 +- Upstream/Debug/Upstream.elf | Bin 791748 -> 801557 bytes Upstream/Debug/Upstream.hex | 4666 ++++++++++------- Upstream/Debug/Upstream.map | 3231 ++++++------ .../Src/stm32f4xx_hal_spi.c | 6 +- Upstream/Inc/upstream_msc.h | 4 +- Upstream/Inc/upstream_spi.h | 13 +- Upstream/Inc/upstream_statemachine.h | 1 + .../Class/MSC/Src/usbd_msc_scsi.c | 7 +- Upstream/Src/hal_msp.c | 11 +- Upstream/Src/interrupts.c | 2 +- Upstream/Src/upstream_msc.c | 37 +- Upstream/Src/upstream_spi.c | 219 +- Upstream/Src/upstream_statemachine.c | 10 +- Upstream/Upstream Debug.launch | 2 +- Upstream/Upstream Release.launch | 66 + 39 files changed, 5455 insertions(+), 3622 deletions(-) create mode 100644 Downstream/Downstream Release.launch create mode 100644 Upstream/Upstream Release.launch diff --git a/Downstream/.cproject b/Downstream/.cproject index e7f3c64..2f3dd93 100644 --- a/Downstream/.cproject +++ b/Downstream/.cproject @@ -79,6 +79,7 @@ @@ -91,7 +92,7 @@ @@ -131,7 +132,7 @@ -