Changeset 62 for ctrl/firmware/Main/CubeMX
- Timestamp:
- Jan 14, 2025, 2:39:43 PM (32 hours ago)
- Location:
- ctrl/firmware/Main/CubeMX
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ctrl/firmware/Main/CubeMX/Core/Inc/main.h
r61 r62 80 80 #define GSM_PWR_Pin GPIO_PIN_10 81 81 #define GSM_PWR_GPIO_Port GPIOD 82 #define GSM_STATUS_Pin GPIO_PIN_13 83 #define GSM_STATUS_GPIO_Port GPIOD 82 84 #define SD_DETECT_Pin GPIO_PIN_8 83 85 #define SD_DETECT_GPIO_Port GPIOA -
ctrl/firmware/Main/CubeMX/Core/Src/gpio.c
r61 r62 156 156 HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); 157 157 158 /*Configure GPIO pins : PD11 PD12 PD1 3 PD14159 PD 15 PD0 PD1 PD3160 PD 4 PD5 PD6 */161 GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12|GPIO_PIN_1 3|GPIO_PIN_14162 |GPIO_PIN_ 15|GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_3163 |GPIO_PIN_ 4|GPIO_PIN_5|GPIO_PIN_6;158 /*Configure GPIO pins : PD11 PD12 PD14 PD15 159 PD0 PD1 PD3 PD4 160 PD5 PD6 */ 161 GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12|GPIO_PIN_14|GPIO_PIN_15 162 |GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_3|GPIO_PIN_4 163 |GPIO_PIN_5|GPIO_PIN_6; 164 164 GPIO_InitStruct.Mode = GPIO_MODE_ANALOG; 165 165 GPIO_InitStruct.Pull = GPIO_NOPULL; 166 166 HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); 167 168 /*Configure GPIO pin : GSM_STATUS_Pin */ 169 GPIO_InitStruct.Pin = GSM_STATUS_Pin; 170 GPIO_InitStruct.Mode = GPIO_MODE_INPUT; 171 GPIO_InitStruct.Pull = GPIO_NOPULL; 172 HAL_GPIO_Init(GSM_STATUS_GPIO_Port, &GPIO_InitStruct); 167 173 168 174 /*Configure GPIO pins : PG2 PG3 PG4 PG5 -
ctrl/firmware/Main/CubeMX/charger.ioc
r61 r62 57 57 Mcu.Pin15=PD9 58 58 Mcu.Pin16=PD10 59 Mcu.Pin17=P C860 Mcu.Pin18=PC 961 Mcu.Pin19=P A859 Mcu.Pin17=PD13 60 Mcu.Pin18=PC8 61 Mcu.Pin19=PC9 62 62 Mcu.Pin2=PC15-OSC32_OUT 63 Mcu.Pin20=PA 13(JTMS/SWDIO)64 Mcu.Pin21=PA1 4(JTCK/SWCLK)65 Mcu.Pin22=P C1066 Mcu.Pin23=PC1 167 Mcu.Pin24=PC1 268 Mcu.Pin25=P D269 Mcu.Pin26=PD 770 Mcu.Pin27=P G971 Mcu.Pin28=PG 1072 Mcu.Pin29=PG1 163 Mcu.Pin20=PA8 64 Mcu.Pin21=PA13(JTMS/SWDIO) 65 Mcu.Pin22=PA14(JTCK/SWCLK) 66 Mcu.Pin23=PC10 67 Mcu.Pin24=PC11 68 Mcu.Pin25=PC12 69 Mcu.Pin26=PD2 70 Mcu.Pin27=PD7 71 Mcu.Pin28=PG9 72 Mcu.Pin29=PG10 73 73 Mcu.Pin3=PH0-OSC_IN 74 Mcu.Pin30=PG12 75 Mcu.Pin31=PG13 76 Mcu.Pin32=PG15 77 Mcu.Pin33=VP_RTC_VS_RTC_Activate 78 Mcu.Pin34=VP_SYS_VS_tim7 79 Mcu.Pin35=VP_MEMORYMAP_VS_MEMORYMAP 80 Mcu.Pin36=VP_STMicroelectronics.X-CUBE-AZRTOS-H7_VS_RTOSJjThreadX_6.4.0_3.3.0 81 Mcu.Pin37=VP_STMicroelectronics.X-CUBE-AZRTOS-H7_VS_FileOoSystemJjFileX_6.4.0_3.3.0 82 Mcu.Pin38=VP_STMicroelectronics.X-CUBE-AZRTOS-H7_VS_FileOoSystemJjInterfaces_3.3.0_3.3.0 74 Mcu.Pin30=PG11 75 Mcu.Pin31=PG12 76 Mcu.Pin32=PG13 77 Mcu.Pin33=PG15 78 Mcu.Pin34=VP_RTC_VS_RTC_Activate 79 Mcu.Pin35=VP_SYS_VS_tim7 80 Mcu.Pin36=VP_MEMORYMAP_VS_MEMORYMAP 81 Mcu.Pin37=VP_STMicroelectronics.X-CUBE-AZRTOS-H7_VS_RTOSJjThreadX_6.4.0_3.3.0 82 Mcu.Pin38=VP_STMicroelectronics.X-CUBE-AZRTOS-H7_VS_FileOoSystemJjFileX_6.4.0_3.3.0 83 Mcu.Pin39=VP_STMicroelectronics.X-CUBE-AZRTOS-H7_VS_FileOoSystemJjInterfaces_3.3.0_3.3.0 83 84 Mcu.Pin4=PH1-OSC_OUT 84 85 Mcu.Pin5=PF15 … … 87 88 Mcu.Pin8=PE7 88 89 Mcu.Pin9=PE11 89 Mcu.PinsNb= 3990 Mcu.PinsNb=40 90 91 Mcu.ThirdParty0=STMicroelectronics.X-CUBE-AZRTOS-H7.3.3.0 91 92 Mcu.ThirdPartyNb=1 … … 142 143 PD10.Locked=true 143 144 PD10.Signal=GPIO_Output 145 PD13.GPIOParameters=GPIO_Label 146 PD13.GPIO_Label=GSM_STATUS 147 PD13.Locked=true 148 PD13.Signal=GPIO_Input 144 149 PD2.Mode=SD_4_bits_Wide_bus 145 150 PD2.Signal=SDMMC1_CMD … … 257 262 ProjectManager.UAScriptBeforePath= 258 263 ProjectManager.UnderRoot=true 259 ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_DMA_Init-DMA-false-HAL-true,4-MX_RTC_Init-RTC-false-HAL-true,5-MX_SPI4_Init-SPI4-false-HAL-true,6-MX_SDMMC1_SD_Init-SDMMC1-false-HAL-true, 0-MX_CORTEX_M7_Init-CORTEX_M7-false-HAL-true264 ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_DMA_Init-DMA-false-HAL-true,4-MX_RTC_Init-RTC-false-HAL-true,5-MX_SPI4_Init-SPI4-false-HAL-true,6-MX_SDMMC1_SD_Init-SDMMC1-false-HAL-true,7-MX_USART3_UART_Init-USART3-false-HAL-true,0-MX_CORTEX_M7_Init-CORTEX_M7-false-HAL-true 260 265 RCC.ADCFreq_Value=166666666.66666666 261 266 RCC.AHB12Freq_Value=100000000
Note: See TracChangeset
for help on using the changeset viewer.