Adding HTTPClient, fix esp32 build board, deprecate old spi flash.
This commit is contained in:
@ -84,6 +84,14 @@
|
||||
# define OPTIONAL_SPI_FLASH_SUPPORT
|
||||
# endif
|
||||
|
||||
// Hook to pull in optional HTTPClient support.
|
||||
# if __has_include("http-client.h")
|
||||
# include "http-client.h"
|
||||
# else
|
||||
# define OPTIONAL_HTTP_CLIENT_VOCABULARY
|
||||
# define OPTIONAL_HTTP_CLIENT_SUPPORT
|
||||
# endif
|
||||
|
||||
static cell_t ResizeFile(cell_t fd, cell_t size);
|
||||
|
||||
#endif
|
||||
@ -120,7 +128,8 @@ static cell_t ResizeFile(cell_t fd, cell_t size);
|
||||
OPTIONAL_OLED_SUPPORT \
|
||||
OPTIONAL_RMT_SUPPORT \
|
||||
OPTIONAL_SERIAL_BLUETOOTH_SUPPORT \
|
||||
OPTIONAL_SPI_FLASH_SUPPORT
|
||||
OPTIONAL_SPI_FLASH_SUPPORT \
|
||||
OPTIONAL_HTTP_CLIENT_SUPPORT
|
||||
|
||||
#define REQUIRED_MEMORY_SUPPORT \
|
||||
YV(internals, MALLOC, SET malloc(n0)) \
|
||||
|
||||
Reference in New Issue
Block a user