-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename MG_ENABLE_FILE to MG_ENABLE_POSIX_FS
- Loading branch information
Showing
14 changed files
with
662 additions
and
662 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 32 additions & 32 deletions
64
examples/stm32/nucleo-f429zi-cube-baremetal-builtin/Core/Inc/mongoose_custom.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
|
||
// If we could guess an MG_ARCH so far, preserve it, otherwise try GCC-based | ||
#if defined(MG_ARCH) | ||
#define MG_STMPACK_ARCH MG_ARCH | ||
#undef MG_ARCH | ||
#elif defined(__GNUC__) | ||
#define MG_STMPACK_ARCH MG_ARCH_NEWLIB | ||
#endif | ||
|
||
#define MG_ENABLE_PACKED_FS 1 | ||
#define MG_ENABLE_CUSTOM_MILLIS 1 | ||
#define MG_ENABLE_MBEDTLS 0 | ||
#define MG_ARCH MG_STMPACK_ARCH | ||
#define MG_STMPACK_NET 0 | ||
#define MG_ENABLE_CUSTOM_RANDOM 1 | ||
|
||
// Translate to Mongoose macros | ||
#if MG_CMSISPACK_NET == 0 | ||
#define MG_ENABLE_TCPIP 1 | ||
#elif MG_CMSISPACK_NET == 1 | ||
#define MG_ENABLE_LWIP 1 | ||
#elif MG_CMSISPACK_NET == 2 | ||
#define MG_ENABLE_FREERTOS_TCP 1 | ||
#elif MG_CMSISPACK_NET == 3 | ||
#define MG_ENABLE_RL 1 | ||
#endif | ||
|
||
#if MG_ENABLE_PACKED_FS | ||
#define MG_ENABLE_FILE 0 | ||
#endif | ||
|
||
// See https://mongoose.ws/documentation/#build-options | ||
|
||
// If we could guess an MG_ARCH so far, preserve it, otherwise try GCC-based | ||
#if defined(MG_ARCH) | ||
#define MG_STMPACK_ARCH MG_ARCH | ||
#undef MG_ARCH | ||
#elif defined(__GNUC__) | ||
#define MG_STMPACK_ARCH MG_ARCH_NEWLIB | ||
#endif | ||
|
||
#define MG_ENABLE_PACKED_FS 1 | ||
#define MG_ENABLE_CUSTOM_MILLIS 1 | ||
#define MG_ENABLE_MBEDTLS 0 | ||
#define MG_ARCH MG_STMPACK_ARCH | ||
#define MG_STMPACK_NET 0 | ||
#define MG_ENABLE_CUSTOM_RANDOM 1 | ||
|
||
// Translate to Mongoose macros | ||
#if MG_CMSISPACK_NET == 0 | ||
#define MG_ENABLE_TCPIP 1 | ||
#elif MG_CMSISPACK_NET == 1 | ||
#define MG_ENABLE_LWIP 1 | ||
#elif MG_CMSISPACK_NET == 2 | ||
#define MG_ENABLE_FREERTOS_TCP 1 | ||
#elif MG_CMSISPACK_NET == 3 | ||
#define MG_ENABLE_RL 1 | ||
#endif | ||
|
||
#if MG_ENABLE_PACKED_FS | ||
#define MG_ENABLE_POSIX_FS 0 | ||
#endif | ||
|
||
// See https://mongoose.ws/documentation/#build-options |
64 changes: 32 additions & 32 deletions
64
examples/stm32/nucleo-f429zi-cube-freertos-builtin/Core/Inc/mongoose_custom.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
|
||
// If we could guess an MG_ARCH so far, preserve it, otherwise try GCC-based | ||
#if defined(MG_ARCH) | ||
#define MG_STMPACK_ARCH MG_ARCH | ||
#undef MG_ARCH | ||
#elif defined(__GNUC__) | ||
#define MG_STMPACK_ARCH MG_ARCH_NEWLIB | ||
#endif | ||
|
||
#define MG_ENABLE_PACKED_FS 1 | ||
#define MG_ENABLE_CUSTOM_MILLIS 0 | ||
#define MG_ENABLE_MBEDTLS 0 | ||
#define MG_ARCH MG_ARCH_CMSIS_RTOS2 | ||
#define MG_STMPACK_NET 0 | ||
#define MG_ENABLE_CUSTOM_RANDOM 1 | ||
|
||
// Translate to Mongoose macros | ||
#if MG_STMPACK_NET == 0 | ||
#define MG_ENABLE_TCPIP 1 | ||
#elif MG_STMPACK_NET == 1 | ||
#define MG_ENABLE_LWIP 1 | ||
#elif MG_STMPACK_NET == 2 | ||
#define MG_ENABLE_FREERTOS_TCP 1 | ||
#elif MG_STMPACK_NET == 3 | ||
#define MG_ENABLE_RL 1 | ||
#endif | ||
|
||
#if MG_ENABLE_PACKED_FS | ||
#define MG_ENABLE_FILE 0 | ||
#endif | ||
|
||
// See https://mongoose.ws/documentation/#build-options | ||
|
||
// If we could guess an MG_ARCH so far, preserve it, otherwise try GCC-based | ||
#if defined(MG_ARCH) | ||
#define MG_STMPACK_ARCH MG_ARCH | ||
#undef MG_ARCH | ||
#elif defined(__GNUC__) | ||
#define MG_STMPACK_ARCH MG_ARCH_NEWLIB | ||
#endif | ||
|
||
#define MG_ENABLE_PACKED_FS 1 | ||
#define MG_ENABLE_CUSTOM_MILLIS 0 | ||
#define MG_ENABLE_MBEDTLS 0 | ||
#define MG_ARCH MG_ARCH_CMSIS_RTOS2 | ||
#define MG_STMPACK_NET 0 | ||
#define MG_ENABLE_CUSTOM_RANDOM 1 | ||
|
||
// Translate to Mongoose macros | ||
#if MG_STMPACK_NET == 0 | ||
#define MG_ENABLE_TCPIP 1 | ||
#elif MG_STMPACK_NET == 1 | ||
#define MG_ENABLE_LWIP 1 | ||
#elif MG_STMPACK_NET == 2 | ||
#define MG_ENABLE_FREERTOS_TCP 1 | ||
#elif MG_STMPACK_NET == 3 | ||
#define MG_ENABLE_RL 1 | ||
#endif | ||
|
||
#if MG_ENABLE_PACKED_FS | ||
#define MG_ENABLE_POSIX_FS 0 | ||
#endif | ||
|
||
// See https://mongoose.ws/documentation/#build-options |
64 changes: 32 additions & 32 deletions
64
examples/stm32/nucleo-f429zi-cube-freertos-lwip/Core/Inc/mongoose_custom.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
|
||
// If we could guess an MG_ARCH so far, preserve it, otherwise try GCC-based | ||
#if defined(MG_ARCH) | ||
#define MG_STMPACK_ARCH MG_ARCH | ||
#undef MG_ARCH | ||
#elif defined(__GNUC__) | ||
#define MG_STMPACK_ARCH MG_ARCH_NEWLIB | ||
#endif | ||
|
||
#define MG_ENABLE_PACKED_FS 1 | ||
#define MG_ENABLE_CUSTOM_MILLIS 0 | ||
#define MG_ENABLE_MBEDTLS 0 | ||
#define MG_ARCH MG_ARCH_FREERTOS | ||
#define MG_STMPACK_NET 1 | ||
#define MG_ENABLE_CUSTOM_RANDOM 1 | ||
|
||
// Translate to Mongoose macros | ||
#if MG_STMPACK_NET == 0 | ||
#define MG_ENABLE_TCPIP 1 | ||
#elif MG_STMPACK_NET == 1 | ||
#define MG_ENABLE_LWIP 1 | ||
#elif MG_STMPACK_NET == 2 | ||
#define MG_ENABLE_FREERTOS_TCP 1 | ||
#elif MG_STMPACK_NET == 3 | ||
#define MG_ENABLE_RL 1 | ||
#endif | ||
|
||
#if MG_ENABLE_PACKED_FS | ||
#define MG_ENABLE_FILE 0 | ||
#endif | ||
|
||
// See https://mongoose.ws/documentation/#build-options | ||
|
||
// If we could guess an MG_ARCH so far, preserve it, otherwise try GCC-based | ||
#if defined(MG_ARCH) | ||
#define MG_STMPACK_ARCH MG_ARCH | ||
#undef MG_ARCH | ||
#elif defined(__GNUC__) | ||
#define MG_STMPACK_ARCH MG_ARCH_NEWLIB | ||
#endif | ||
|
||
#define MG_ENABLE_PACKED_FS 1 | ||
#define MG_ENABLE_CUSTOM_MILLIS 0 | ||
#define MG_ENABLE_MBEDTLS 0 | ||
#define MG_ARCH MG_ARCH_FREERTOS | ||
#define MG_STMPACK_NET 1 | ||
#define MG_ENABLE_CUSTOM_RANDOM 1 | ||
|
||
// Translate to Mongoose macros | ||
#if MG_STMPACK_NET == 0 | ||
#define MG_ENABLE_TCPIP 1 | ||
#elif MG_STMPACK_NET == 1 | ||
#define MG_ENABLE_LWIP 1 | ||
#elif MG_STMPACK_NET == 2 | ||
#define MG_ENABLE_FREERTOS_TCP 1 | ||
#elif MG_STMPACK_NET == 3 | ||
#define MG_ENABLE_RL 1 | ||
#endif | ||
|
||
#if MG_ENABLE_PACKED_FS | ||
#define MG_ENABLE_POSIX_FS 0 | ||
#endif | ||
|
||
// See https://mongoose.ws/documentation/#build-options |
64 changes: 32 additions & 32 deletions
64
examples/stm32/nucleo-f746zg-cube-baremetal-builtin/Core/Inc/mongoose_custom.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
|
||
// If we could guess an MG_ARCH so far, preserve it, otherwise try GCC-based | ||
#if defined(MG_ARCH) | ||
#define MG_STMPACK_ARCH MG_ARCH | ||
#undef MG_ARCH | ||
#elif defined(__GNUC__) | ||
#define MG_STMPACK_ARCH MG_ARCH_NEWLIB | ||
#endif | ||
|
||
#define MG_ENABLE_PACKED_FS 1 | ||
#define MG_ENABLE_CUSTOM_MILLIS 1 | ||
#define MG_ENABLE_MBEDTLS 0 | ||
#define MG_ARCH MG_STMPACK_ARCH | ||
#define MG_STMPACK_NET 0 | ||
#define MG_ENABLE_CUSTOM_RANDOM 1 | ||
|
||
// Translate to Mongoose macros | ||
#if MG_CMSISPACK_NET == 0 | ||
#define MG_ENABLE_TCPIP 1 | ||
#elif MG_CMSISPACK_NET == 1 | ||
#define MG_ENABLE_LWIP 1 | ||
#elif MG_CMSISPACK_NET == 2 | ||
#define MG_ENABLE_FREERTOS_TCP 1 | ||
#elif MG_CMSISPACK_NET == 3 | ||
#define MG_ENABLE_RL 1 | ||
#endif | ||
|
||
#if MG_ENABLE_PACKED_FS | ||
#define MG_ENABLE_FILE 0 | ||
#endif | ||
|
||
// See https://mongoose.ws/documentation/#build-options | ||
|
||
// If we could guess an MG_ARCH so far, preserve it, otherwise try GCC-based | ||
#if defined(MG_ARCH) | ||
#define MG_STMPACK_ARCH MG_ARCH | ||
#undef MG_ARCH | ||
#elif defined(__GNUC__) | ||
#define MG_STMPACK_ARCH MG_ARCH_NEWLIB | ||
#endif | ||
|
||
#define MG_ENABLE_PACKED_FS 1 | ||
#define MG_ENABLE_CUSTOM_MILLIS 1 | ||
#define MG_ENABLE_MBEDTLS 0 | ||
#define MG_ARCH MG_STMPACK_ARCH | ||
#define MG_STMPACK_NET 0 | ||
#define MG_ENABLE_CUSTOM_RANDOM 1 | ||
|
||
// Translate to Mongoose macros | ||
#if MG_CMSISPACK_NET == 0 | ||
#define MG_ENABLE_TCPIP 1 | ||
#elif MG_CMSISPACK_NET == 1 | ||
#define MG_ENABLE_LWIP 1 | ||
#elif MG_CMSISPACK_NET == 2 | ||
#define MG_ENABLE_FREERTOS_TCP 1 | ||
#elif MG_CMSISPACK_NET == 3 | ||
#define MG_ENABLE_RL 1 | ||
#endif | ||
|
||
#if MG_ENABLE_PACKED_FS | ||
#define MG_ENABLE_POSIX_FS 0 | ||
#endif | ||
|
||
// See https://mongoose.ws/documentation/#build-options |
64 changes: 32 additions & 32 deletions
64
examples/stm32/nucleo-f746zg-cube-freertos-builtin/Core/Inc/mongoose_custom.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
|
||
// If we could guess an MG_ARCH so far, preserve it, otherwise try GCC-based | ||
#if defined(MG_ARCH) | ||
#define MG_STMPACK_ARCH MG_ARCH | ||
#undef MG_ARCH | ||
#elif defined(__GNUC__) | ||
#define MG_STMPACK_ARCH MG_ARCH_NEWLIB | ||
#endif | ||
|
||
#define MG_ENABLE_PACKED_FS 1 | ||
#define MG_ENABLE_CUSTOM_MILLIS 0 | ||
#define MG_ENABLE_MBEDTLS 0 | ||
#define MG_ARCH MG_ARCH_CMSIS_RTOS2 | ||
#define MG_STMPACK_NET 0 | ||
#define MG_ENABLE_CUSTOM_RANDOM 1 | ||
|
||
// Translate to Mongoose macros | ||
#if MG_STMPACK_NET == 0 | ||
#define MG_ENABLE_TCPIP 1 | ||
#elif MG_STMPACK_NET == 1 | ||
#define MG_ENABLE_LWIP 1 | ||
#elif MG_STMPACK_NET == 2 | ||
#define MG_ENABLE_FREERTOS_TCP 1 | ||
#elif MG_STMPACK_NET == 3 | ||
#define MG_ENABLE_RL 1 | ||
#endif | ||
|
||
#if MG_ENABLE_PACKED_FS | ||
#define MG_ENABLE_FILE 0 | ||
#endif | ||
|
||
// See https://mongoose.ws/documentation/#build-options | ||
|
||
// If we could guess an MG_ARCH so far, preserve it, otherwise try GCC-based | ||
#if defined(MG_ARCH) | ||
#define MG_STMPACK_ARCH MG_ARCH | ||
#undef MG_ARCH | ||
#elif defined(__GNUC__) | ||
#define MG_STMPACK_ARCH MG_ARCH_NEWLIB | ||
#endif | ||
|
||
#define MG_ENABLE_PACKED_FS 1 | ||
#define MG_ENABLE_CUSTOM_MILLIS 0 | ||
#define MG_ENABLE_MBEDTLS 0 | ||
#define MG_ARCH MG_ARCH_CMSIS_RTOS2 | ||
#define MG_STMPACK_NET 0 | ||
#define MG_ENABLE_CUSTOM_RANDOM 1 | ||
|
||
// Translate to Mongoose macros | ||
#if MG_STMPACK_NET == 0 | ||
#define MG_ENABLE_TCPIP 1 | ||
#elif MG_STMPACK_NET == 1 | ||
#define MG_ENABLE_LWIP 1 | ||
#elif MG_STMPACK_NET == 2 | ||
#define MG_ENABLE_FREERTOS_TCP 1 | ||
#elif MG_STMPACK_NET == 3 | ||
#define MG_ENABLE_RL 1 | ||
#endif | ||
|
||
#if MG_ENABLE_PACKED_FS | ||
#define MG_ENABLE_POSIX_FS 0 | ||
#endif | ||
|
||
// See https://mongoose.ws/documentation/#build-options |
64 changes: 32 additions & 32 deletions
64
examples/stm32/nucleo-f746zg-cube-freertos-lwip/Core/Inc/mongoose_custom.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
|
||
// If we could guess an MG_ARCH so far, preserve it, otherwise try GCC-based | ||
#if defined(MG_ARCH) | ||
#define MG_STMPACK_ARCH MG_ARCH | ||
#undef MG_ARCH | ||
#elif defined(__GNUC__) | ||
#define MG_STMPACK_ARCH MG_ARCH_NEWLIB | ||
#endif | ||
|
||
#define MG_ENABLE_PACKED_FS 1 | ||
#define MG_ENABLE_CUSTOM_MILLIS 0 | ||
#define MG_ENABLE_MBEDTLS 0 | ||
#define MG_ARCH MG_ARCH_FREERTOS | ||
#define MG_STMPACK_NET 1 | ||
#define MG_ENABLE_CUSTOM_RANDOM 1 | ||
|
||
// Translate to Mongoose macros | ||
#if MG_STMPACK_NET == 0 | ||
#define MG_ENABLE_TCPIP 1 | ||
#elif MG_STMPACK_NET == 1 | ||
#define MG_ENABLE_LWIP 1 | ||
#elif MG_STMPACK_NET == 2 | ||
#define MG_ENABLE_FREERTOS_TCP 1 | ||
#elif MG_STMPACK_NET == 3 | ||
#define MG_ENABLE_RL 1 | ||
#endif | ||
|
||
#if MG_ENABLE_PACKED_FS | ||
#define MG_ENABLE_FILE 0 | ||
#endif | ||
|
||
// See https://mongoose.ws/documentation/#build-options | ||
|
||
// If we could guess an MG_ARCH so far, preserve it, otherwise try GCC-based | ||
#if defined(MG_ARCH) | ||
#define MG_STMPACK_ARCH MG_ARCH | ||
#undef MG_ARCH | ||
#elif defined(__GNUC__) | ||
#define MG_STMPACK_ARCH MG_ARCH_NEWLIB | ||
#endif | ||
|
||
#define MG_ENABLE_PACKED_FS 1 | ||
#define MG_ENABLE_CUSTOM_MILLIS 0 | ||
#define MG_ENABLE_MBEDTLS 0 | ||
#define MG_ARCH MG_ARCH_FREERTOS | ||
#define MG_STMPACK_NET 1 | ||
#define MG_ENABLE_CUSTOM_RANDOM 1 | ||
|
||
// Translate to Mongoose macros | ||
#if MG_STMPACK_NET == 0 | ||
#define MG_ENABLE_TCPIP 1 | ||
#elif MG_STMPACK_NET == 1 | ||
#define MG_ENABLE_LWIP 1 | ||
#elif MG_STMPACK_NET == 2 | ||
#define MG_ENABLE_FREERTOS_TCP 1 | ||
#elif MG_STMPACK_NET == 3 | ||
#define MG_ENABLE_RL 1 | ||
#endif | ||
|
||
#if MG_ENABLE_PACKED_FS | ||
#define MG_ENABLE_POSIX_FS 0 | ||
#endif | ||
|
||
// See https://mongoose.ws/documentation/#build-options |
Oops, something went wrong.