/// © MiroZ 2024

#ifndef __APP_CONFIG_H__
#define __APP_CONFIG_H__

#define CIRC_BUFFER_SIZE_BYTES		30000

// LED task
#define LED_TASK_NAME				"led"
#define LED_TASK_STACK_SIZE			2096
#define LED_TASK_PRIORITY			3
#define LED_TASK_CORE				0

// WIFI task
#define WIFI_TASK_NAME				"wifi"
#define WIFI_TASK_STACK_SIZE		4096
#define WIFI_TASK_PRIORITY			5
#define WIFI_TASK_CORE				0

// MQTT task
#define MQTT_TASK_NAME				"mqtt"
#define MQTT_TASK_STACK_SIZE		7168
#define MQTT_TASK_PRIORITY			5
#define MQTT_TASK_CORE				1

// task mgr task
#define TASKMGR_TASK_NAME			"task mgr"
#define TASKMGR_TASK_STACK_SIZE		2048
#define TASKMGR_TASK_PRIORITY		5
#define TASKMGR_TASK_CORE			1
#define TASKMGR_TASK_DELAY			15000	//was 60s

// i2cbus_1 task
#define I2C1_TASK_NAME				"i2cbus_1"
#define I2C1_TASK_STACK_SIZE		3000
#define I2C1_TASK_PRIORITY			5
#define I2C1_TASK_CORE				0

// uart task
#define UART_TASK_NAME				"uart"
#define UART_TASK_STACK_SIZE		3000
#define UART_TASK_PRIORITY			5
#define UART_TASK_CORE				1

// i2cbus_1 task
#define I2C1_TASK_NAME				"i2cbus_1"
#define I2C1_TASK_STACK_SIZE		3000
#define I2C1_TASK_PRIORITY			5
#define I2C1_TASK_CORE				0

// uart task
#define UART_TASK_NAME				"uart"
#define UART_TASK_STACK_SIZE		3000
#define UART_TASK_PRIORITY			5
#define UART_TASK_CORE				1

#endif