Skip to content

Commit 2c555d0

Browse files
AhmedIsmail02urutva
authored andcommitted
blinky: Remove not needed connectivity macros
blinky application doesn't connect to AWS so there is no need to have MQTT and OTA tasks configurations as part of its application configuration. Signed-off-by: Ahmed Ismail <[email protected]>
1 parent d77ca69 commit 2c555d0

File tree

1 file changed

+4
-34
lines changed

1 file changed

+4
-34
lines changed
Lines changed: 4 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,9 @@
1-
/* Copyright 2023 Arm Limited and/or its affiliates
1+
/* Copyright 2023-2024 Arm Limited and/or its affiliates
22
33
* SPDX-License-Identifier: MIT
44
*/
55

6-
/**
7-
* @brief Subscribe Publish demo tasks configuration.
8-
* Subscribe publish demo task shows the basic functionality of connecting to an MQTT broker, subscribing
9-
* to a topic, publishing messages to a topic and reporting the incoming messages on subscribed topic.
10-
* Number of subscribe publish demo tasks to be spawned is configurable.
11-
*/
12-
#define appCONFIG_MQTT_NUM_PUBSUB_TASKS ( 1 )
13-
#define appCONFIG_MQTT_PUBSUB_TASK_STACK_SIZE ( 2048 )
14-
#define appCONFIG_MQTT_PUBSUB_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )
15-
16-
/**
17-
* @brief Stack size and priority for MQTT agent task.
18-
* Stack size is capped to an adequate value based on requirements from MbedTLS stack
19-
* for establishing a TLS connection. Task priority of MQTT agent is set to a priority
20-
* higher than other MQTT application tasks, so that the agent can drain the queue
21-
* as work is being produced.
22-
*/
23-
#define appCONFIG_MQTT_AGENT_TASK_STACK_SIZE ( 4096 )
24-
#define appCONFIG_MQTT_AGENT_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 )
25-
26-
/**
27-
* @brief Stack size and priority for OTA MQTT agent task.
28-
* Stack size is capped to an adequate value based on requirements from MbedTLS stack
29-
* for establishing a TLS connection. Task priority of OTA MQTT agent is set to a priority
30-
* higher than other MQTT application tasks, so that the agent can drain the queue
31-
* as work is being produced.
32-
*/
33-
#define appCONFIG_OTA_MQTT_AGENT_TASK_STACK_SIZE ( 4096 )
34-
#define appCONFIG_OTA_MQTT_AGENT_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )
35-
366
/** @brief Set logging task as high priority task */
37-
#define appCONFIG_LOGGING_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )
38-
#define appCONFIG_LOGGING_TASK_STACK_SIZE ( 2048 )
39-
#define appCONFIG_LOGGING_MESSAGE_QUEUE_LENGTH ( 32 )
7+
#define appCONFIG_LOGGING_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )
8+
#define appCONFIG_LOGGING_TASK_STACK_SIZE ( 2048 )
9+
#define appCONFIG_LOGGING_MESSAGE_QUEUE_LENGTH ( 32 )

0 commit comments

Comments
 (0)