-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <Ahmed.Ismail@arm.com>
- Loading branch information
1 parent
d77ca69
commit 2c555d0
Showing
1 changed file
with
4 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,9 @@ | ||
/* Copyright 2023 Arm Limited and/or its affiliates | ||
/* Copyright 2023-2024 Arm Limited and/or its affiliates | ||
* <open-source-office@arm.com> | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
/** | ||
* @brief Subscribe Publish demo tasks configuration. | ||
* Subscribe publish demo task shows the basic functionality of connecting to an MQTT broker, subscribing | ||
* to a topic, publishing messages to a topic and reporting the incoming messages on subscribed topic. | ||
* Number of subscribe publish demo tasks to be spawned is configurable. | ||
*/ | ||
#define appCONFIG_MQTT_NUM_PUBSUB_TASKS ( 1 ) | ||
#define appCONFIG_MQTT_PUBSUB_TASK_STACK_SIZE ( 2048 ) | ||
#define appCONFIG_MQTT_PUBSUB_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 ) | ||
|
||
/** | ||
* @brief Stack size and priority for MQTT agent task. | ||
* Stack size is capped to an adequate value based on requirements from MbedTLS stack | ||
* for establishing a TLS connection. Task priority of MQTT agent is set to a priority | ||
* higher than other MQTT application tasks, so that the agent can drain the queue | ||
* as work is being produced. | ||
*/ | ||
#define appCONFIG_MQTT_AGENT_TASK_STACK_SIZE ( 4096 ) | ||
#define appCONFIG_MQTT_AGENT_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 ) | ||
|
||
/** | ||
* @brief Stack size and priority for OTA MQTT agent task. | ||
* Stack size is capped to an adequate value based on requirements from MbedTLS stack | ||
* for establishing a TLS connection. Task priority of OTA MQTT agent is set to a priority | ||
* higher than other MQTT application tasks, so that the agent can drain the queue | ||
* as work is being produced. | ||
*/ | ||
#define appCONFIG_OTA_MQTT_AGENT_TASK_STACK_SIZE ( 4096 ) | ||
#define appCONFIG_OTA_MQTT_AGENT_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 ) | ||
|
||
/** @brief Set logging task as high priority task */ | ||
#define appCONFIG_LOGGING_TASK_PRIORITY ( configMAX_PRIORITIES - 1 ) | ||
#define appCONFIG_LOGGING_TASK_STACK_SIZE ( 2048 ) | ||
#define appCONFIG_LOGGING_MESSAGE_QUEUE_LENGTH ( 32 ) | ||
#define appCONFIG_LOGGING_TASK_PRIORITY ( configMAX_PRIORITIES - 1 ) | ||
#define appCONFIG_LOGGING_TASK_STACK_SIZE ( 2048 ) | ||
#define appCONFIG_LOGGING_MESSAGE_QUEUE_LENGTH ( 32 ) |