fix(esp8266): Fix header files dependency in esp8266

Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/197
This commit is contained in:
Wu Jian Gang
2018-05-31 17:30:14 +08:00
parent e8f1483801
commit c8ac7cc2be
11 changed files with 35 additions and 6 deletions

View File

@ -15,6 +15,8 @@
#ifndef SPI_REGISTER_H_INCLUDED
#define SPI_REGISTER_H_INCLUDED
#include "esp8266/eagle_soc.h"
#define REG_SPI_BASE(i) (0x60000200-i*0x100)
#define SPI_CMD(i) (REG_SPI_BASE(i) + 0x0)