Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
Remove STM32CubeIDE files from ECU project and clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
a2k-hanlon committed Jun 21, 2022
1 parent 498e8a1 commit bf57e30
Show file tree
Hide file tree
Showing 89 changed files with 1,785 additions and 94,536 deletions.
14 changes: 0 additions & 14 deletions ECU/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions ECU/RemoteSystemsTempFiles/.project

This file was deleted.

170 changes: 0 additions & 170 deletions ECU/ecu_rework_proj/.cproject

This file was deleted.

11 changes: 7 additions & 4 deletions ECU/ecu_rework_proj/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
.vscode

Drivers
Makefile
startup_stm32f103xb.s
STM32F103C8Tx_FLASH.ld
.mxproject
32 changes: 0 additions & 32 deletions ECU/ecu_rework_proj/.project

This file was deleted.

27 changes: 0 additions & 27 deletions ECU/ecu_rework_proj/.settings/language.settings.xml

This file was deleted.

4 changes: 0 additions & 4 deletions ECU/ecu_rework_proj/.settings/stm32cubeide.project.prefs

This file was deleted.

214 changes: 106 additions & 108 deletions ECU/ecu_rework_proj/Core/Inc/main.h
Original file line number Diff line number Diff line change
@@ -1,108 +1,106 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.h
* @brief : Header for main.c file.
* This file contains the common defines of the application.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* USER CODE END Header */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "stm32f1xx_hal.h"

/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */

/* USER CODE END Includes */

/* Exported types ------------------------------------------------------------*/
/* USER CODE BEGIN ET */

/* USER CODE END ET */

/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */

/* USER CODE END EC */

/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */

/* USER CODE END EM */

/* Exported functions prototypes ---------------------------------------------*/
void Error_Handler(void);

/* USER CODE BEGIN EFP */

/* USER CODE END EFP */

/* Private defines -----------------------------------------------------------*/
#define SW_LOCK_OUT_Pin GPIO_PIN_2
#define SW_LOCK_OUT_GPIO_Port GPIOA
#define FAN_OUT1_Pin GPIO_PIN_3
#define FAN_OUT1_GPIO_Port GPIOA
#define HLIM_OUT_Pin GPIO_PIN_4
#define HLIM_OUT_GPIO_Port GPIOA
#define HLIM_IN_Pin GPIO_PIN_5
#define HLIM_IN_GPIO_Port GPIOA
#define LLIM_IN_Pin GPIO_PIN_6
#define LLIM_IN_GPIO_Port GPIOA
#define FLT_IN_Pin GPIO_PIN_7
#define FLT_IN_GPIO_Port GPIOA
#define FAN_OUT2_Pin GPIO_PIN_12
#define FAN_OUT2_GPIO_Port GPIOB
#define FLT_OUT_Pin GPIO_PIN_13
#define FLT_OUT_GPIO_Port GPIOB
#define LLIM_OUT_Pin GPIO_PIN_14
#define LLIM_OUT_GPIO_Port GPIOB
#define ESTOP_IN_Pin GPIO_PIN_15
#define ESTOP_IN_GPIO_Port GPIOB
#define PC_OUT_Pin GPIO_PIN_8
#define PC_OUT_GPIO_Port GPIOA
#define NEG_OUT_Pin GPIO_PIN_6
#define NEG_OUT_GPIO_Port GPIOB
#define DCDC_OUT_Pin GPIO_PIN_7
#define DCDC_OUT_GPIO_Port GPIOB
#define SWAP_OUT_Pin GPIO_PIN_8
#define SWAP_OUT_GPIO_Port GPIOB
#define SUPP_LOW_Pin GPIO_PIN_9
#define SUPP_LOW_GPIO_Port GPIOB
/* USER CODE BEGIN Private defines */

ADC_HandleTypeDef hadc1;

CAN_HandleTypeDef hcan;

TIM_HandleTypeDef htim2;
TIM_HandleTypeDef htim3;

/* USER CODE END Private defines */

#ifdef __cplusplus
}
#endif

#endif /* __MAIN_H */

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.h
* @brief : Header for main.c file.
* This file contains the common defines of the application.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* USER CODE END Header */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "stm32f1xx_hal.h"

/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */

/* USER CODE END Includes */

/* Exported types ------------------------------------------------------------*/
/* USER CODE BEGIN ET */

/* USER CODE END ET */

/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */

/* USER CODE END EC */

/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */

/* USER CODE END EM */

/* Exported functions prototypes ---------------------------------------------*/
void Error_Handler(void);

/* USER CODE BEGIN EFP */

/* USER CODE END EFP */

/* Private defines -----------------------------------------------------------*/
#define SW_LOCK_OUT_Pin GPIO_PIN_2
#define SW_LOCK_OUT_GPIO_Port GPIOA
#define FAN_OUT1_Pin GPIO_PIN_3
#define FAN_OUT1_GPIO_Port GPIOA
#define HLIM_OUT_Pin GPIO_PIN_4
#define HLIM_OUT_GPIO_Port GPIOA
#define HLIM_IN_Pin GPIO_PIN_5
#define HLIM_IN_GPIO_Port GPIOA
#define LLIM_IN_Pin GPIO_PIN_6
#define LLIM_IN_GPIO_Port GPIOA
#define FLT_IN_Pin GPIO_PIN_7
#define FLT_IN_GPIO_Port GPIOA
#define FAN_OUT2_Pin GPIO_PIN_12
#define FAN_OUT2_GPIO_Port GPIOB
#define FLT_OUT_Pin GPIO_PIN_13
#define FLT_OUT_GPIO_Port GPIOB
#define LLIM_OUT_Pin GPIO_PIN_14
#define LLIM_OUT_GPIO_Port GPIOB
#define ESTOP_IN_Pin GPIO_PIN_15
#define ESTOP_IN_GPIO_Port GPIOB
#define PC_OUT_Pin GPIO_PIN_8
#define PC_OUT_GPIO_Port GPIOA
#define NEG_OUT_Pin GPIO_PIN_6
#define NEG_OUT_GPIO_Port GPIOB
#define DCDC_OUT_Pin GPIO_PIN_7
#define DCDC_OUT_GPIO_Port GPIOB
#define SWAP_OUT_Pin GPIO_PIN_8
#define SWAP_OUT_GPIO_Port GPIOB
#define SUPP_LOW_Pin GPIO_PIN_9
#define SUPP_LOW_GPIO_Port GPIOB
/* USER CODE BEGIN Private defines */

ADC_HandleTypeDef hadc1;

CAN_HandleTypeDef hcan;

TIM_HandleTypeDef htim2;
TIM_HandleTypeDef htim3;

/* USER CODE END Private defines */

#ifdef __cplusplus
}
#endif

#endif /* __MAIN_H */
Loading

0 comments on commit bf57e30

Please sign in to comment.