master
Ondřej Hruška 2 years ago
parent f9d3fa3cec
commit 2917a84eb5
  1. 1
      main/CMakeLists.txt
  2. 2
      main/Kconfig.projbuild
  3. 40
      main/actuators.c
  4. 2
      main/application.h
  5. 84
      main/fancontrol.c
  6. 70
      main/onewires.c
  7. 17
      main/onewires.h
  8. 10
      main/tasks.h
  9. 2
      main/user_main.c
  10. 2
      sdkconfig
  11. 165
      sdkconfig.old

@ -6,6 +6,7 @@ idf_component_register(SRCS
utils.c
wifi_conn.c
mbiface.c
onewires.c
actuators.c
fancontrol.c
console/console_ioimpl.c

@ -19,7 +19,7 @@ menu "Project configuration"
config PIN_DIR
int "Motor direction pin"
default 20
default 23
config PIN_1WIRE_1
int "1Wire 1 (indoor)"

@ -3,8 +3,12 @@
//
#include <driver/ledc.h>
#include <esp_log.h>
#include "actuators.h"
#include "settings.h"
#include "onewires.h"
static const char *TAG="act";
struct actuators_status gAct = {
.blind = false,
@ -37,6 +41,10 @@ static void buzzer_init()
void act_buzzer_set(bool on)
{
if (gAct.buzzer == on) {
return;
}
ESP_LOGI(TAG, "set buzzer %d", on);
gAct.buzzer = on;
if (on) {
ledc_set_duty(LEDC_HIGH_SPEED_MODE, LEDC_CHANNEL_0, 127);
@ -65,7 +73,7 @@ static void motor_init()
.gpio_num = CONFIG_PIN_PWM,
.speed_mode = LEDC_HIGH_SPEED_MODE,
.hpoint = 0,
.timer_sel = LEDC_TIMER_0,
.timer_sel = LEDC_TIMER_1,
.flags.output_invert = true,
};
ledc_channel_config(&chan);
@ -76,11 +84,17 @@ static void motor_init()
.pin_bit_mask = 1 << CONFIG_PIN_DIR,
};
gpio_config(&ioconf);
ledc_set_duty(LEDC_HIGH_SPEED_MODE, LEDC_CHANNEL_1, 0);
ledc_stop(LEDC_HIGH_SPEED_MODE, LEDC_CHANNEL_1, 0);
}
void act_motor_power_set(uint16_t perc)
{
if (gAct.power == perc) { return; }
if (gAct.power == perc) {
return;
}
ESP_LOGI(TAG, "set pwr %d", perc);
if (perc > 0) {
if (perc < gSettings.min_power) {
perc = gSettings.min_power;
@ -92,14 +106,22 @@ void act_motor_power_set(uint16_t perc)
}
ledc_set_duty(LEDC_HIGH_SPEED_MODE, LEDC_CHANNEL_1, duty);
ledc_update_duty(LEDC_HIGH_SPEED_MODE, LEDC_CHANNEL_1);
act_led_set(true);
} else {
gAct.power = 0;
ledc_set_duty(LEDC_HIGH_SPEED_MODE, LEDC_CHANNEL_1, 0);
ledc_stop(LEDC_HIGH_SPEED_MODE, LEDC_CHANNEL_1, 0);
act_led_set(false);
}
}
void act_motor_direction_set(enum motor_direction dir)
{
if (dir == gAct.dir) {
return;
}
ESP_LOGI(TAG, "set dir %d", dir);
gAct.dir = dir;
gpio_set_level(CONFIG_PIN_DIR, (int) dir); // TODO verify polarity
}
@ -116,6 +138,10 @@ static void blind_init()
void act_blind_set(bool open)
{
if (open == gAct.blind) {
return;
}
ESP_LOGI(TAG, "set blind %d", open);
gAct.blind = open;
gpio_set_level(CONFIG_PIN_BLIND, (int) open); // TODO verify polarity
}
@ -131,6 +157,10 @@ static void led_init()
void act_led_set(bool on)
{
if (on == gAct.led) {
return;
}
ESP_LOGI(TAG, "set LED %d", on);
gAct.led = on;
gpio_set_level(CONFIG_PIN_LED, (int) on); // TODO verify polarity
}
@ -145,12 +175,10 @@ void act_init()
int16_t act_temp_in()
{
// TODO
return 200;
return gTempSensors[0];
}
int16_t act_temp_out()
{
// TODO
return 40;
return gTempSensors[1];
}

@ -20,7 +20,7 @@ extern EventGroupHandle_t g_wifi_event_group;
esp_err_t cspemu_add_shutdown_handler(shutdown_handler_t handler);
void cspemu_run_shutdown_handlers(void);
#define APP_NAME "IRBLASTER"
#define APP_NAME "RECUP"
#define APP_VERSION "v1"
#endif //_APPLICATION_H

@ -2,16 +2,21 @@
// Created by MightyPork on 2022/08/20.
//
#include <esp_log.h>
#include "fancontrol.h"
#include "freertos/FreeRTOS.h"
#include "freertos/timers.h"
#include "settings.h"
#include "actuators.h"
#include "onewires.h"
#include "tasks.h"
const char *TAG = "fc";
#define UNIDIR_T_MEAS_PERIOD 15 /* s */
struct FanControlState gState = {};
static void timerCallback(TimerHandle_t xTimer);
static void timerCallback();
static void invalidate_temps();
@ -28,20 +33,32 @@ void settings_blind_time_set(uint16_t blind_time)
settings_persist(SETTINGS_blind_time);
}
static void fanctltask(void *dummy) {
TickType_t last_wake_time = xTaskGetTickCount();
while (1) {
timerCallback();
vTaskDelayUntil(&last_wake_time, pdMS_TO_TICKS(1000));
}
}
void fancontrol_init()
{
gState.set_vent_mode = gSettings.initial_mode;
gState.set_power = gSettings.initial_power;
xTimerCreate("fanctl",
pdMS_TO_TICKS(1000),
pdTRUE,
NULL,
timerCallback);
// TimerHandle_t hTimer = xTimerCreate("fanctl",
// pdMS_TO_TICKS(1000),
// pdTRUE,
// NULL,
// timerCallback);
//
// xTimerStart(hTimer, pdMS_TO_TICKS(2000));
xTaskCreate(fanctltask, "fc", FCTL_TASK_STACK, NULL, FCTL_TASK_PRIO, NULL);
}
static void timerCallback(TimerHandle_t xTimer)
static void timerCallback()
{
// posun rolety
if (gAct.blind) {
@ -193,8 +210,8 @@ static void timerCallback(TimerHandle_t xTimer)
if (end_temp_meas) {
if (gState.t_aggr_cnt > 0) {
int16_t t1 = (int16_t) (gState.t1_aggr / (int32_t)gState.t_aggr_cnt);
int16_t t2 = (int16_t) (gState.t2_aggr / (int32_t)gState.t_aggr_cnt);
int16_t t1 = (int16_t) (gState.t1_aggr / (int32_t) gState.t_aggr_cnt);
int16_t t2 = (int16_t) (gState.t2_aggr / (int32_t) gState.t_aggr_cnt);
switch (gState.real_direction) {
case MOTOR_DIR_IN:
gState.t_outdoor = t2;
@ -218,32 +235,55 @@ static void timerCallback(TimerHandle_t xTimer)
gState.t_aggr_cnt = 0;
}
// Measure temperatures
int16_t t1 = act_temp_in();
int16_t t2 = act_temp_out();
gState.t_actual_in = t1;
gState.t_actual_out = t2;
gState.valid_t_actual_in = gState.valid_t_actual_out = tempSensorsOk;
if (gState.effective_vent_mode == VENT_MODE_IN
|| gState.effective_vent_mode == VENT_MODE_OUT
|| gState.effective_vent_mode == VENT_MODE_RECUP) {
// Measure temperatures
int16_t t1 = act_temp_in();
int16_t t2 = act_temp_out();
gState.t_actual_in = t1;
gState.t_actual_out = t2;
gState.valid_t_actual_in = gState.valid_t_actual_out = true;
if (gAct.dir == gState.real_direction
&& gState.ramp >= gSettings.ramp_time)
{
&& gState.ramp >= gSettings.ramp_time) {
gState.t1_aggr += t1;
gState.t2_aggr += t2;
gState.t_aggr_cnt++;
}
} else {
gState.valid_t_actual_in = gState.valid_t_actual_out = false;
}
ESP_LOGI(TAG,
"Mode %d (ef %d, inst %d), Dir %d (real %d), PW %d (ramp %d), Blind %d (ramp %d)",
gState.set_vent_mode, gState.effective_vent_mode, gState.instantaneous_vent_mode,
gAct.dir, gState.real_direction,
gAct.power, gState.ramp,
gAct.blind, gState.blind_position
);
ESP_LOGI(TAG,
"Tin %d%s, Tout %d%s, T<- %d%s, T-> %d%s, T1 %d%s, T2 %d%s",
gState.t_indoor,
gState.valid_t_indoor ? "" : "!",
gState.t_outdoor,
gState.valid_t_outdoor ? "" : "!",
gState.t_inflow,
gState.valid_t_inflow ? "" : "!",
gState.t_exhaust,
gState.valid_t_exhaust ? "" : "!",
gState.t_actual_in,
gState.valid_t_actual_in ? "" : "!",
gState.t_actual_out,
gState.valid_t_actual_out ? "" : "!"
);
}
void fan_set_vent_mode(enum ventilation_mode mode)
{
ESP_LOGI(TAG, "Set vent mode = %d", mode);
if (mode == gState.set_vent_mode) {
return;
}
@ -273,6 +313,8 @@ static void invalidate_temps()
void fan_set_power(uint16_t power)
{
ESP_LOGI(TAG, "Set power = %d%%", power);
gState.set_power = power;
if (power == 0) {
gState.effective_vent_mode = VENT_MODE_OFF;

@ -0,0 +1,70 @@
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <math.h>
#include <esp_log.h>
#include "onewires.h"
#include "tasks.h"
#include "owb.h"
#include "ds18b20.h"
static const char* TAG="1w";
static owb_rmt_driver_info s_rmt_driver_info[2] = {};
static OneWireBus * sBuses[2] = {};
static DS18B20_Info *sDevs[2] = {};
volatile int16_t gTempSensors[2] = {};
volatile bool tempSensorsOk = false;
static void owtask(void *dummy) {
while (1) {
int16_t a = 0, b = 0;
int rv = read_onewires(&a, &b);
tempSensorsOk = (rv == 0);
ESP_LOGI(TAG, "t1 %d, t2 %d Cx10", a, b);
gTempSensors[0] = a;
gTempSensors[1] = b;
}
}
void onewires_setup()
{
sBuses[0] = owb_rmt_initialize(&s_rmt_driver_info[0], CONFIG_PIN_1WIRE_1, RMT_CHANNEL_1, RMT_CHANNEL_0);
sBuses[1] = owb_rmt_initialize(&s_rmt_driver_info[1], CONFIG_PIN_1WIRE_2, RMT_CHANNEL_3, RMT_CHANNEL_2);
for (int i = 0; i < 2; i++) {
owb_use_crc(sBuses[i], true);
sDevs[i] = ds18b20_malloc();
ds18b20_init_solo(sDevs[i], sBuses[i]);
ds18b20_use_crc(sDevs[i], true);
ds18b20_set_resolution(sDevs[i], DS18B20_RESOLUTION_12_BIT);
}
xTaskCreate(owtask, "1w", ONEWIRES_TASK_STACK, NULL, ONEWIRES_TASK_PRIO, NULL);
}
int read_onewires(int16_t *a, int16_t *b)
{
for (int i = 0; i < 2; i++) {
ds18b20_convert_all(sBuses[i]);
}
float readings[2] = { 0 };
DS18B20_ERROR errors[2] = { 0 };
ds18b20_wait_for_conversion(sDevs[0]);
vTaskDelay(pdMS_TO_TICKS(10)); // to be sure its done
for (int i = 0; i < 2; i++) {
errors[i] = ds18b20_read_temp(sDevs[i], &readings[i]);
}
if (errors[0] != DS18B20_OK || errors[1] != DS18B20_OK) {
return -1;
}
*a = (int16_t) roundf(readings[0] * 10);
*b = (int16_t) roundf(readings[1] * 10);
return 0;
}

@ -0,0 +1,17 @@
/**
* Reading onewire sensors
*/
#ifndef ONEWIRES_H
#define ONEWIRES_H
#include <stdint.h>
void onewires_setup();
int read_onewires(int16_t *a, int16_t *b);
extern volatile int16_t gTempSensors[2];
extern volatile bool tempSensorsOk;
#endif //ONEWIRES_H

@ -15,7 +15,13 @@
#define TELNET_TASK_STACK 4096
#define TELNET_TASK_PRIO PRIO_LOW
#define MBIFC_TASK_STACK 4096
#define MBIFC_TASK_PRIO PRIO_LOW
#define MBIFC_TASK_STACK 6000
#define MBIFC_TASK_PRIO PRIO_HIGH
#define ONEWIRES_TASK_STACK 4096
#define ONEWIRES_TASK_PRIO PRIO_NORMAL
#define FCTL_TASK_STACK 4096
#define FCTL_TASK_PRIO PRIO_NORMAL
#endif //CSPEMU_PRIORITIES_H

@ -21,6 +21,7 @@
#include "mbiface.h"
#include "actuators.h"
#include "fancontrol.h"
#include "onewires.h"
static const char *TAG = "main";
@ -57,6 +58,7 @@ void app_main(void) {
console_setup_uart_stdio();
ESP_ERROR_CHECK(console_start_stdio(NULL, NULL));
onewires_setup();
act_init();
mbiface_setup();
fancontrol_init();

@ -143,7 +143,7 @@ CONFIG_PIN_BUZZER=16
CONFIG_PIN_LED=17
CONFIG_PIN_BLIND=18
CONFIG_PIN_PWM=19
CONFIG_PIN_DIR=20
CONFIG_PIN_DIR=23
CONFIG_PIN_1WIRE_1=21
CONFIG_PIN_1WIRE_2=22
# end of Pin mapping

@ -133,7 +133,7 @@ CONFIG_PARTITION_TABLE_MD5=y
# end of Partition Table
#
# IRBLASTER Configuration
# Project configuration
#
#
@ -154,7 +154,7 @@ CONFIG_PIN_1WIRE_2=22
CONFIG_CONSOLE_TELNET_PORT=23
CONFIG_CONSOLE_PW_LEN=32
# end of Console
# end of IRBLASTER Configuration
# end of Project configuration
#
# Compiler options
@ -1264,3 +1264,164 @@ CONFIG_DHCPWD_TASK_PRIORITY=3
#
# CONFIG_LEGACY_INCLUDE_COMMON_HEADERS is not set
# end of Compatibility options
# Deprecated options for backward compatibility
CONFIG_TOOLPREFIX="xtensa-esp32-elf-"
# CONFIG_LOG_BOOTLOADER_LEVEL_NONE is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_ERROR is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_WARN is not set
CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y
# CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE is not set
CONFIG_LOG_BOOTLOADER_LEVEL=3
# CONFIG_APP_ROLLBACK_ENABLE is not set
# CONFIG_FLASH_ENCRYPTION_ENABLED is not set
# CONFIG_FLASHMODE_QIO is not set
# CONFIG_FLASHMODE_QOUT is not set
CONFIG_FLASHMODE_DIO=y
# CONFIG_FLASHMODE_DOUT is not set
# CONFIG_MONITOR_BAUD_9600B is not set
# CONFIG_MONITOR_BAUD_57600B is not set
CONFIG_MONITOR_BAUD_115200B=y
# CONFIG_MONITOR_BAUD_230400B is not set
# CONFIG_MONITOR_BAUD_921600B is not set
# CONFIG_MONITOR_BAUD_2MB is not set
# CONFIG_MONITOR_BAUD_OTHER is not set
CONFIG_MONITOR_BAUD_OTHER_VAL=115200
CONFIG_MONITOR_BAUD=115200
# CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG is not set
# CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE is not set
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
# CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is not set
# CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED is not set
CONFIG_OPTIMIZATION_ASSERTION_LEVEL=2
# CONFIG_CXX_EXCEPTIONS is not set
CONFIG_STACK_CHECK_NONE=y
# CONFIG_STACK_CHECK_NORM is not set
# CONFIG_STACK_CHECK_STRONG is not set
# CONFIG_STACK_CHECK_ALL is not set
# CONFIG_WARN_WRITE_STRINGS is not set
# CONFIG_DISABLE_GCC8_WARNINGS is not set
# CONFIG_ESP32_APPTRACE_DEST_TRAX is not set
CONFIG_ESP32_APPTRACE_DEST_NONE=y
CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y
CONFIG_ADC2_DISABLE_DAC=y
# CONFIG_SPIRAM_SUPPORT is not set
CONFIG_TRACEMEM_RESERVE_DRAM=0x0
# CONFIG_ULP_COPROC_ENABLED is not set
CONFIG_ULP_COPROC_RESERVE_MEM=0
CONFIG_BROWNOUT_DET=y
CONFIG_BROWNOUT_DET_LVL_SEL_0=y
# CONFIG_BROWNOUT_DET_LVL_SEL_1 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_2 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_3 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_4 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_5 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_6 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_7 is not set
CONFIG_BROWNOUT_DET_LVL=0
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y
# CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL is not set
# CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC is not set
# CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256 is not set
# CONFIG_DISABLE_BASIC_ROM_CONSOLE is not set
# CONFIG_NO_BLOBS is not set
# CONFIG_COMPATIBLE_PRE_V2_1_BOOTLOADERS is not set
# CONFIG_EVENT_LOOP_PROFILING is not set
CONFIG_POST_EVENTS_FROM_ISR=y
CONFIG_POST_EVENTS_FROM_IRAM_ISR=y
# CONFIG_TWO_UNIVERSAL_MAC_ADDRESS is not set
CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS=y
CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4
CONFIG_ESP_SYSTEM_PD_FLASH=y
# CONFIG_ESP32C3_LIGHTSLEEP_GPIO_RESET_WORKAROUND is not set
CONFIG_IPC_TASK_STACK_SIZE=1024
CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y
# CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION is not set
CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER=20
CONFIG_ESP32_PHY_MAX_TX_POWER=20
CONFIG_ESP32_REDUCE_PHY_TX_POWER=y
# CONFIG_ESP32S2_PANIC_PRINT_HALT is not set
CONFIG_ESP32S2_PANIC_PRINT_REBOOT=y
# CONFIG_ESP32S2_PANIC_SILENT_REBOOT is not set
# CONFIG_ESP32S2_PANIC_GDBSTUB is not set
CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32
CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=2304
CONFIG_MAIN_TASK_STACK_SIZE=3584
CONFIG_CONSOLE_UART_DEFAULT=y
# CONFIG_CONSOLE_UART_CUSTOM is not set
# CONFIG_ESP_CONSOLE_UART_NONE is not set
CONFIG_CONSOLE_UART=y
CONFIG_CONSOLE_UART_NUM=0
CONFIG_CONSOLE_UART_BAUDRATE=115200
CONFIG_INT_WDT=y
CONFIG_INT_WDT_TIMEOUT_MS=300
CONFIG_INT_WDT_CHECK_CPU1=y
CONFIG_TASK_WDT=y
# CONFIG_TASK_WDT_PANIC is not set
CONFIG_TASK_WDT_TIMEOUT_S=5
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=y
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1=y
# CONFIG_ESP32_DEBUG_STUBS_ENABLE is not set
CONFIG_TIMER_TASK_STACK_SIZE=3584
# CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH is not set
# CONFIG_ESP32_ENABLE_COREDUMP_TO_UART is not set
CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y
CONFIG_MB_MASTER_TIMEOUT_MS_RESPOND=150
CONFIG_MB_MASTER_DELAY_MS_CONVERT=200
CONFIG_MB_QUEUE_LENGTH=20
CONFIG_MB_SERIAL_TASK_STACK_SIZE=4096
CONFIG_MB_SERIAL_BUF_SIZE=256
CONFIG_MB_SERIAL_TASK_PRIO=10
CONFIG_MB_CONTROLLER_SLAVE_ID_SUPPORT=y
CONFIG_MB_CONTROLLER_SLAVE_ID=0x00112233
CONFIG_MB_CONTROLLER_NOTIFY_TIMEOUT=20
CONFIG_MB_CONTROLLER_NOTIFY_QUEUE_SIZE=20
CONFIG_MB_CONTROLLER_STACK_SIZE=4096
CONFIG_MB_EVENT_QUEUE_TIMEOUT=20
CONFIG_MB_TIMER_PORT_ENABLED=y
CONFIG_MB_TIMER_GROUP=0
CONFIG_MB_TIMER_INDEX=0
# CONFIG_ENABLE_STATIC_TASK_CLEAN_UP_HOOK is not set
CONFIG_TIMER_TASK_PRIORITY=1
CONFIG_TIMER_TASK_STACK_DEPTH=2048
CONFIG_TIMER_QUEUE_LENGTH=10
# CONFIG_L2_TO_L3_COPY is not set
# CONFIG_USE_ONLY_LWIP_SELECT is not set
CONFIG_ESP_GRATUITOUS_ARP=y
CONFIG_GARP_TMR_INTERVAL=60
CONFIG_TCPIP_RECVMBOX_SIZE=32
CONFIG_TCP_MAXRTX=12
CONFIG_TCP_SYNMAXRTX=12
CONFIG_TCP_MSS=1440
CONFIG_TCP_MSL=60000
CONFIG_TCP_SND_BUF_DEFAULT=5744
CONFIG_TCP_WND_DEFAULT=5744
CONFIG_TCP_RECVMBOX_SIZE=6
CONFIG_TCP_QUEUE_OOSEQ=y
# CONFIG_ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES is not set
CONFIG_TCP_OVERSIZE_MSS=y
# CONFIG_TCP_OVERSIZE_QUARTER_MSS is not set
# CONFIG_TCP_OVERSIZE_DISABLE is not set
CONFIG_UDP_RECVMBOX_SIZE=6
CONFIG_TCPIP_TASK_STACK_SIZE=3072
CONFIG_TCPIP_TASK_AFFINITY_NO_AFFINITY=y
# CONFIG_TCPIP_TASK_AFFINITY_CPU0 is not set
# CONFIG_TCPIP_TASK_AFFINITY_CPU1 is not set
CONFIG_TCPIP_TASK_AFFINITY=0x7FFFFFFF
# CONFIG_PPP_SUPPORT is not set
CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5
CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
CONFIG_ESP32_PTHREAD_STACK_MIN=768
CONFIG_ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY=y
# CONFIG_ESP32_DEFAULT_PTHREAD_CORE_0 is not set
# CONFIG_ESP32_DEFAULT_PTHREAD_CORE_1 is not set
CONFIG_ESP32_PTHREAD_TASK_CORE_DEFAULT=-1
CONFIG_ESP32_PTHREAD_TASK_NAME_DEFAULT="pthread"
CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y
# CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS is not set
# CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED is not set
CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y
CONFIG_SUPPORT_TERMIOS=y
CONFIG_SEMIHOSTFS_MAX_MOUNT_POINTS=1
# End of deprecated options

Loading…
Cancel
Save