Skip to content

Commit f5196d2

Browse files
committed
feat(esp8266): Modify header file relationship for app using BITx
1 parent 03be34e commit f5196d2

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

components/esp8266/include/rom/ets_sys.h

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929

3030
#include "esp8266/eagle_soc.h"
3131

32-
#include "freertos/portmacro.h"
33-
3432
/* interrupt related */
3533
#define ETS_SPI_INUM 2
3634
#define ETS_GPIO_INUM 4

components/freertos/port/esp8266/include/freertos/FreeRTOSConfig.h

+4
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@
6767

6868
#include "sdkconfig.h"
6969

70+
#ifndef __ASSEMBLER__
71+
#include "rom/ets_sys.h"
72+
#endif
73+
7074
/*-----------------------------------------------------------
7175
* Application specific definitions.
7276
*

components/log/include/esp_log.h

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include <stdint.h>
1919
#include <stdarg.h>
2020
#include "sdkconfig.h"
21+
#include "rom/ets_sys.h"
2122

2223
#ifdef __cplusplus
2324
extern "C" {

0 commit comments

Comments
 (0)