From e7ea88295e2d260c660e68e0c44988f54198a569 Mon Sep 17 00:00:00 2001 From: Alastair D'Silva Date: Fri, 1 Apr 2016 19:20:24 +1100 Subject: [PATCH] Remove definition of _STDINT_H, it suppresses the inclusion of the compiler stdint.h, resulting in uint8_t & friends being undefined --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4e5fa72..cacdc65 100644 --- a/Makefile +++ b/Makefile @@ -215,7 +215,7 @@ LIBS = c gcc hal phy pp net80211 wpa main lwip crypto # compiler flags using during compilation of source files CFLAGS += -Os -ggdb -std=c99 -Werror -Wpointer-arith -Wundef -Wall -Wl,-EL -fno-inline-functions \ -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections \ - -D__ets__ -DICACHE_FLASH -D_STDINT_H -Wno-address -DFIRMWARE_SIZE=$(ESP_FLASH_MAX) \ + -D__ets__ -DICACHE_FLASH -Wno-address -DFIRMWARE_SIZE=$(ESP_FLASH_MAX) \ -DMCU_RESET_PIN=$(MCU_RESET_PIN) -DMCU_ISP_PIN=$(MCU_ISP_PIN) \ -DLED_CONN_PIN=$(LED_CONN_PIN) -DLED_SERIAL_PIN=$(LED_SERIAL_PIN) \ -DVERSION="$(VERSION)"