Some modifications for new hw and esp-idf
This commit is contained in:
parent
c59ce7fbb0
commit
20c4e48be2
|
@ -153,8 +153,8 @@ void mipiResync() {
|
||||||
spidev->user.usr_mosi=1;
|
spidev->user.usr_mosi=1;
|
||||||
|
|
||||||
/* HACK for inverted clock */
|
/* HACK for inverted clock */
|
||||||
spidev->user.usr_addr=1;
|
// spidev->user.usr_addr=1;
|
||||||
spidev->user1.usr_addr_bitlen=0; //1 addr bit
|
// spidev->user1.usr_addr_bitlen=0; //1 addr bit
|
||||||
/* End hack */
|
/* End hack */
|
||||||
|
|
||||||
spidev->cmd.usr=1;
|
spidev->cmd.usr=1;
|
||||||
|
@ -183,6 +183,7 @@ void mipiInit() {
|
||||||
assert(spicommon_periph_claim(HOST));
|
assert(spicommon_periph_claim(HOST));
|
||||||
ret=spicommon_bus_initialize_io(HOST, &buscfg, DMACH, SPICOMMON_BUSFLAG_MASTER, &io_native);
|
ret=spicommon_bus_initialize_io(HOST, &buscfg, DMACH, SPICOMMON_BUSFLAG_MASTER, &io_native);
|
||||||
assert(ret==ESP_OK);
|
assert(ret==ESP_OK);
|
||||||
|
assert(spicommon_dma_chan_claim(DMACH));
|
||||||
spidev=spicommon_hw_for_host(HOST);
|
spidev=spicommon_hw_for_host(HOST);
|
||||||
|
|
||||||
//Set up idle dma desc
|
//Set up idle dma desc
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "esp_heap_alloc_caps.h"
|
#include "esp_heap_alloc_caps.h"
|
||||||
|
|
||||||
#define ADNS_MOSI 19
|
#define ADNS_MOSI 19
|
||||||
#define ADNS_MISO 21
|
#define ADNS_MISO 34ULL
|
||||||
#define ADNS_CLK 23
|
#define ADNS_CLK 23
|
||||||
#define ADNS_CS 22
|
#define ADNS_CS 22
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ static void adnsWrite(int adr, int val) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static int adnsRead(int adr) {
|
static int adnsRead(int adr) {
|
||||||
int data=((adr&0x7F)<<8);
|
int data=((adr&0x7F)<<8)|0xff;
|
||||||
int out=0;
|
int out=0;
|
||||||
gpio_set_level(ADNS_CS, 0);
|
gpio_set_level(ADNS_CS, 0);
|
||||||
DELAY();
|
DELAY();
|
||||||
|
@ -40,11 +40,12 @@ static int adnsRead(int adr) {
|
||||||
gpio_set_level(ADNS_MOSI, (data&mask)?1:0);
|
gpio_set_level(ADNS_MOSI, (data&mask)?1:0);
|
||||||
gpio_set_level(ADNS_CLK, 0);
|
gpio_set_level(ADNS_CLK, 0);
|
||||||
DELAY();
|
DELAY();
|
||||||
gpio_set_level(ADNS_CLK, 1);
|
|
||||||
if (gpio_get_level(ADNS_MISO)) out|=mask;
|
if (gpio_get_level(ADNS_MISO)) out|=mask;
|
||||||
|
gpio_set_level(ADNS_CLK, 1);
|
||||||
DELAY();
|
DELAY();
|
||||||
}
|
}
|
||||||
gpio_set_level(ADNS_CS, 1);
|
gpio_set_level(ADNS_CS, 1);
|
||||||
|
DELAY();
|
||||||
return out&0xff;
|
return out&0xff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -59,9 +60,9 @@ int adns9500_init() {
|
||||||
.pull_down_en=GPIO_PULLDOWN_DISABLE,
|
.pull_down_en=GPIO_PULLDOWN_DISABLE,
|
||||||
.intr_type=GPIO_PIN_INTR_DISABLE
|
.intr_type=GPIO_PIN_INTR_DISABLE
|
||||||
},{
|
},{
|
||||||
.pin_bit_mask=(1<<ADNS_MISO),
|
.pin_bit_mask=(1ULL<<ADNS_MISO),
|
||||||
.mode=GPIO_MODE_INPUT,
|
.mode=GPIO_MODE_INPUT,
|
||||||
.pull_up_en=GPIO_PULLUP_ENABLE,
|
// .pull_up_en=GPIO_PULLUP_ENABLE,
|
||||||
// .pull_down_en=GPIO_PULLDOWN_DISABLE,
|
// .pull_down_en=GPIO_PULLDOWN_DISABLE,
|
||||||
.intr_type=GPIO_PIN_INTR_DISABLE
|
.intr_type=GPIO_PIN_INTR_DISABLE
|
||||||
}
|
}
|
||||||
|
@ -100,7 +101,7 @@ void adns900_get_dxdybtn(int *x, int *y, int *btn) {
|
||||||
sy|=adnsRead(0x6)<<8;
|
sy|=adnsRead(0x6)<<8;
|
||||||
ets_delay_us(100);
|
ets_delay_us(100);
|
||||||
*btn=gpio_get_level(ADNS_MISO)?0:1;
|
*btn=gpio_get_level(ADNS_MISO)?0:1;
|
||||||
// printf("Mouse: %d %d %d\n", sx, sy, *btn);
|
if (sx!=0 || sy!=0) printf("Mouse: %hd %hd %d\n", sx, sy, *btn);
|
||||||
*x=sx;
|
*x=sx;
|
||||||
*y=sy;
|
*y=sy;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#ifndef HEXDUMP_H
|
||||||
|
#define HEXDUMP_H
|
||||||
|
|
||||||
|
void hexdump(void *mem, unsigned int len);
|
||||||
|
|
||||||
|
#endif
|
|
@ -1,11 +1,3 @@
|
||||||
/* SPI Master example
|
|
||||||
|
|
||||||
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, this
|
|
||||||
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
||||||
CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
*/
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -22,6 +14,9 @@
|
||||||
#include "mipi.h"
|
#include "mipi.h"
|
||||||
#include "mipi_dsi.h"
|
#include "mipi_dsi.h"
|
||||||
|
|
||||||
|
//We need speed here!
|
||||||
|
#pragma GCC optimize ("O2")
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t type;
|
uint8_t type;
|
||||||
uint8_t addr;
|
uint8_t addr;
|
||||||
|
@ -29,8 +24,8 @@ typedef struct {
|
||||||
uint8_t data[16];
|
uint8_t data[16];
|
||||||
} DispPacket;
|
} DispPacket;
|
||||||
|
|
||||||
//Copied from the X163QLN01 appliation note.
|
//Copied from the X163QLN01 application note.
|
||||||
const DispPacket initPackets[]={
|
static const DispPacket initPackets[]={
|
||||||
{0x39, 0xF0, 5, {0x55, 0xAA, 0x52, 0x08, 0x00}},
|
{0x39, 0xF0, 5, {0x55, 0xAA, 0x52, 0x08, 0x00}},
|
||||||
{0x39, 0xBD, 5, {0x01, 0x90, 0x14, 0x14, 0x00}},
|
{0x39, 0xBD, 5, {0x01, 0x90, 0x14, 0x14, 0x00}},
|
||||||
{0x39, 0xBE, 5, {0x01, 0x90, 0x14, 0x14, 0x01}},
|
{0x39, 0xBE, 5, {0x01, 0x90, 0x14, 0x14, 0x01}},
|
||||||
|
@ -71,16 +66,14 @@ const DispPacket initPackets[]={
|
||||||
|
|
||||||
#define SCALE_FACT 51 //Floating-point number, actually x/32. Divide mac reso by this to get lcd reso.
|
#define SCALE_FACT 51 //Floating-point number, actually x/32. Divide mac reso by this to get lcd reso.
|
||||||
|
|
||||||
|
|
||||||
static uint8_t mask[512];
|
static uint8_t mask[512];
|
||||||
|
|
||||||
static void calcLut() {
|
static void calcLut() {
|
||||||
for (int i=0; i<512; i++) mask[i]=(1<<(7-(i&7)));
|
for (int i=0; i<512; i++) mask[i]=(1<<(7-(i&7)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//Returns 0-1024
|
//Returns 0-1024
|
||||||
int findMacVal(uint8_t *data, int x, int y) {
|
static int IRAM_ATTR findMacVal(uint8_t *data, int x, int y) {
|
||||||
int a,b,c,d;
|
int a,b,c,d;
|
||||||
int v=0;
|
int v=0;
|
||||||
int rx=x/32;
|
int rx=x/32;
|
||||||
|
@ -122,7 +115,7 @@ int findMacVal(uint8_t *data, int x, int y) {
|
||||||
//
|
//
|
||||||
// Due to the weird buildup, a horizontal subpixel actually is 1/3rd real pixel wide!
|
// Due to the weird buildup, a horizontal subpixel actually is 1/3rd real pixel wide!
|
||||||
|
|
||||||
int findPixelVal(uint8_t *data, int x, int y) {
|
static int IRAM_ATTR findPixelVal(uint8_t *data, int x, int y) {
|
||||||
int sx=(x*SCALE_FACT); //32th is 512/320 -> scale 512 mac screen to 320 width
|
int sx=(x*SCALE_FACT); //32th is 512/320 -> scale 512 mac screen to 320 width
|
||||||
int sy=(y*SCALE_FACT);
|
int sy=(y*SCALE_FACT);
|
||||||
//sx and sy are now 27.5 fixed point values for the 'real' mac-like components
|
//sx and sy are now 27.5 fixed point values for the 'real' mac-like components
|
||||||
|
@ -141,7 +134,6 @@ int findPixelVal(uint8_t *data, int x, int y) {
|
||||||
return ((r>>5)<<0)|((g>>4)<<5)|((b>>5)<<11);
|
return ((r>>5)<<0)|((g>>4)<<5)|((b>>5)<<11);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
volatile static uint8_t *currFbPtr=NULL;
|
volatile static uint8_t *currFbPtr=NULL;
|
||||||
SemaphoreHandle_t dispSem = NULL;
|
SemaphoreHandle_t dispSem = NULL;
|
||||||
|
|
||||||
|
@ -168,7 +160,7 @@ static void initLcd() {
|
||||||
printf("Display inited.\n");
|
printf("Display inited.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void displayTask(void *arg) {
|
static void IRAM_ATTR displayTask(void *arg) {
|
||||||
uint8_t *img=malloc((LINESPERBUF*320*2)+1);
|
uint8_t *img=malloc((LINESPERBUF*320*2)+1);
|
||||||
assert(img);
|
assert(img);
|
||||||
calcLut();
|
calcLut();
|
||||||
|
|
|
@ -7,7 +7,8 @@ COMPONENT_SRCDIRS := . musashi
|
||||||
|
|
||||||
MUSASHI_GEN_SRC := musashi/m68kops_pre.c musashi/m68kopac.c musashi/m68kopdm.c musashi/m68kopnz.c
|
MUSASHI_GEN_SRC := musashi/m68kops_pre.c musashi/m68kopac.c musashi/m68kopdm.c musashi/m68kopnz.c
|
||||||
MUSASHI_GEN_OBJ := $(MUSASHI_GEN_SRC:%.c=%.o)
|
MUSASHI_GEN_OBJ := $(MUSASHI_GEN_SRC:%.c=%.o)
|
||||||
COMPONENT_OBJS := musashi/m68kops_pre.o musashi/m68kopac.o musashi/m68kopdm-iram.o musashi/m68kopnz.o musashi/m68kcpu.o emu.o iwm.o via.o rtc.o ncr.o scc.o mouse.o
|
COMPONENT_OBJS := musashi/m68kops_pre.o musashi/m68kopac.o musashi/m68kopdm-iram.o musashi/m68kopnz.o musashi/m68kcpu.o emu.o \
|
||||||
|
iwm.o via.o rtc.o ncr.o scc.o mouse.o localtalk.o
|
||||||
|
|
||||||
#nothing in iram: 16%
|
#nothing in iram: 16%
|
||||||
#ac nz in iram: 19%
|
#ac nz in iram: 19%
|
||||||
|
|
|
@ -322,7 +322,12 @@ static void ramInit() {
|
||||||
#define MMAP_RAM_PTR(ent, addr) &ent->memAddr[addr&(MEMMAP_ES-1)]
|
#define MMAP_RAM_PTR(ent, addr) &ent->memAddr[addr&(MEMMAP_ES-1)]
|
||||||
static void ramInit() {
|
static void ramInit() {
|
||||||
printf("Using internal memory as Mac RAM\n");
|
printf("Using internal memory as Mac RAM\n");
|
||||||
|
#if CONFIG_SPIRAM_USE_MEMMAP
|
||||||
|
macRam=(void*)0x3F800000;
|
||||||
|
#else
|
||||||
macRam=malloc(TME_RAMSIZE);
|
macRam=malloc(TME_RAMSIZE);
|
||||||
|
#endif
|
||||||
|
assert(macRam);
|
||||||
macFb[0]=&macRam[TME_SCREENBUF];
|
macFb[0]=&macRam[TME_SCREENBUF];
|
||||||
macFb[1]=&macRam[TME_SCREENBUF_ALT];
|
macFb[1]=&macRam[TME_SCREENBUF_ALT];
|
||||||
printf("Clearing ram...\n");
|
printf("Clearing ram...\n");
|
||||||
|
|
|
@ -39,7 +39,7 @@ int rtcCom(int en, int dat, int clk) {
|
||||||
} else if (rtc.pos==15) {
|
} else if (rtc.pos==15) {
|
||||||
if ((rtc.cmd&0x8000)==0) {
|
if ((rtc.cmd&0x8000)==0) {
|
||||||
rtc.mem[(rtc.cmd&0x7C00)>>10]=rtc.cmd&0xff;
|
rtc.mem[(rtc.cmd&0x7C00)>>10]=rtc.cmd&0xff;
|
||||||
saveRtcMem(rtc.mem);
|
// saveRtcMem(rtc.mem);
|
||||||
}
|
}
|
||||||
printf("RTC/PRAM CMD %x\n", rtc.cmd);
|
printf("RTC/PRAM CMD %x\n", rtc.cmd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -166,7 +166,7 @@ void sccWrite(unsigned int addr, unsigned int val) {
|
||||||
} else if (reg==15) {
|
} else if (reg==15) {
|
||||||
scc.chan[chan].wr15=val;
|
scc.chan[chan].wr15=val;
|
||||||
}
|
}
|
||||||
printf("SCC: write to addr %x chan %d reg %d val %x\n", addr, chan, reg, val);
|
// printf("SCC: write to addr %x chan %d reg %d val %x\n", addr, chan, reg, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -236,7 +236,7 @@ unsigned int sccRead(unsigned int addr) {
|
||||||
} else if (reg==15) {
|
} else if (reg==15) {
|
||||||
val=scc.chan[chan].wr15;
|
val=scc.chan[chan].wr15;
|
||||||
}
|
}
|
||||||
printf("SCC: read from chan %d reg %d val %x\n", chan, reg, val);
|
// printf("SCC: read from chan %d reg %d val %x\n", chan, reg, val);
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#define TME_ROMSIZE (128*1024)
|
#define TME_ROMSIZE (128*1024)
|
||||||
|
|
||||||
|
|
||||||
#ifdef CONFIG_SPIRAM_SUPPORT
|
#ifdef CONFIG_SPIRAM_SUPPORT_MALLOC
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
//Emulate an 4MiB MacPlus
|
//Emulate an 4MiB MacPlus
|
||||||
|
@ -23,10 +23,21 @@
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef CONFIG_SPIRAM_USE_MEMMAP
|
||||||
|
|
||||||
|
#define TME_RAMSIZE (4*1024*1024)
|
||||||
|
#define TME_SCREENBUF 0x3FA700
|
||||||
|
#define TME_SCREENBUF_ALT 0x3F2700
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
//Emulate a 128KiB MacPlus/Mac128K hybrid
|
//Emulate a 128KiB MacPlus/Mac128K hybrid
|
||||||
#define TME_CACHESIZE 0
|
#define TME_CACHESIZE 0
|
||||||
#define TME_RAMSIZE (128*1024)
|
#define TME_RAMSIZE (128*1024)
|
||||||
#define TME_SCREENBUF 0x1A700
|
#define TME_SCREENBUF 0x1A700
|
||||||
#define TME_SCREENBUF_ALT 0x12700
|
#define TME_SCREENBUF_ALT 0x12700
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
445
sdkconfig
445
sdkconfig
|
@ -8,76 +8,75 @@
|
||||||
#
|
#
|
||||||
CONFIG_TOOLPREFIX="xtensa-esp32-elf-"
|
CONFIG_TOOLPREFIX="xtensa-esp32-elf-"
|
||||||
CONFIG_PYTHON="python"
|
CONFIG_PYTHON="python"
|
||||||
|
CONFIG_MAKE_WARN_UNDEFINED_VARIABLES=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bootloader config
|
# Bootloader config
|
||||||
#
|
#
|
||||||
# CONFIG_LOG_BOOTLOADER_LEVEL_NONE is not set
|
CONFIG_LOG_BOOTLOADER_LEVEL_NONE=
|
||||||
# CONFIG_LOG_BOOTLOADER_LEVEL_ERROR is not set
|
CONFIG_LOG_BOOTLOADER_LEVEL_ERROR=
|
||||||
# CONFIG_LOG_BOOTLOADER_LEVEL_WARN is not set
|
CONFIG_LOG_BOOTLOADER_LEVEL_WARN=
|
||||||
CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y
|
CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y
|
||||||
# CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG is not set
|
CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG=
|
||||||
# CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE is not set
|
CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE=
|
||||||
CONFIG_LOG_BOOTLOADER_LEVEL=3
|
CONFIG_LOG_BOOTLOADER_LEVEL=3
|
||||||
CONFIG_BOOTLOADER_SPI_WP_PIN=7
|
|
||||||
# CONFIG_BOOTLOADER_LTO is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Security features
|
# Security features
|
||||||
#
|
#
|
||||||
# CONFIG_SECURE_BOOT_ENABLED is not set
|
CONFIG_SECURE_BOOT_ENABLED=
|
||||||
# CONFIG_FLASH_ENCRYPTION_ENABLED is not set
|
CONFIG_FLASH_ENCRYPTION_ENABLED=
|
||||||
|
|
||||||
#
|
#
|
||||||
# Serial flasher config
|
# Serial flasher config
|
||||||
#
|
#
|
||||||
CONFIG_ESPTOOLPY_PORT="/dev/ttyUSB0"
|
CONFIG_ESPTOOLPY_PORT="/dev/ttyUSB0"
|
||||||
# CONFIG_ESPTOOLPY_BAUD_115200B is not set
|
CONFIG_ESPTOOLPY_BAUD_115200B=
|
||||||
# CONFIG_ESPTOOLPY_BAUD_230400B is not set
|
CONFIG_ESPTOOLPY_BAUD_230400B=
|
||||||
CONFIG_ESPTOOLPY_BAUD_921600B=y
|
CONFIG_ESPTOOLPY_BAUD_921600B=y
|
||||||
# CONFIG_ESPTOOLPY_BAUD_2MB is not set
|
CONFIG_ESPTOOLPY_BAUD_2MB=
|
||||||
# CONFIG_ESPTOOLPY_BAUD_OTHER is not set
|
CONFIG_ESPTOOLPY_BAUD_OTHER=
|
||||||
CONFIG_ESPTOOLPY_BAUD_OTHER_VAL=115200
|
CONFIG_ESPTOOLPY_BAUD_OTHER_VAL=115200
|
||||||
CONFIG_ESPTOOLPY_BAUD=921600
|
CONFIG_ESPTOOLPY_BAUD=921600
|
||||||
CONFIG_ESPTOOLPY_COMPRESSED=y
|
CONFIG_ESPTOOLPY_COMPRESSED=y
|
||||||
CONFIG_FLASHMODE_QIO=y
|
CONFIG_FLASHMODE_QIO=
|
||||||
# CONFIG_FLASHMODE_QOUT is not set
|
CONFIG_FLASHMODE_QOUT=
|
||||||
# CONFIG_FLASHMODE_DIO is not set
|
CONFIG_FLASHMODE_DIO=y
|
||||||
# CONFIG_FLASHMODE_DOUT is not set
|
CONFIG_FLASHMODE_DOUT=
|
||||||
CONFIG_ESPTOOLPY_FLASHMODE="dio"
|
CONFIG_ESPTOOLPY_FLASHMODE="dio"
|
||||||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
|
CONFIG_ESPTOOLPY_FLASHFREQ_80M=
|
||||||
# CONFIG_ESPTOOLPY_FLASHFREQ_40M is not set
|
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
|
||||||
# CONFIG_ESPTOOLPY_FLASHFREQ_26M is not set
|
CONFIG_ESPTOOLPY_FLASHFREQ_26M=
|
||||||
# CONFIG_ESPTOOLPY_FLASHFREQ_20M is not set
|
CONFIG_ESPTOOLPY_FLASHFREQ_20M=
|
||||||
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
|
CONFIG_ESPTOOLPY_FLASHFREQ="40m"
|
||||||
# CONFIG_ESPTOOLPY_FLASHSIZE_1MB is not set
|
CONFIG_ESPTOOLPY_FLASHSIZE_1MB=
|
||||||
# CONFIG_ESPTOOLPY_FLASHSIZE_2MB is not set
|
CONFIG_ESPTOOLPY_FLASHSIZE_2MB=
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
||||||
# CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set
|
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
|
||||||
# CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set
|
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
|
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
|
||||||
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
|
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
|
||||||
CONFIG_ESPTOOLPY_BEFORE_RESET=y
|
CONFIG_ESPTOOLPY_BEFORE_RESET=y
|
||||||
# CONFIG_ESPTOOLPY_BEFORE_NORESET is not set
|
CONFIG_ESPTOOLPY_BEFORE_NORESET=
|
||||||
CONFIG_ESPTOOLPY_BEFORE="default_reset"
|
CONFIG_ESPTOOLPY_BEFORE="default_reset"
|
||||||
CONFIG_ESPTOOLPY_AFTER_RESET=y
|
CONFIG_ESPTOOLPY_AFTER_RESET=y
|
||||||
# CONFIG_ESPTOOLPY_AFTER_NORESET is not set
|
CONFIG_ESPTOOLPY_AFTER_NORESET=
|
||||||
CONFIG_ESPTOOLPY_AFTER="hard_reset"
|
CONFIG_ESPTOOLPY_AFTER="hard_reset"
|
||||||
# CONFIG_MONITOR_BAUD_9600B is not set
|
CONFIG_MONITOR_BAUD_9600B=
|
||||||
# CONFIG_MONITOR_BAUD_57600B is not set
|
CONFIG_MONITOR_BAUD_57600B=
|
||||||
CONFIG_MONITOR_BAUD_115200B=y
|
CONFIG_MONITOR_BAUD_115200B=y
|
||||||
# CONFIG_MONITOR_BAUD_230400B is not set
|
CONFIG_MONITOR_BAUD_230400B=
|
||||||
# CONFIG_MONITOR_BAUD_921600B is not set
|
CONFIG_MONITOR_BAUD_921600B=
|
||||||
# CONFIG_MONITOR_BAUD_2MB is not set
|
CONFIG_MONITOR_BAUD_2MB=
|
||||||
# CONFIG_MONITOR_BAUD_OTHER is not set
|
CONFIG_MONITOR_BAUD_OTHER=
|
||||||
CONFIG_MONITOR_BAUD_OTHER_VAL=115200
|
CONFIG_MONITOR_BAUD_OTHER_VAL=115200
|
||||||
CONFIG_MONITOR_BAUD=115200
|
CONFIG_MONITOR_BAUD=115200
|
||||||
|
|
||||||
#
|
#
|
||||||
# Partition Table
|
# Partition Table
|
||||||
#
|
#
|
||||||
# CONFIG_PARTITION_TABLE_SINGLE_APP is not set
|
CONFIG_PARTITION_TABLE_SINGLE_APP=
|
||||||
# CONFIG_PARTITION_TABLE_TWO_OTA is not set
|
CONFIG_PARTITION_TABLE_TWO_OTA=
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET=0x10000
|
CONFIG_PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET=0x10000
|
||||||
|
@ -87,11 +86,11 @@ CONFIG_APP_OFFSET=0x10000
|
||||||
#
|
#
|
||||||
# Compiler options
|
# Compiler options
|
||||||
#
|
#
|
||||||
# CONFIG_OPTIMIZATION_LEVEL_DEBUG is not set
|
CONFIG_OPTIMIZATION_LEVEL_DEBUG=
|
||||||
CONFIG_OPTIMIZATION_LEVEL_RELEASE=y
|
CONFIG_OPTIMIZATION_LEVEL_RELEASE=y
|
||||||
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
|
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
|
||||||
# CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is not set
|
CONFIG_OPTIMIZATION_ASSERTIONS_SILENT=
|
||||||
# CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED is not set
|
CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=
|
||||||
|
|
||||||
#
|
#
|
||||||
# Component config
|
# Component config
|
||||||
|
@ -100,170 +99,223 @@ CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
|
||||||
#
|
#
|
||||||
# Application Level Tracing
|
# Application Level Tracing
|
||||||
#
|
#
|
||||||
# CONFIG_ESP32_APPTRACE_DEST_TRAX is not set
|
CONFIG_ESP32_APPTRACE_DEST_TRAX=
|
||||||
CONFIG_ESP32_APPTRACE_DEST_NONE=y
|
CONFIG_ESP32_APPTRACE_DEST_NONE=y
|
||||||
# CONFIG_ESP32_APPTRACE_ENABLE is not set
|
CONFIG_ESP32_APPTRACE_ENABLE=
|
||||||
|
CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# FreeRTOS SystemView Tracing
|
# FreeRTOS SystemView Tracing
|
||||||
#
|
#
|
||||||
# CONFIG_AWS_IOT_SDK is not set
|
CONFIG_AWS_IOT_SDK=
|
||||||
# CONFIG_BT_ENABLED is not set
|
CONFIG_BT_ENABLED=
|
||||||
CONFIG_BT_RESERVE_DRAM=0
|
CONFIG_BT_RESERVE_DRAM=0
|
||||||
|
|
||||||
#
|
#
|
||||||
# ESP32-specific
|
# ESP32-specific
|
||||||
#
|
#
|
||||||
# CONFIG_ESP32_DEFAULT_CPU_FREQ_80 is not set
|
CONFIG_ESP32_DEFAULT_CPU_FREQ_80=
|
||||||
# CONFIG_ESP32_DEFAULT_CPU_FREQ_160 is not set
|
CONFIG_ESP32_DEFAULT_CPU_FREQ_160=
|
||||||
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
|
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
|
||||||
CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240
|
CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240
|
||||||
CONFIG_MEMMAP_SMP=y
|
CONFIG_MEMMAP_SMP=y
|
||||||
CONFIG_SPIRAM_SUPPORT=y
|
CONFIG_SPIRAM_SUPPORT=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# SPI SRAM config
|
# SPI RAM config
|
||||||
#
|
#
|
||||||
CONFIG_SPIRAM_USE_SPITRANSFER=y
|
CONFIG_SPIRAM_BOOT_INIT=y
|
||||||
CONFIG_MEMMAP_SPIRAM_TYPE_ESPPSRAM32=y
|
CONFIG_SPIRAM_USE_MEMMAP=y
|
||||||
|
CONFIG_SPIRAM_USE_CAPS_ALLOC=
|
||||||
|
CONFIG_SPIRAM_USE_MALLOC=
|
||||||
|
CONFIG_SPIRAM_TYPE_ESPPSRAM32=y
|
||||||
CONFIG_SPIRAM_SIZE=4194304
|
CONFIG_SPIRAM_SIZE=4194304
|
||||||
CONFIG_SPIRAM_SPEED_40M=y
|
CONFIG_SPIRAM_SPEED_40M=y
|
||||||
# CONFIG_SPIRAM_SPEED_80M is not set
|
CONFIG_SPIRAM_MEMTEST=y
|
||||||
# CONFIG_MEMMAP_TRACEMEM is not set
|
CONFIG_SPIRAM_CACHE_WORKAROUND=y
|
||||||
# CONFIG_MEMMAP_TRACEMEM_TWOBANKS is not set
|
CONFIG_MEMMAP_TRACEMEM=
|
||||||
# CONFIG_ESP32_TRAX is not set
|
CONFIG_MEMMAP_TRACEMEM_TWOBANKS=
|
||||||
|
CONFIG_ESP32_TRAX=
|
||||||
CONFIG_TRACEMEM_RESERVE_DRAM=0x0
|
CONFIG_TRACEMEM_RESERVE_DRAM=0x0
|
||||||
# CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH is not set
|
CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH=
|
||||||
# CONFIG_ESP32_ENABLE_COREDUMP_TO_UART is not set
|
CONFIG_ESP32_ENABLE_COREDUMP_TO_UART=
|
||||||
CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y
|
CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y
|
||||||
# CONFIG_ESP32_ENABLE_COREDUMP is not set
|
CONFIG_ESP32_ENABLE_COREDUMP=
|
||||||
# CONFIG_TWO_UNIVERSAL_MAC_ADDRESS is not set
|
CONFIG_TWO_UNIVERSAL_MAC_ADDRESS=
|
||||||
CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS=y
|
CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS=y
|
||||||
CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4
|
CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4
|
||||||
CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32
|
CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32
|
||||||
CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=4096
|
CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=4096
|
||||||
CONFIG_MAIN_TASK_STACK_SIZE=4096
|
CONFIG_MAIN_TASK_STACK_SIZE=4096
|
||||||
CONFIG_IPC_TASK_STACK_SIZE=1024
|
CONFIG_IPC_TASK_STACK_SIZE=1024
|
||||||
CONFIG_NEWLIB_STDOUT_ADDCR=y
|
CONFIG_TIMER_TASK_STACK_SIZE=4096
|
||||||
# CONFIG_NEWLIB_NANO_FORMAT is not set
|
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF=y
|
||||||
|
CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF=
|
||||||
|
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR=
|
||||||
|
CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF=
|
||||||
|
CONFIG_NEWLIB_STDIN_LINE_ENDING_LF=
|
||||||
|
CONFIG_NEWLIB_STDIN_LINE_ENDING_CR=y
|
||||||
|
CONFIG_NEWLIB_NANO_FORMAT=
|
||||||
CONFIG_CONSOLE_UART_DEFAULT=y
|
CONFIG_CONSOLE_UART_DEFAULT=y
|
||||||
# CONFIG_CONSOLE_UART_CUSTOM is not set
|
CONFIG_CONSOLE_UART_CUSTOM=
|
||||||
# CONFIG_CONSOLE_UART_NONE is not set
|
CONFIG_CONSOLE_UART_NONE=
|
||||||
CONFIG_CONSOLE_UART_NUM=0
|
CONFIG_CONSOLE_UART_NUM=0
|
||||||
CONFIG_CONSOLE_UART_BAUDRATE=115200
|
CONFIG_CONSOLE_UART_BAUDRATE=115200
|
||||||
# CONFIG_ULP_COPROC_ENABLED is not set
|
CONFIG_ULP_COPROC_ENABLED=
|
||||||
CONFIG_ULP_COPROC_RESERVE_MEM=0
|
CONFIG_ULP_COPROC_RESERVE_MEM=0
|
||||||
# CONFIG_ESP32_PANIC_PRINT_HALT is not set
|
CONFIG_ESP32_PANIC_PRINT_HALT=
|
||||||
# CONFIG_ESP32_PANIC_PRINT_REBOOT is not set
|
CONFIG_ESP32_PANIC_PRINT_REBOOT=
|
||||||
# CONFIG_ESP32_PANIC_SILENT_REBOOT is not set
|
CONFIG_ESP32_PANIC_SILENT_REBOOT=
|
||||||
CONFIG_ESP32_PANIC_GDBSTUB=y
|
CONFIG_ESP32_PANIC_GDBSTUB=y
|
||||||
CONFIG_ESP32_DEBUG_OCDAWARE=y
|
CONFIG_ESP32_DEBUG_OCDAWARE=y
|
||||||
# CONFIG_INT_WDT is not set
|
CONFIG_INT_WDT=
|
||||||
# CONFIG_TASK_WDT is not set
|
CONFIG_TASK_WDT=
|
||||||
CONFIG_BROWNOUT_DET=y
|
CONFIG_BROWNOUT_DET=y
|
||||||
# CONFIG_BROWNOUT_DET_LVL_SEL_0 is not set
|
CONFIG_BROWNOUT_DET_LVL_SEL_0=y
|
||||||
# CONFIG_BROWNOUT_DET_LVL_SEL_1 is not set
|
CONFIG_BROWNOUT_DET_LVL_SEL_1=
|
||||||
# CONFIG_BROWNOUT_DET_LVL_SEL_2 is not set
|
CONFIG_BROWNOUT_DET_LVL_SEL_2=
|
||||||
# CONFIG_BROWNOUT_DET_LVL_SEL_3 is not set
|
CONFIG_BROWNOUT_DET_LVL_SEL_3=
|
||||||
# CONFIG_BROWNOUT_DET_LVL_SEL_4 is not set
|
CONFIG_BROWNOUT_DET_LVL_SEL_4=
|
||||||
# CONFIG_BROWNOUT_DET_LVL_SEL_5 is not set
|
CONFIG_BROWNOUT_DET_LVL_SEL_5=
|
||||||
# CONFIG_BROWNOUT_DET_LVL_SEL_6 is not set
|
CONFIG_BROWNOUT_DET_LVL_SEL_6=
|
||||||
CONFIG_BROWNOUT_DET_LVL_SEL_7=y
|
CONFIG_BROWNOUT_DET_LVL_SEL_7=
|
||||||
CONFIG_BROWNOUT_DET_LVL=7
|
CONFIG_BROWNOUT_DET_LVL=0
|
||||||
# CONFIG_ESP32_TIME_SYSCALL_USE_RTC is not set
|
CONFIG_ESP32_TIME_SYSCALL_USE_RTC=
|
||||||
CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1=y
|
CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1=y
|
||||||
# CONFIG_ESP32_TIME_SYSCALL_USE_FRC1 is not set
|
CONFIG_ESP32_TIME_SYSCALL_USE_FRC1=
|
||||||
# CONFIG_ESP32_TIME_SYSCALL_USE_NONE is not set
|
CONFIG_ESP32_TIME_SYSCALL_USE_NONE=
|
||||||
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y
|
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y
|
||||||
# CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL is not set
|
CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL=
|
||||||
CONFIG_ESP32_RTC_CLK_CAL_CYCLES=1024
|
CONFIG_ESP32_RTC_CLK_CAL_CYCLES=1024
|
||||||
CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=0
|
CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=0
|
||||||
# CONFIG_ESP32_XTAL_FREQ_40 is not set
|
CONFIG_ESP32_XTAL_FREQ_40=
|
||||||
# CONFIG_ESP32_XTAL_FREQ_26 is not set
|
CONFIG_ESP32_XTAL_FREQ_26=
|
||||||
CONFIG_ESP32_XTAL_FREQ_AUTO=y
|
CONFIG_ESP32_XTAL_FREQ_AUTO=y
|
||||||
CONFIG_ESP32_XTAL_FREQ=0
|
CONFIG_ESP32_XTAL_FREQ=0
|
||||||
# CONFIG_WIFI_ENABLED is not set
|
CONFIG_DISABLE_BASIC_ROM_CONSOLE=
|
||||||
# CONFIG_ETHERNET is not set
|
CONFIG_NO_BLOBS=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# Wi-Fi
|
||||||
|
#
|
||||||
|
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=10
|
||||||
|
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32
|
||||||
|
CONFIG_ESP32_WIFI_STATIC_TX_BUFFER=
|
||||||
|
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=y
|
||||||
|
CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=1
|
||||||
|
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=32
|
||||||
|
CONFIG_ESP32_WIFI_AMPDU_ENABLED=y
|
||||||
|
CONFIG_ESP32_WIFI_TX_BA_WIN=6
|
||||||
|
CONFIG_ESP32_WIFI_RX_BA_WIN=6
|
||||||
|
CONFIG_ESP32_WIFI_NVS_ENABLED=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# PHY
|
||||||
|
#
|
||||||
|
CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y
|
||||||
|
CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION=
|
||||||
|
CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER=20
|
||||||
|
CONFIG_ESP32_PHY_MAX_TX_POWER=20
|
||||||
|
|
||||||
|
#
|
||||||
|
# Ethernet
|
||||||
|
#
|
||||||
|
CONFIG_DMA_RX_BUF_NUM=10
|
||||||
|
CONFIG_DMA_TX_BUF_NUM=10
|
||||||
|
CONFIG_EMAC_L2_TO_L3_RX_BUF_MODE=
|
||||||
|
CONFIG_EMAC_TASK_PRIORITY=20
|
||||||
|
|
||||||
#
|
#
|
||||||
# FAT Filesystem support
|
# FAT Filesystem support
|
||||||
#
|
#
|
||||||
CONFIG_FATFS_CODEPAGE_ASCII=y
|
CONFIG_FATFS_CODEPAGE_ASCII=y
|
||||||
# CONFIG_FATFS_CODEPAGE_437 is not set
|
CONFIG_FATFS_CODEPAGE_437=
|
||||||
# CONFIG_FATFS_CODEPAGE_720 is not set
|
CONFIG_FATFS_CODEPAGE_720=
|
||||||
# CONFIG_FATFS_CODEPAGE_737 is not set
|
CONFIG_FATFS_CODEPAGE_737=
|
||||||
# CONFIG_FATFS_CODEPAGE_771 is not set
|
CONFIG_FATFS_CODEPAGE_771=
|
||||||
# CONFIG_FATFS_CODEPAGE_775 is not set
|
CONFIG_FATFS_CODEPAGE_775=
|
||||||
# CONFIG_FATFS_CODEPAGE_850 is not set
|
CONFIG_FATFS_CODEPAGE_850=
|
||||||
# CONFIG_FATFS_CODEPAGE_852 is not set
|
CONFIG_FATFS_CODEPAGE_852=
|
||||||
# CONFIG_FATFS_CODEPAGE_855 is not set
|
CONFIG_FATFS_CODEPAGE_855=
|
||||||
# CONFIG_FATFS_CODEPAGE_857 is not set
|
CONFIG_FATFS_CODEPAGE_857=
|
||||||
# CONFIG_FATFS_CODEPAGE_860 is not set
|
CONFIG_FATFS_CODEPAGE_860=
|
||||||
# CONFIG_FATFS_CODEPAGE_861 is not set
|
CONFIG_FATFS_CODEPAGE_861=
|
||||||
# CONFIG_FATFS_CODEPAGE_862 is not set
|
CONFIG_FATFS_CODEPAGE_862=
|
||||||
# CONFIG_FATFS_CODEPAGE_863 is not set
|
CONFIG_FATFS_CODEPAGE_863=
|
||||||
# CONFIG_FATFS_CODEPAGE_864 is not set
|
CONFIG_FATFS_CODEPAGE_864=
|
||||||
# CONFIG_FATFS_CODEPAGE_865 is not set
|
CONFIG_FATFS_CODEPAGE_865=
|
||||||
# CONFIG_FATFS_CODEPAGE_866 is not set
|
CONFIG_FATFS_CODEPAGE_866=
|
||||||
# CONFIG_FATFS_CODEPAGE_869 is not set
|
CONFIG_FATFS_CODEPAGE_869=
|
||||||
# CONFIG_FATFS_CODEPAGE_932 is not set
|
CONFIG_FATFS_CODEPAGE_932=
|
||||||
# CONFIG_FATFS_CODEPAGE_936 is not set
|
CONFIG_FATFS_CODEPAGE_936=
|
||||||
# CONFIG_FATFS_CODEPAGE_949 is not set
|
CONFIG_FATFS_CODEPAGE_949=
|
||||||
# CONFIG_FATFS_CODEPAGE_950 is not set
|
CONFIG_FATFS_CODEPAGE_950=
|
||||||
CONFIG_FATFS_CODEPAGE=1
|
CONFIG_FATFS_CODEPAGE=1
|
||||||
CONFIG_FATFS_MAX_LFN=255
|
CONFIG_FATFS_MAX_LFN=255
|
||||||
|
|
||||||
#
|
#
|
||||||
# FreeRTOS
|
# FreeRTOS
|
||||||
#
|
#
|
||||||
# CONFIG_FREERTOS_UNICORE is not set
|
CONFIG_FREERTOS_UNICORE=
|
||||||
CONFIG_FREERTOS_CORETIMER_0=y
|
CONFIG_FREERTOS_CORETIMER_0=y
|
||||||
# CONFIG_FREERTOS_CORETIMER_1 is not set
|
CONFIG_FREERTOS_CORETIMER_1=
|
||||||
CONFIG_FREERTOS_HZ=100
|
CONFIG_FREERTOS_HZ=100
|
||||||
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION=y
|
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION=y
|
||||||
# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE is not set
|
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE=
|
||||||
# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL is not set
|
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL=
|
||||||
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
|
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
|
||||||
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
|
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
|
||||||
|
CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y
|
||||||
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1
|
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1
|
||||||
CONFIG_FREERTOS_ASSERT_FAIL_ABORT=y
|
CONFIG_FREERTOS_ASSERT_FAIL_ABORT=y
|
||||||
# CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE is not set
|
CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE=
|
||||||
# CONFIG_FREERTOS_ASSERT_DISABLE is not set
|
CONFIG_FREERTOS_ASSERT_DISABLE=
|
||||||
CONFIG_FREERTOS_BREAK_ON_SCHEDULER_START_JTAG=y
|
CONFIG_FREERTOS_BREAK_ON_SCHEDULER_START_JTAG=y
|
||||||
# CONFIG_ENABLE_MEMORY_DEBUG is not set
|
CONFIG_ENABLE_MEMORY_DEBUG=
|
||||||
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024
|
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024
|
||||||
CONFIG_FREERTOS_ISR_STACKSIZE=2000
|
CONFIG_FREERTOS_ISR_STACKSIZE=2000
|
||||||
# CONFIG_FREERTOS_LEGACY_HOOKS is not set
|
CONFIG_FREERTOS_LEGACY_HOOKS=
|
||||||
CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16
|
CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16
|
||||||
# CONFIG_SUPPORT_STATIC_ALLOCATION is not set
|
CONFIG_SUPPORT_STATIC_ALLOCATION=
|
||||||
CONFIG_TIMER_TASK_PRIORITY=1
|
CONFIG_TIMER_TASK_PRIORITY=1
|
||||||
CONFIG_TIMER_TASK_STACK_DEPTH=2048
|
CONFIG_TIMER_TASK_STACK_DEPTH=2048
|
||||||
CONFIG_TIMER_QUEUE_LENGTH=10
|
CONFIG_TIMER_QUEUE_LENGTH=10
|
||||||
# CONFIG_FREERTOS_DEBUG_INTERNALS is not set
|
CONFIG_FREERTOS_DEBUG_INTERNALS=
|
||||||
|
|
||||||
|
#
|
||||||
|
# Heap memory debugging
|
||||||
|
#
|
||||||
|
CONFIG_HEAP_POISONING_DISABLED=y
|
||||||
|
CONFIG_HEAP_POISONING_LIGHT=
|
||||||
|
CONFIG_HEAP_POISONING_COMPREHENSIVE=
|
||||||
|
CONFIG_HEAP_TRACING=
|
||||||
|
|
||||||
#
|
#
|
||||||
# Log output
|
# Log output
|
||||||
#
|
#
|
||||||
# CONFIG_LOG_DEFAULT_LEVEL_NONE is not set
|
CONFIG_LOG_DEFAULT_LEVEL_NONE=
|
||||||
# CONFIG_LOG_DEFAULT_LEVEL_ERROR is not set
|
CONFIG_LOG_DEFAULT_LEVEL_ERROR=
|
||||||
# CONFIG_LOG_DEFAULT_LEVEL_WARN is not set
|
CONFIG_LOG_DEFAULT_LEVEL_WARN=
|
||||||
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
|
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
|
||||||
# CONFIG_LOG_DEFAULT_LEVEL_DEBUG is not set
|
CONFIG_LOG_DEFAULT_LEVEL_DEBUG=
|
||||||
# CONFIG_LOG_DEFAULT_LEVEL_VERBOSE is not set
|
CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=
|
||||||
CONFIG_LOG_DEFAULT_LEVEL=3
|
CONFIG_LOG_DEFAULT_LEVEL=3
|
||||||
CONFIG_LOG_COLORS=y
|
CONFIG_LOG_COLORS=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# LWIP
|
# LWIP
|
||||||
#
|
#
|
||||||
# CONFIG_L2_TO_L3_COPY is not set
|
CONFIG_L2_TO_L3_COPY=
|
||||||
CONFIG_LWIP_MAX_SOCKETS=10
|
CONFIG_LWIP_MAX_SOCKETS=10
|
||||||
CONFIG_LWIP_THREAD_LOCAL_STORAGE_INDEX=0
|
CONFIG_LWIP_THREAD_LOCAL_STORAGE_INDEX=0
|
||||||
# CONFIG_LWIP_SO_REUSE is not set
|
CONFIG_LWIP_SO_REUSE=
|
||||||
# CONFIG_LWIP_SO_RCVBUF is not set
|
CONFIG_LWIP_SO_RCVBUF=
|
||||||
CONFIG_LWIP_DHCP_MAX_NTP_SERVERS=1
|
CONFIG_LWIP_DHCP_MAX_NTP_SERVERS=1
|
||||||
# CONFIG_LWIP_IP_FRAG is not set
|
CONFIG_LWIP_IP_FRAG=
|
||||||
# CONFIG_LWIP_IP_REASSEMBLY is not set
|
CONFIG_LWIP_IP_REASSEMBLY=
|
||||||
|
CONFIG_LWIP_STATS=
|
||||||
|
CONFIG_LWIP_ETHARP_TRUST_IP_MAC=y
|
||||||
|
CONFIG_TCPIP_RECVMBOX_SIZE=32
|
||||||
|
|
||||||
#
|
#
|
||||||
# TCP
|
# TCP
|
||||||
|
@ -271,40 +323,161 @@ CONFIG_LWIP_DHCP_MAX_NTP_SERVERS=1
|
||||||
CONFIG_TCP_MAXRTX=12
|
CONFIG_TCP_MAXRTX=12
|
||||||
CONFIG_TCP_SYNMAXRTX=6
|
CONFIG_TCP_SYNMAXRTX=6
|
||||||
CONFIG_TCP_MSS=1436
|
CONFIG_TCP_MSS=1436
|
||||||
|
CONFIG_TCP_MSL=60000
|
||||||
CONFIG_TCP_SND_BUF_DEFAULT=5744
|
CONFIG_TCP_SND_BUF_DEFAULT=5744
|
||||||
CONFIG_TCP_WND_DEFAULT=5744
|
CONFIG_TCP_WND_DEFAULT=5744
|
||||||
|
CONFIG_TCP_RECVMBOX_SIZE=6
|
||||||
CONFIG_TCP_QUEUE_OOSEQ=y
|
CONFIG_TCP_QUEUE_OOSEQ=y
|
||||||
CONFIG_TCP_OVERSIZE_MSS=y
|
CONFIG_TCP_OVERSIZE_MSS=y
|
||||||
# CONFIG_TCP_OVERSIZE_QUARTER_MSS is not set
|
CONFIG_TCP_OVERSIZE_QUARTER_MSS=
|
||||||
# CONFIG_TCP_OVERSIZE_DISABLE is not set
|
CONFIG_TCP_OVERSIZE_DISABLE=
|
||||||
# CONFIG_LWIP_DHCP_DOES_ARP_CHECK is not set
|
|
||||||
|
#
|
||||||
|
# UDP
|
||||||
|
#
|
||||||
|
CONFIG_UDP_RECVMBOX_SIZE=6
|
||||||
|
CONFIG_LWIP_DHCP_DOES_ARP_CHECK=
|
||||||
CONFIG_TCPIP_TASK_STACK_SIZE=2560
|
CONFIG_TCPIP_TASK_STACK_SIZE=2560
|
||||||
# CONFIG_PPP_SUPPORT is not set
|
CONFIG_PPP_SUPPORT=
|
||||||
|
|
||||||
#
|
#
|
||||||
# ICMP
|
# ICMP
|
||||||
#
|
#
|
||||||
# CONFIG_LWIP_MULTICAST_PING is not set
|
CONFIG_LWIP_MULTICAST_PING=
|
||||||
# CONFIG_LWIP_BROADCAST_PING is not set
|
CONFIG_LWIP_BROADCAST_PING=
|
||||||
|
|
||||||
#
|
#
|
||||||
# mbedTLS
|
# mbedTLS
|
||||||
#
|
#
|
||||||
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=16384
|
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=16384
|
||||||
# CONFIG_MBEDTLS_DEBUG is not set
|
CONFIG_MBEDTLS_DEBUG=
|
||||||
# CONFIG_MBEDTLS_UNSAFE_ACCELERATION is not set
|
CONFIG_MBEDTLS_HARDWARE_AES=y
|
||||||
|
CONFIG_MBEDTLS_HARDWARE_MPI=
|
||||||
|
CONFIG_MBEDTLS_HARDWARE_SHA=
|
||||||
CONFIG_MBEDTLS_HAVE_TIME=y
|
CONFIG_MBEDTLS_HAVE_TIME=y
|
||||||
# CONFIG_MBEDTLS_HAVE_TIME_DATE is not set
|
CONFIG_MBEDTLS_HAVE_TIME_DATE=
|
||||||
|
CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT=y
|
||||||
|
CONFIG_MBEDTLS_TLS_SERVER_ONLY=
|
||||||
|
CONFIG_MBEDTLS_TLS_CLIENT_ONLY=
|
||||||
|
CONFIG_MBEDTLS_TLS_DISABLED=
|
||||||
|
CONFIG_MBEDTLS_TLS_SERVER=y
|
||||||
|
CONFIG_MBEDTLS_TLS_CLIENT=y
|
||||||
|
CONFIG_MBEDTLS_TLS_ENABLED=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# TLS Key Exchange Methods
|
||||||
|
#
|
||||||
|
CONFIG_MBEDTLS_PSK_MODES=
|
||||||
|
CONFIG_MBEDTLS_KEY_EXCHANGE_RSA=y
|
||||||
|
CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA=y
|
||||||
|
CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE=y
|
||||||
|
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA=y
|
||||||
|
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA=y
|
||||||
|
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA=y
|
||||||
|
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA=y
|
||||||
|
CONFIG_MBEDTLS_SSL_RENEGOTIATION=y
|
||||||
|
CONFIG_MBEDTLS_SSL_PROTO_SSL3=
|
||||||
|
CONFIG_MBEDTLS_SSL_PROTO_TLS1=y
|
||||||
|
CONFIG_MBEDTLS_SSL_PROTO_TLS1_1=y
|
||||||
|
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
|
||||||
|
CONFIG_MBEDTLS_SSL_PROTO_DTLS=
|
||||||
|
CONFIG_MBEDTLS_SSL_ALPN=y
|
||||||
|
CONFIG_MBEDTLS_SSL_SESSION_TICKETS=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# Symmetric Ciphers
|
||||||
|
#
|
||||||
|
CONFIG_MBEDTLS_AES_C=y
|
||||||
|
CONFIG_MBEDTLS_CAMELLIA_C=
|
||||||
|
CONFIG_MBEDTLS_DES_C=
|
||||||
|
CONFIG_MBEDTLS_RC4_DISABLED=y
|
||||||
|
CONFIG_MBEDTLS_RC4_ENABLED_NO_DEFAULT=
|
||||||
|
CONFIG_MBEDTLS_RC4_ENABLED=
|
||||||
|
CONFIG_MBEDTLS_BLOWFISH_C=
|
||||||
|
CONFIG_MBEDTLS_XTEA_C=
|
||||||
|
CONFIG_MBEDTLS_CCM_C=y
|
||||||
|
CONFIG_MBEDTLS_GCM_C=y
|
||||||
|
CONFIG_MBEDTLS_RIPEMD160_C=
|
||||||
|
|
||||||
|
#
|
||||||
|
# Certificates
|
||||||
|
#
|
||||||
|
CONFIG_MBEDTLS_PEM_PARSE_C=y
|
||||||
|
CONFIG_MBEDTLS_PEM_WRITE_C=y
|
||||||
|
CONFIG_MBEDTLS_X509_CRL_PARSE_C=y
|
||||||
|
CONFIG_MBEDTLS_X509_CSR_PARSE_C=y
|
||||||
|
CONFIG_MBEDTLS_ECP_C=y
|
||||||
|
CONFIG_MBEDTLS_ECDH_C=y
|
||||||
|
CONFIG_MBEDTLS_ECDSA_C=y
|
||||||
|
CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED=y
|
||||||
|
CONFIG_MBEDTLS_ECP_DP_SECP224R1_ENABLED=y
|
||||||
|
CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y
|
||||||
|
CONFIG_MBEDTLS_ECP_DP_SECP384R1_ENABLED=y
|
||||||
|
CONFIG_MBEDTLS_ECP_DP_SECP521R1_ENABLED=y
|
||||||
|
CONFIG_MBEDTLS_ECP_DP_SECP192K1_ENABLED=y
|
||||||
|
CONFIG_MBEDTLS_ECP_DP_SECP224K1_ENABLED=y
|
||||||
|
CONFIG_MBEDTLS_ECP_DP_SECP256K1_ENABLED=y
|
||||||
|
CONFIG_MBEDTLS_ECP_DP_BP256R1_ENABLED=y
|
||||||
|
CONFIG_MBEDTLS_ECP_DP_BP384R1_ENABLED=y
|
||||||
|
CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED=y
|
||||||
|
CONFIG_MBEDTLS_ECP_DP_CURVE25519_ENABLED=y
|
||||||
|
CONFIG_MBEDTLS_ECP_NIST_OPTIM=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# OpenSSL
|
# OpenSSL
|
||||||
#
|
#
|
||||||
# CONFIG_OPENSSL_DEBUG is not set
|
CONFIG_OPENSSL_DEBUG=
|
||||||
CONFIG_OPENSSL_ASSERT_DO_NOTHING=y
|
CONFIG_OPENSSL_ASSERT_DO_NOTHING=y
|
||||||
# CONFIG_OPENSSL_ASSERT_EXIT is not set
|
CONFIG_OPENSSL_ASSERT_EXIT=
|
||||||
|
|
||||||
|
#
|
||||||
|
# PThreads
|
||||||
|
#
|
||||||
|
CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5
|
||||||
|
CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=2048
|
||||||
|
|
||||||
#
|
#
|
||||||
# SPI Flash driver
|
# SPI Flash driver
|
||||||
#
|
#
|
||||||
# CONFIG_SPI_FLASH_ENABLE_COUNTERS is not set
|
CONFIG_SPI_FLASH_ENABLE_COUNTERS=
|
||||||
CONFIG_SPI_FLASH_ROM_DRIVER_PATCH=y
|
CONFIG_SPI_FLASH_ROM_DRIVER_PATCH=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# SPIFFS Configuration
|
||||||
|
#
|
||||||
|
CONFIG_SPIFFS_MAX_PARTITIONS=3
|
||||||
|
|
||||||
|
#
|
||||||
|
# SPIFFS Cache Configuration
|
||||||
|
#
|
||||||
|
CONFIG_SPIFFS_CACHE=y
|
||||||
|
CONFIG_SPIFFS_CACHE_WR=y
|
||||||
|
CONFIG_SPIFFS_CACHE_STATS=
|
||||||
|
CONFIG_SPIFFS_PAGE_CHECK=y
|
||||||
|
CONFIG_SPIFFS_GC_MAX_RUNS=10
|
||||||
|
CONFIG_SPIFFS_GC_STATS=
|
||||||
|
CONFIG_SPIFFS_OBJ_NAME_LEN=32
|
||||||
|
CONFIG_SPIFFS_USE_MAGIC=y
|
||||||
|
CONFIG_SPIFFS_USE_MAGIC_LENGTH=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# Debug Configuration
|
||||||
|
#
|
||||||
|
CONFIG_SPIFFS_DBG=
|
||||||
|
CONFIG_SPIFFS_API_DBG=
|
||||||
|
CONFIG_SPIFFS_GC_DBG=
|
||||||
|
CONFIG_SPIFFS_CACHE_DBG=
|
||||||
|
CONFIG_SPIFFS_CHECK_DBG=
|
||||||
|
CONFIG_SPIFFS_TEST_VISUALISATION=
|
||||||
|
|
||||||
|
#
|
||||||
|
# tcpip adapter
|
||||||
|
#
|
||||||
|
CONFIG_IP_LOST_TIMER_INTERVAL=120
|
||||||
|
|
||||||
|
#
|
||||||
|
# Wear Levelling
|
||||||
|
#
|
||||||
|
CONFIG_WL_SECTOR_SIZE_512=
|
||||||
|
CONFIG_WL_SECTOR_SIZE_4096=y
|
||||||
|
CONFIG_WL_SECTOR_SIZE=4096
|
||||||
|
|
Loading…
Reference in New Issue