stm32h7 udp server with adc

Dependencies:   ADE7912

Revision:
5:0f04c6c72fc9
Parent:
2:fcb521c36965
--- a/main.h	Wed Oct 28 14:04:06 2020 +0000
+++ b/main.h	Wed Oct 28 15:35:16 2020 +0000
@@ -10,10 +10,10 @@
   * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
   * All rights reserved.</center></h2>
   *
-  * This software component is licensed by ST under Ultimate Liberty license
-  * SLA0044, the "License"; You may not use this file except in compliance with
-  * the License. You may obtain a copy of the License at:
-  *                             www.st.com/SLA0044
+  * 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
   *
   ******************************************************************************
   */
@@ -51,25 +51,33 @@
 /* USER CODE END EM */
 
 /* Exported functions prototypes ---------------------------------------------*/
-void Error_Handler(void);
+//void Error_Handler();
 
 /* USER CODE BEGIN EFP */
-//extern UART_HandleTypeDef huart3;
-//extern SPI_HandleTypeDef hspi1;
+
 /* USER CODE END EFP */
 
 /* Private defines -----------------------------------------------------------*/
-#define G_LED_Pin GPIO_PIN_0
-#define G_LED_GPIO_Port GPIOB
-#define R_LED_Pin GPIO_PIN_14
-#define R_LED_GPIO_Port GPIOB
-#define SPI1_CS_Pin GPIO_PIN_14
-#define SPI1_CS_GPIO_Port GPIOD
-#define DReady_Pin GPIO_PIN_15
-#define DReady_GPIO_Port GPIOD
-#define DReady_EXTI_IRQn EXTI15_10_IRQn
-#define Y_LED_Pin GPIO_PIN_1
-#define Y_LED_GPIO_Port GPIOE
+#define B1_Pin GPIO_PIN_13
+#define B1_GPIO_Port GPIOC
+#define LD1_Pin GPIO_PIN_0
+#define LD1_GPIO_Port GPIOB
+#define LD3_Pin GPIO_PIN_14
+#define LD3_GPIO_Port GPIOB
+#define STLINK_RX_Pin GPIO_PIN_8
+#define STLINK_RX_GPIO_Port GPIOD
+#define STLINK_TX_Pin GPIO_PIN_9
+#define STLINK_TX_GPIO_Port GPIOD
+#define USB_OTG_FS_PWR_EN_Pin GPIO_PIN_10
+#define USB_OTG_FS_PWR_EN_GPIO_Port GPIOD
+#define PHASE_A_CS_Pin GPIO_PIN_14
+#define PHASE_A_CS_GPIO_Port GPIOD
+#define PHASE_B_CS_Pin GPIO_PIN_15
+#define PHASE_B_CS_GPIO_Port GPIOD
+#define USB_OTG_FS_OVCR_Pin GPIO_PIN_7
+#define USB_OTG_FS_OVCR_GPIO_Port GPIOG
+#define LD2_Pin GPIO_PIN_1
+#define LD2_GPIO_Port GPIOE
 /* USER CODE BEGIN Private defines */
 
 /* USER CODE END Private defines */