From f4f276f370e61acbc35ab037c634b19a5e0827d8 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Mon, 29 May 2023 11:44:59 -0300 Subject: [PATCH] standardize header inclusion --- examples/stm32/nucleo-f746zg-freertos-tcp/main.c | 1 + examples/stm32/nucleo-f746zg-keil-baremetal/main.c | 3 ++- examples/stm32/nucleo-f746zg-keil-freertos-lwip/main.c | 3 ++- examples/stm32/nucleo-f746zg-keil-freertos-tcp/main.c | 3 ++- examples/stm32/nucleo-f746zg-keil-freertos/main.c | 3 ++- examples/stm32/nucleo-f746zg-keil-freertos_cmsis2-lwip/main.c | 3 ++- examples/stm32/nucleo-f746zg-keil-freertos_cmsis2/main.c | 1 + examples/stm32/nucleo-f746zg-keil-rtx-mdk/main.c | 3 ++- examples/stm32/nucleo-f746zg-keil-rtx/main.c | 3 ++- examples/stm32/nucleo-f746zg-keil-rtx5-lwip/main.c | 3 ++- examples/stm32/nucleo-f746zg-keil-rtx5-mdk/main.c | 3 ++- examples/stm32/nucleo-f746zg-keil-rtx5/main.c | 3 ++- 12 files changed, 22 insertions(+), 10 deletions(-) diff --git a/examples/stm32/nucleo-f746zg-freertos-tcp/main.c b/examples/stm32/nucleo-f746zg-freertos-tcp/main.c index 1b28cdb6..707d1524 100644 --- a/examples/stm32/nucleo-f746zg-freertos-tcp/main.c +++ b/examples/stm32/nucleo-f746zg-freertos-tcp/main.c @@ -2,6 +2,7 @@ // All rights reserved #include "hal.h" +#include "mongoose.h" #include "net.h" #define LED1 PIN('B', 0) // On-board LED pin (green) diff --git a/examples/stm32/nucleo-f746zg-keil-baremetal/main.c b/examples/stm32/nucleo-f746zg-keil-baremetal/main.c index 80d9aaa6..1582b33a 100644 --- a/examples/stm32/nucleo-f746zg-keil-baremetal/main.c +++ b/examples/stm32/nucleo-f746zg-keil-baremetal/main.c @@ -2,8 +2,9 @@ // All rights reserved #include "hal.h" -#include "net.h" +#include "mongoose.h" #include "main.h" +#include "net.h" #define BLINK_PERIOD_MS 1000 // LED blinking period in millis diff --git a/examples/stm32/nucleo-f746zg-keil-freertos-lwip/main.c b/examples/stm32/nucleo-f746zg-keil-freertos-lwip/main.c index 38a56530..705245e3 100644 --- a/examples/stm32/nucleo-f746zg-keil-freertos-lwip/main.c +++ b/examples/stm32/nucleo-f746zg-keil-freertos-lwip/main.c @@ -2,8 +2,9 @@ // All rights reserved #include "hal.h" -#include "net.h" +#include "mongoose.h" #include "main.h" +#include "net.h" #include "ethernetif.h" #include "lwip/dhcp.h" #include "lwip/netif.h" diff --git a/examples/stm32/nucleo-f746zg-keil-freertos-tcp/main.c b/examples/stm32/nucleo-f746zg-keil-freertos-tcp/main.c index fd06adc6..1e19f5e6 100644 --- a/examples/stm32/nucleo-f746zg-keil-freertos-tcp/main.c +++ b/examples/stm32/nucleo-f746zg-keil-freertos-tcp/main.c @@ -2,8 +2,9 @@ // All rights reserved #include "hal.h" -#include "net.h" +#include "mongoose.h" #include "main.h" +#include "net.h" extern RNG_HandleTypeDef hrng; diff --git a/examples/stm32/nucleo-f746zg-keil-freertos/main.c b/examples/stm32/nucleo-f746zg-keil-freertos/main.c index 109b16b7..70e0b468 100644 --- a/examples/stm32/nucleo-f746zg-keil-freertos/main.c +++ b/examples/stm32/nucleo-f746zg-keil-freertos/main.c @@ -2,8 +2,9 @@ // All rights reserved #include "hal.h" -#include "net.h" +#include "mongoose.h" #include "main.h" +#include "net.h" #define BLINK_PERIOD_MS 1000 // LED blinking period in millis diff --git a/examples/stm32/nucleo-f746zg-keil-freertos_cmsis2-lwip/main.c b/examples/stm32/nucleo-f746zg-keil-freertos_cmsis2-lwip/main.c index 91817b56..2f91acbd 100644 --- a/examples/stm32/nucleo-f746zg-keil-freertos_cmsis2-lwip/main.c +++ b/examples/stm32/nucleo-f746zg-keil-freertos_cmsis2-lwip/main.c @@ -2,8 +2,9 @@ // All rights reserved #include "hal.h" -#include "net.h" +#include "mongoose.h" #include "main.h" +#include "net.h" #include "cmsis_os2.h" #include "ethernetif.h" #include "lwip/dhcp.h" diff --git a/examples/stm32/nucleo-f746zg-keil-freertos_cmsis2/main.c b/examples/stm32/nucleo-f746zg-keil-freertos_cmsis2/main.c index fb316442..04b97498 100644 --- a/examples/stm32/nucleo-f746zg-keil-freertos_cmsis2/main.c +++ b/examples/stm32/nucleo-f746zg-keil-freertos_cmsis2/main.c @@ -4,6 +4,7 @@ #include "hal.h" #include "mongoose.h" #include "main.h" +#include "net.h" #include "cmsis_os2.h" #define BLINK_PERIOD_MS 1000 // LED blinking period in millis diff --git a/examples/stm32/nucleo-f746zg-keil-rtx-mdk/main.c b/examples/stm32/nucleo-f746zg-keil-rtx-mdk/main.c index 0f0f8620..50f31e55 100644 --- a/examples/stm32/nucleo-f746zg-keil-rtx-mdk/main.c +++ b/examples/stm32/nucleo-f746zg-keil-rtx-mdk/main.c @@ -2,8 +2,9 @@ // All rights reserved #include "hal.h" -#include "net.h" +#include "mongoose.h" #include "main.h" +#include "net.h" #include "cmsis_os.h" #define BLINK_PERIOD_MS 1000 // LED blinking period in millis diff --git a/examples/stm32/nucleo-f746zg-keil-rtx/main.c b/examples/stm32/nucleo-f746zg-keil-rtx/main.c index c00f0669..f6690c51 100644 --- a/examples/stm32/nucleo-f746zg-keil-rtx/main.c +++ b/examples/stm32/nucleo-f746zg-keil-rtx/main.c @@ -2,8 +2,9 @@ // All rights reserved #include "hal.h" -#include "net.h" +#include "mongoose.h" #include "main.h" +#include "net.h" #include "cmsis_os.h" #define BLINK_PERIOD_MS 1000 // LED blinking period in millis diff --git a/examples/stm32/nucleo-f746zg-keil-rtx5-lwip/main.c b/examples/stm32/nucleo-f746zg-keil-rtx5-lwip/main.c index d5b0a695..fa063462 100644 --- a/examples/stm32/nucleo-f746zg-keil-rtx5-lwip/main.c +++ b/examples/stm32/nucleo-f746zg-keil-rtx5-lwip/main.c @@ -2,8 +2,9 @@ // All rights reserved #include "hal.h" -#include "net.h" +#include "mongoose.h" #include "main.h" +#include "net.h" #include "cmsis_os2.h" #include "ethernetif.h" #include "lwip/dhcp.h" diff --git a/examples/stm32/nucleo-f746zg-keil-rtx5-mdk/main.c b/examples/stm32/nucleo-f746zg-keil-rtx5-mdk/main.c index 83b71833..2112b08d 100644 --- a/examples/stm32/nucleo-f746zg-keil-rtx5-mdk/main.c +++ b/examples/stm32/nucleo-f746zg-keil-rtx5-mdk/main.c @@ -2,8 +2,9 @@ // All rights reserved #include "hal.h" -#include "net.h" +#include "mongoose.h" #include "main.h" +#include "net.h" #include "cmsis_os2.h" #define BLINK_PERIOD_MS 1000 // LED blinking period in millis diff --git a/examples/stm32/nucleo-f746zg-keil-rtx5/main.c b/examples/stm32/nucleo-f746zg-keil-rtx5/main.c index f2eee588..1924cad4 100644 --- a/examples/stm32/nucleo-f746zg-keil-rtx5/main.c +++ b/examples/stm32/nucleo-f746zg-keil-rtx5/main.c @@ -2,8 +2,9 @@ // All rights reserved #include "hal.h" -#include "net.h" +#include "mongoose.h" #include "main.h" +#include "net.h" #include "cmsis_os2.h" #define BLINK_PERIOD_MS 1000 // LED blinking period in millis