feat(esp8266): Modify header file relationship for app using BITx

This commit is contained in:
Dong Heng
2018-08-08 15:29:29 +08:00
parent 03be34e550
commit f5196d26a6
3 changed files with 5 additions and 2 deletions

View File

@ -29,8 +29,6 @@
#include "esp8266/eagle_soc.h"
#include "freertos/portmacro.h"
/* interrupt related */
#define ETS_SPI_INUM 2
#define ETS_GPIO_INUM 4

View File

@ -67,6 +67,10 @@
#include "sdkconfig.h"
#ifndef __ASSEMBLER__
#include "rom/ets_sys.h"
#endif
/*-----------------------------------------------------------
* Application specific definitions.
*

View File

@ -18,6 +18,7 @@
#include <stdint.h>
#include <stdarg.h>
#include "sdkconfig.h"
#include "rom/ets_sys.h"
#ifdef __cplusplus
extern "C" {