2019-10-26 12:41 PM
Hi!
I trying to follow this manual to set upp a HTTPD web server in STM32 Nucleo H7 board. But I got a issue because fsdata_custom.c is missing and it seems that I cannot set HTTPD_USE_CUSTOM_FSDATA to false neither. Is this a bug in CubeMX?
How can I solve it? I posted a screen shot and it will give you all the information about my board I'm using.
2019-10-26 02:51 PM
See p.8 about the fsdata.c file.
2019-10-27 04:57 AM
That's about file fsdata.c, not fsdata_custom.c
2019-10-27 06:48 AM
Just change the filename in either place.
2020-10-18 12:45 PM
Hello!
I'm also trying to get a simple ping answer from my STM32F767 according to start point pdf description. But with no results.
Could you please help me a little bit to understand the issue I have?
I have connected my custom board with LAN8742a with a Ethernet cable directly to my PC and just try to ping the Board.
I have disabled to whole HTTPD option, so I don't care abot the missing files for now.
My settings for the ETH are:
Nothing change for the PHY settings (default LAN8742a) and the interrupts are enabled. GPIOs are double checked.
My settings for the LwIP are:And here is my main:
/* Includes ------------------------------------------------------------------*/
#include "main.h"
#include "lwip.h"
#include "gpio.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
/* Private typedef -----------------------------------------------------------*/
/* USER CODE BEGIN PTD */
/* USER CODE END PTD */
/* Private define ------------------------------------------------------------*/
/* USER CODE BEGIN PD */
/* USER CODE END PD */
/* Private macro -------------------------------------------------------------*/
/* USER CODE BEGIN PM */
/* USER CODE END PM */
/* Private variables ---------------------------------------------------------*/
/* USER CODE BEGIN PV */
/* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/
void SystemClock_Config(void);
/* USER CODE BEGIN PFP */
/* USER CODE END PFP */
/* Private user code ---------------------------------------------------------*/
/* USER CODE BEGIN 0 */
/* USER CODE END 0 */
/**
* @brief The application entry point.
* @retval int
*/
int main(void)
{
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
/* USER CODE BEGIN SysInit */
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_LWIP_Init();
/* USER CODE BEGIN 2 */
/* USER CODE END 2 */
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
//Read a received packet from the Ethernet buffers and Send it to the lwIP stack for handling
MX_LWIP_Process();
}
/* USER CODE END 3 */
}
Any ideas what I'm doing wrong?
Regards,
Gregor