2016-09-16 10:10:18 +02:00
|
|
|
#ifndef _CPU_ESP32_H_
|
|
|
|
#define _CPU_ESP32_H_
|
|
|
|
|
|
|
|
#include "sdkconfig.h"
|
2023-01-31 07:07:54 +01:00
|
|
|
#include "spi_flash_mmap.h"
|
2016-09-16 10:10:18 +02:00
|
|
|
|
2022-01-26 01:32:24 +01:00
|
|
|
#define NUM_UART SOC_UART_NUM
|
2016-09-16 10:10:18 +02:00
|
|
|
|
|
|
|
#define INTERNAL_FLASH_SECTOR_SIZE SPI_FLASH_SEC_SIZE
|
|
|
|
#define INTERNAL_FLASH_WRITE_UNIT_SIZE 4
|
|
|
|
#define INTERNAL_FLASH_READ_UNIT_SIZE 4
|
|
|
|
|
|
|
|
#endif
|