Modified Motor Driver Firmware to include Flash + Thermal
Dependencies: FastPWM3 mbed-dev-STM-lean
Revision 63:10604c39666f, committed 2020-11-05
- Comitter:
- saloutos
- Date:
- Thu Nov 05 18:55:04 2020 +0000
- Parent:
- 62:bbdf5afada79
- Child:
- 64:2c4c2b9d8248
- Commit message:
- chased through includes for U10 config file
Changed in this revision
--- a/CAN/CAN_com.h Wed Nov 04 19:21:23 2020 +0000 +++ b/CAN/CAN_com.h Thu Nov 05 18:55:04 2020 +0000 @@ -1,7 +1,7 @@ #ifndef CAN_COM_H #define CAN_COM_H -//#include "mbed.h" +#include "mbed.h" #include "../structs.h" #include "user_config.h" #include "../math_ops.h"
--- a/Calibration/calibration.cpp Wed Nov 04 19:21:23 2020 +0000 +++ b/Calibration/calibration.cpp Thu Nov 05 18:55:04 2020 +0000 @@ -6,7 +6,7 @@ #include "foc.h" #include "PreferenceWriter.h" #include "user_config.h" -#include "motor_config.h" +#include "motor_config_U10.h" #include "current_controller_config.h" void order_phases(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs){
--- a/FOC/foc.h Wed Nov 04 19:21:23 2020 +0000 +++ b/FOC/foc.h Thu Nov 05 18:55:04 2020 +0000 @@ -7,7 +7,7 @@ #include "hw_config.h" #include "math.h" #include "../math_ops.h" -#include "motor_config.h" +#include "motor_config_U10.h" #include "current_controller_config.h" #include "FastMath.h" #include "user_config.h"
--- a/main.cpp Wed Nov 04 19:21:23 2020 +0000 +++ b/main.cpp Thu Nov 05 18:55:04 2020 +0000 @@ -26,7 +26,7 @@ #include "math_ops.h" #include "current_controller_config.h" #include "hw_config.h" -#include "motor_config_U12.h" // need to choose between two files here, one for U10 and one for U12 +#include "motor_config_U10.h" // need to choose between two files here, one for U10 and one for U12 #include "stm32f4xx_flash.h" #include "FlashWriter.h" #include "user_config.h"
--- a/structs.h Wed Nov 04 19:21:23 2020 +0000 +++ b/structs.h Thu Nov 05 18:55:04 2020 +0000 @@ -1,7 +1,7 @@ #ifndef STRUCTS_H #define STRUCTS_H -//#include "mbed.h" +#include "mbed.h" #include "FastPWM.h"