-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
473 additions
and
125 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/***************************************************************************//** | ||
* @file circular_queue_config.h | ||
* @brief Configuration file for circular queue. | ||
* @copyright Copyright 2015 Silicon Laboratories, Inc. www.silabs.com | ||
******************************************************************************/ | ||
|
||
#ifndef __CIRCULAR_QUEUE_CONFIG_H__ | ||
#define __CIRCULAR_QUEUE_CONFIG_H__ | ||
|
||
// <<< Use Configuration Wizard in Context Menu >>> | ||
// <h> Circular Queue Configuration | ||
|
||
// <o CIRCULAR_QUEUE_LEN_MAX> Max Queue Length | ||
// <0-256:1> | ||
// <i> Default: 5 | ||
#ifndef CIRCULAR_QUEUE_LEN_MAX | ||
#define CIRCULAR_QUEUE_LEN_MAX 16 | ||
#endif | ||
|
||
// </h> | ||
// <<< end of configuration section >>> | ||
|
||
#endif // __CIRCULAR_QUEUE_CONFIG_H__ |
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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/***************************************************************************//** | ||
* @file | ||
* @brief sl_core Configuration | ||
******************************************************************************* | ||
* # License | ||
* <b>Copyright 2023 Silicon Laboratories Inc. www.silabs.com</b> | ||
******************************************************************************* | ||
* | ||
* SPDX-License-Identifier: Zlib | ||
* | ||
* The licensor of this software is Silicon Laboratories Inc. | ||
* | ||
* This software is provided 'as-is', without any express or implied | ||
* warranty. In no event will the authors be held liable for any damages | ||
* arising from the use of this software. | ||
* | ||
* Permission is granted to anyone to use this software for any purpose, | ||
* including commercial applications, and to alter it and redistribute it | ||
* freely, subject to the following restrictions: | ||
* | ||
* 1. The origin of this software must not be misrepresented; you must not | ||
* claim that you wrote the original software. If you use this software | ||
* in a product, an acknowledgment in the product documentation would be | ||
* appreciated but is not required. | ||
* 2. Altered source versions must be plainly marked as such, and must not be | ||
* misrepresented as being the original software. | ||
* 3. This notice may not be removed or altered from any source distribution. | ||
* | ||
******************************************************************************/ | ||
|
||
#ifndef SL_CORE_CONFIG_H | ||
#define SL_CORE_CONFIG_H | ||
|
||
// <<< Use Configuration Wizard in Context Menu >>> | ||
|
||
// <h> Core Abstraction Configuration | ||
|
||
// <q SL_CORE_DEBUG_INTERRUPTS_MASKED_TIMING> Enables measurement of interrupt masking time for debugging purposes. | ||
// <i> Default: 0 | ||
#define SL_CORE_DEBUG_INTERRUPTS_MASKED_TIMING 0 | ||
// </h> | ||
|
||
// <<< end of configuration section >>> | ||
#endif // SL_CORE_CONFIG_H |
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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/***************************************************************************//** | ||
* @file | ||
* @brief OpenThread Green Power configuration file. | ||
******************************************************************************* | ||
* # License | ||
* <b>Copyright 2024 Silicon Laboratories Inc. www.silabs.com</b> | ||
******************************************************************************* | ||
* | ||
* SPDX-License-Identifier: Zlib | ||
* | ||
* The licensor of this software is Silicon Laboratories Inc. | ||
* | ||
* This software is provided 'as-is', without any express or implied | ||
* warranty. In no event will the authors be held liable for any damages | ||
* arising from the use of this software. | ||
* | ||
* Permission is granted to anyone to use this software for any purpose, | ||
* including commercial applications, and to alter it and redistribute it | ||
* freely, subject to the following restrictions: | ||
* | ||
* 1. The origin of this software must not be misrepresented; you must not | ||
* claim that you wrote the original software. If you use this software | ||
* in a product, an acknowledgment in the product documentation would be | ||
* appreciated but is not required. | ||
* 2. Altered source versions must be plainly marked as such, and must not be | ||
* misrepresented as being the original software. | ||
* 3. This notice may not be removed or altered from any source distribution. | ||
* | ||
******************************************************************************/ | ||
|
||
//-------- <<< Use Configuration Wizard in Context Menu >>> ----------------- | ||
|
||
// <e> Rx Offset time | ||
// The rx offset time for the bidirectional message. | ||
// | ||
#define GP_RX_OFFSET_IN_MICRO_SECONDS 21000 | ||
// </e> | ||
|
||
// <e> TX Timeout | ||
// Tx timeout after which the gp outgoing packet is invalid. | ||
// | ||
#define GP_TX_MAX_TIMEOUT_IN_MICRO_SECONDS 5000000 | ||
// </e> | ||
// <<< end of configuration section >>> |
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/***************************************************************************//** | ||
* @file | ||
* @brief Interrupt Manager configuration file for series 2 devices. | ||
******************************************************************************* | ||
* # License | ||
* <b>Copyright 2023 Silicon Laboratories Inc. www.silabs.com</b> | ||
******************************************************************************* | ||
* | ||
* SPDX-License-Identifier: Zlib | ||
* | ||
* The licensor of this software is Silicon Laboratories Inc. | ||
* | ||
* This software is provided 'as-is', without any express or implied | ||
* warranty. In no event will the authors be held liable for any damages | ||
* arising from the use of this software. | ||
* | ||
* Permission is granted to anyone to use this software for any purpose, | ||
* including commercial applications, and to alter it and redistribute it | ||
* freely, subject to the following restrictions: | ||
* | ||
* 1. The origin of this software must not be misrepresented; you must not | ||
* claim that you wrote the original software. If you use this software | ||
* in a product, an acknowledgment in the product documentation would be | ||
* appreciated but is not required. | ||
* 2. Altered source versions must be plainly marked as such, and must not be | ||
* misrepresented as being the original software. | ||
* 3. This notice may not be removed or altered from any source distribution. | ||
* | ||
******************************************************************************/ | ||
|
||
// <<< Use Configuration Wizard in Context Menu >>> | ||
|
||
#ifndef SL_INTERRUPT_MANAGER_S2_CONFIG_H | ||
#define SL_INTERRUPT_MANAGER_S2_CONFIG_H | ||
|
||
// <h>Interrupt Manager Configuration | ||
|
||
// <q SL_INTERRUPT_MANAGER_S2_INTERRUPTS_IN_RAM> Put the interrupt vector table in RAM. | ||
// <i> Set to 1 to put the vector table in RAM. | ||
// <i> Default: 0 | ||
#define SL_INTERRUPT_MANAGER_S2_INTERRUPTS_IN_RAM 0 | ||
|
||
// </h> | ||
|
||
#endif /* SSL_INTERRUPT_MANAGER_S2_CONFIG_H */ | ||
|
||
// <<< end of configuration section >>> |
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,28 +1,11 @@ | ||
#ifndef SL_MEMORY_CONFIG_H | ||
#define SL_MEMORY_CONFIG_H | ||
|
||
// <<< Use Configuration Wizard in Context Menu >>> | ||
// <h> Memory configuration | ||
#include "sl_memory_manager_region_config.h" | ||
#include "sl_common.h" | ||
|
||
// <o SL_STACK_SIZE> Stack size for the application. | ||
// <i> Default: 4096 | ||
// <i> The stack size configured here will be used by the stack that the | ||
// <i> application uses when coming out of a reset. | ||
#ifndef SL_STACK_SIZE | ||
#define SL_STACK_SIZE 4096 | ||
#ifndef SL_SUPPRESS_DEPRECATION_WARNINGS_SDK_2024_6 | ||
#warning "This file is deprecated as of Simplicity SDK 2024.6. Content was moved to sl_memory_manager_region_config.h." | ||
#endif | ||
|
||
// <o SL_HEAP_SIZE> Minimum heap size for the application. | ||
// <i> Default: 2048 | ||
// <i> Note that this value will configure the c heap which is normally used by | ||
// <i> malloc() and free() from the c library. The value defines a minimum heap | ||
// <i> size that is guaranteed to be available. The available heap may be larger | ||
// <i> to make use of any memory that would otherwise remain unused. | ||
#ifndef SL_HEAP_SIZE | ||
#define SL_HEAP_SIZE 2048 | ||
#endif | ||
|
||
// </h> | ||
// <<< end of configuration section >>> | ||
|
||
#endif |
Oops, something went wrong.