mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 15:15:15 +08:00
fix(esp8266): Fix header files dependency in esp8266
Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/197
This commit is contained in:
@ -25,6 +25,8 @@
|
||||
#ifndef _GPIO_REGISTER_H_
|
||||
#define _GPIO_REGISTER_H_
|
||||
|
||||
#include "eagle_soc.h"
|
||||
|
||||
#define PERIPHS_GPIO_BASEADDR 0x60000300
|
||||
|
||||
#define GPIO_OUT_ADDRESS 0x00
|
||||
|
@ -24,7 +24,9 @@
|
||||
|
||||
#ifndef _PIN_MUX_H_
|
||||
#define _PIN_MUX_H_
|
||||
|
||||
#include "eagle_soc.h"
|
||||
|
||||
#define PERIPHS_IO_MUX 0x60000800
|
||||
|
||||
#define PERIPHS_IO_MUX_FUNC 0x13
|
||||
|
@ -25,6 +25,8 @@
|
||||
#ifndef SPI_REGISTER_H_INCLUDED
|
||||
#define SPI_REGISTER_H_INCLUDED
|
||||
|
||||
#include "eagle_soc.h"
|
||||
|
||||
#define REG_SPI_BASE(i) (0x60000200 - i*0x100)
|
||||
|
||||
#define SPI_CMD(i) (REG_SPI_BASE(i) + 0x0)
|
||||
|
@ -25,6 +25,8 @@
|
||||
#ifndef _TIMER_REGISTER_H_
|
||||
#define _TIMER_REGISTER_H_
|
||||
|
||||
#include "eagle_soc.h"
|
||||
|
||||
#define PERIPHS_TIMER_BASEDDR 0x60000600
|
||||
|
||||
#define FRC1_LOAD_ADDRESS (PERIPHS_TIMER_BASEDDR + 0x0)
|
||||
|
@ -25,6 +25,8 @@
|
||||
#ifndef UART_REGISTER_H_
|
||||
#define UART_REGISTER_H_
|
||||
|
||||
#include "eagle_soc.h"
|
||||
|
||||
#define REG_UART_BASE(i) (0x60000000 + (i)*0xf00)
|
||||
//version value:32'h062000
|
||||
|
||||
|
Reference in New Issue
Block a user