aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2019-03-18 10:43:33 +0200
committerAvi Levkovich <avi@twine-s.com>2019-03-18 10:43:33 +0200
commitd6cbcb31e642adc4707c4d989bb20953de7f13fc (patch)
tree4605dac61f5e9b3f3855aa4516837a519850c177 /Software/Embedded_SW/Embedded/Modules
parent24c7331c6b658f076960a2862b06dcbec3e03b76 (diff)
downloadTango-d6cbcb31e642adc4707c4d989bb20953de7f13fc.tar.gz
Tango-d6cbcb31e642adc4707c4d989bb20953de7f13fc.zip
fix typo + add global index for vme file
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/AlarmHandling/AlarmHandling.c2
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_Dancer.c3
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_L6470.c3
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_Motor.c3
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_SpeedSensor.c3
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_TempSensor.c3
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c3
7 files changed, 7 insertions, 13 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/AlarmHandling/AlarmHandling.c b/Software/Embedded_SW/Embedded/Modules/AlarmHandling/AlarmHandling.c
index 94c7614d1..570121f73 100644
--- a/Software/Embedded_SW/Embedded/Modules/AlarmHandling/AlarmHandling.c
+++ b/Software/Embedded_SW/Embedded/Modules/AlarmHandling/AlarmHandling.c
@@ -11,6 +11,7 @@
#include "AlarmHandling.h"
#include <driverlib/timer.h>
+#include <Drivers/FPGA/Motors_Driver/L6470.h>
#include <Drivers/SSI_Comm/SSI_Comm.h>
#include <inc/hw_ints.h>
@@ -46,7 +47,6 @@
#include "StateMachines/Printing/PrintingSTM.h"
-#include "drivers/FPGA/Moters_Driver/L6470.h"
#include "drivers/Motors/Motor.h"
#include "drivers/Heater/TemperatureSensor.h"
#include "drivers/Flash_ram/FlashProgram.h"
diff --git a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_Dancer.c b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_Dancer.c
index 61c7afe74..6bfb3f322 100644
--- a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_Dancer.c
+++ b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_Dancer.c
@@ -8,6 +8,7 @@
#include <Container.h>
#include <DataDef.h>
+#include <Drivers/FPGA/Motors_Driver/L6470.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
@@ -30,8 +31,6 @@
#include "drivers/FPGA/FPGA.h"
#include "drivers/SPI/SPI_Comm.h"
-#include "drivers/FPGA/Moters_Driver/L6470.h"
-
#include "driverlib/ssi.h"
#include "drivers/SPI/SPI_Comm.h"
#include "drivers/FPGA/FPGA_SSI_Comm.h"
diff --git a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_L6470.c b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_L6470.c
index 658205327..636889127 100644
--- a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_L6470.c
+++ b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_L6470.c
@@ -1,6 +1,7 @@
#include <Container.h>
#include <DataDef.h>
+#include <Drivers/FPGA/Motors_Driver/L6470.h>
#include <PMR/Stubs/StubL6470DriverResponse.pb-c.h>
#include <PMR/Stubs/StubL6470DriverRequest.pb-c.h>
#include <stdbool.h>
@@ -19,8 +20,6 @@
//#include "drivers/FPGA/FPGA.h"
#include "drivers/SPI/SPI_Comm.h"
-#include "drivers/FPGA/Moters_Driver/L6470.h"
-
#include "driverlib/ssi.h"
unsigned long Run_Value = 136902 ;
diff --git a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_Motor.c b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_Motor.c
index 65ede8fac..0854aba40 100644
--- a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_Motor.c
+++ b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_Motor.c
@@ -1,6 +1,7 @@
#include <Container.h>
#include <DataDef.h>
+#include <Drivers/FPGA/Motors_Driver/L6470.h>
#include <PMR/Stubs/StubMotorInitRequest.pb-c.h>
#include <PMR/Stubs/StubMotorInitResponse.pb-c.h>
#include <PMR/Stubs/StubMotorRunRequest.pb-c.h>
@@ -37,8 +38,6 @@
#include "drivers/FPGA/FPGA.h"
#include "drivers/SPI/SPI_Comm.h"
-#include "drivers/FPGA/Moters_Driver/L6470.h"
-
#include "driverlib/ssi.h"
#include "drivers/SPI/SPI_Comm.h"
#include "Modules/Thread/Thread_ex.h"
diff --git a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_SpeedSensor.c b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_SpeedSensor.c
index eea594817..4e6c4cf84 100644
--- a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_SpeedSensor.c
+++ b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_SpeedSensor.c
@@ -9,6 +9,7 @@
#include <Container.h>
#include <DataDef.h>
+#include <Drivers/FPGA/Motors_Driver/L6470.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
@@ -28,8 +29,6 @@
#include "drivers/FPGA/FPGA.h"
#include "drivers/SPI/SPI_Comm.h"
-#include "drivers/FPGA/Moters_Driver/L6470.h"
-
#include "driverlib/ssi.h"
#include "drivers/SPI/SPI_Comm.h"
#include "drivers/FPGA/FPGA_SSI_Comm.h"
diff --git a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_TempSensor.c b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_TempSensor.c
index f25a79b15..c320cca80 100644
--- a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_TempSensor.c
+++ b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_TempSensor.c
@@ -7,6 +7,7 @@
#include <Container.h>
#include <DataDef.h>
+#include <Drivers/FPGA/Motors_Driver/L6470.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
@@ -29,8 +30,6 @@
#include "drivers/FPGA/FPGA.h"
#include "drivers/SPI/SPI_Comm.h"
-#include "drivers/FPGA/Moters_Driver/L6470.h"
-
#include "driverlib/ssi.h"
#include "drivers/SPI/SPI_Comm.h"
#include "drivers/FPGA/FPGA_SSI_Comm.h"
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
index a1e91f6fc..c277dd5df 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
@@ -2,6 +2,7 @@
**************************************************************************************************************************/
#include <DataDef.h>
+#include <Drivers/FPGA/Motors_Driver/PowerSTEP01.h>
#include "include.h"
#include "PMR/Hardware/UploadHardWareConfigurationRequest.pb-c.h"
@@ -17,8 +18,6 @@
#include "drivers/Flash_Memory/fatfs/ff.h"
#include "drivers/SSI_Comm/Dancer/Dancer.h"
-#include "drivers/FPGA/Moters_Driver/PowerSTEP01.h"
-
#include "thread.h"
MotorDriverConfigStruc MotorsCfg[NUM_OF_MOTORS]={0};
HardwarePidControl MotorsControl[MAX_THREAD_MOTORS_NUM] = {0};