mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 20:46:52 +03:00
Rearange task to CPU (http, camera, mqtt) (#1557)
This commit is contained in:
@@ -427,9 +427,9 @@ httpd_handle_t start_webserver(void)
|
|||||||
httpd_handle_t server = NULL;
|
httpd_handle_t server = NULL;
|
||||||
httpd_config_t config = { };
|
httpd_config_t config = { };
|
||||||
|
|
||||||
config.task_priority = tskIDLE_PRIORITY+1; // 20210924 --> vorher +5
|
config.task_priority = tskIDLE_PRIORITY+3; //20221211: before: tskIDLE_PRIORITY+1; // 20210924 --> vorher +5
|
||||||
config.stack_size = 32768; //20210921 --> vorher 32768 // bei 32k stürzt das Programm beim Bilderaufnehmen ab
|
config.stack_size = 32768; //20210921 --> vorher 32768 // bei 32k stürzt das Programm beim Bilderaufnehmen ab
|
||||||
config.core_id = tskNO_AFFINITY;
|
config.core_id = 0; //20221211 --> force all not flow related tasks to CPU0, before: tskNO_AFFINITY;
|
||||||
config.server_port = 80;
|
config.server_port = 80;
|
||||||
config.ctrl_port = 32768;
|
config.ctrl_port = 32768;
|
||||||
config.max_open_sockets = 5; //20210921 --> vorher 7
|
config.max_open_sockets = 5; //20210921 --> vorher 7
|
||||||
|
|||||||
@@ -55,9 +55,13 @@ CONFIG_FATFS_API_ENCODING_ANSI_OEM=y
|
|||||||
CONFIG_FMB_TIMER_PORT_ENABLED=y
|
CONFIG_FMB_TIMER_PORT_ENABLED=y
|
||||||
|
|
||||||
CONFIG_MQTT_SKIP_PUBLISH_IF_DISCONNECTED=y
|
CONFIG_MQTT_SKIP_PUBLISH_IF_DISCONNECTED=y
|
||||||
|
CONFIG_MQTT_TASK_CORE_SELECTION_ENABLED=y
|
||||||
|
CONFIG_MQTT_USE_CORE_0=y
|
||||||
|
|
||||||
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER=n
|
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER=n
|
||||||
|
|
||||||
|
CONFIG_CAMERA_CORE0=n
|
||||||
|
CONFIG_CAMERA_CORE1=y
|
||||||
CONFIG_OV7670_SUPPORT=n
|
CONFIG_OV7670_SUPPORT=n
|
||||||
CONFIG_OV7725_SUPPORT=n
|
CONFIG_OV7725_SUPPORT=n
|
||||||
CONFIG_NT99141_SUPPORT=n
|
CONFIG_NT99141_SUPPORT=n
|
||||||
|
|||||||
Reference in New Issue
Block a user