tool to insert my own code added
This commit is contained in:
		| @@ -1,5 +1,4 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | <?xml version="1.0" encoding="UTF-8" standalone="no"?><?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> | ||||||
| <?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> |  | ||||||
| 	<storageModule moduleId="org.eclipse.cdt.core.settings"> | 	<storageModule moduleId="org.eclipse.cdt.core.settings"> | ||||||
| 		<cconfiguration id="ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.2026055586"> | 		<cconfiguration id="ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.2026055586"> | ||||||
| 			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.2026055586" moduleId="org.eclipse.cdt.core.settings" name="Debug"> | 			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.2026055586" moduleId="org.eclipse.cdt.core.settings" name="Debug"> | ||||||
|   | |||||||
							
								
								
									
										15
									
								
								src/main.c
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								src/main.c
									
									
									
									
									
								
							| @@ -33,9 +33,8 @@ | |||||||
| /* Includes ------------------------------------------------------------------*/ | /* Includes ------------------------------------------------------------------*/ | ||||||
| #include "stm32f1xx_hal.h" | #include "stm32f1xx_hal.h" | ||||||
|  |  | ||||||
|  |  | ||||||
| /* USER CODE BEGIN Includes */ | /* USER CODE BEGIN Includes */ | ||||||
| #include "main2.h" | #include "main2.h"; | ||||||
|  |  | ||||||
| /* USER CODE END Includes */ | /* USER CODE END Includes */ | ||||||
|  |  | ||||||
| @@ -60,15 +59,15 @@ static void MX_RTC_Init(void); | |||||||
|  |  | ||||||
| /* USER CODE BEGIN 0 */ | /* USER CODE BEGIN 0 */ | ||||||
|  |  | ||||||
|  |  | ||||||
| /* USER CODE END 0 */ | /* USER CODE END 0 */ | ||||||
|  |  | ||||||
| int main(void) | int main(void) | ||||||
| { | { | ||||||
|  |  | ||||||
|   /* USER CODE BEGIN 1 */ |   /* USER CODE BEGIN 1 */ | ||||||
| 	my_setup(); |   my_setup_1(); | ||||||
| /* USER CODE END 1 */ |  | ||||||
|  |   /* USER CODE END 1 */ | ||||||
|  |  | ||||||
|   /* MCU Configuration----------------------------------------------------------*/ |   /* MCU Configuration----------------------------------------------------------*/ | ||||||
|  |  | ||||||
| @@ -83,26 +82,24 @@ int main(void) | |||||||
|   MX_RTC_Init(); |   MX_RTC_Init(); | ||||||
|  |  | ||||||
|   /* USER CODE BEGIN 2 */ |   /* USER CODE BEGIN 2 */ | ||||||
|  |   my_setup_2(); | ||||||
|  |  | ||||||
|   /* USER CODE END 2 */ |   /* USER CODE END 2 */ | ||||||
|  |  | ||||||
|   /* Infinite loop */ |   /* Infinite loop */ | ||||||
|   /* USER CODE BEGIN WHILE */ |   /* USER CODE BEGIN WHILE */ | ||||||
|   HAL_GPIO_WritePin(LED_PIN_GPIO_Port, LED_PIN_Pin, GPIO_PIN_SET); |  | ||||||
|   while (1) |   while (1) | ||||||
|   { |   { | ||||||
|   /* USER CODE END WHILE */ |   /* USER CODE END WHILE */ | ||||||
|  |  | ||||||
|   /* USER CODE BEGIN 3 */ |   /* USER CODE BEGIN 3 */ | ||||||
|     my_loop(); |     my_loop(); | ||||||
|  |  | ||||||
|   } |   } | ||||||
|   /* USER CODE END 3 */ |   /* USER CODE END 3 */ | ||||||
|  |  | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| /** System Clock Configuration | /** System Clock Configuration | ||||||
| */ | */ | ||||||
| void SystemClock_Config(void) | void SystemClock_Config(void) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Wolfgang Hottgenroth
					Wolfgang Hottgenroth