mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-25 19:17:23 +08:00
10 lines
245 B
Makefile
10 lines
245 B
Makefile
ifndef CONFIG_NEWLIB_LIBRARY_CUSTOMER
|
|
|
|
NEWLIB_FLAGS := -D_CLOCKS_PER_SEC_=CONFIG_FREERTOS_HZ \
|
|
-D_POSIX_THREADS=1 \
|
|
-D_UNIX98_THREAD_MUTEX_ATTRIBUTES=1
|
|
|
|
CFLAGS += $(NEWLIB_FLAGS)
|
|
CPPFLAGS += $(NEWLIB_FLAGS)
|
|
endif
|