Skip to content

Commit

Permalink
autogen/config for latest GSDK4.4.2 (#182)
Browse files Browse the repository at this point in the history
* autogen/config for latest GSDK4.4.2

* Restyled by whitespace

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
bivishwa and restyled-commits authored Apr 16, 2024
1 parent ce94f18 commit 89c09cf
Show file tree
Hide file tree
Showing 9 changed files with 5,325 additions and 12 deletions.
2 changes: 2 additions & 0 deletions matter/si91x/siwx917/BRD4338A/autogen/RTE_Components.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

#define RTE_RTOS_FreeRTOS_TIMERS

#define RTE_RTOS_FreeRTOS_HEAP_4

#endif /* RTE_COMPONENTS_H */

/* This file is autogenerated by Simplicity Configuration Tools. */
Expand Down
23 changes: 13 additions & 10 deletions matter/si91x/siwx917/BRD4338A/autogen/sl_si91x_button_instances.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,27 @@
*
******************************************************************************/

#include "sl_si91x_button_instances.h"
#include "sl_si91x_button_btn0_config.h"
#include "sl_si91x_button_btn1_config.h"
#include "sl_si91x_button_pin_config.h"

sl_button_t button_btn0 = {.port = SL_BUTTON_BTN0_PORT,
.pin = SL_BUTTON_BTN0_PIN,
.button_number = SL_BUTTON_BTN0_NUMBER,
sl_button_t const button_btn0 = {.port = SL_BUTTON_BTN0_PORT,
.pin = SL_BUTTON_BTN0_PIN,
.button_number = SL_BUTTON_BTN0_NUMBER,
#ifdef SL_BUTTON_BTN0_PAD
.pad = SL_BUTTON_BTN0_PAD,
.pad = SL_BUTTON_BTN0_PAD,
#endif
.interrupt_config = SL_BUTTON_CONFIG_BTN0_INTR};
sl_button_t button_btn1 = {.port = SL_BUTTON_BTN1_PORT,
.pin = SL_BUTTON_BTN1_PIN,
.button_number = SL_BUTTON_BTN1_NUMBER,
.interrupt_config =
SL_BUTTON_CONFIG_BTN0_INTR};
sl_button_t const button_btn1 = {.port = SL_BUTTON_BTN1_PORT,
.pin = SL_BUTTON_BTN1_PIN,
.button_number = SL_BUTTON_BTN1_NUMBER,
#ifdef SL_BUTTON_BTN1_PAD
.pad = SL_BUTTON_BTN1_PAD,
.pad = SL_BUTTON_BTN1_PAD,
#endif
.interrupt_config = SL_BUTTON_CONFIG_BTN1_INTR};
.interrupt_config =
SL_BUTTON_CONFIG_BTN1_INTR};

void button_init_instances(void) {
sl_si91x_button_init(&button_btn0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@
*
******************************************************************************/

#include "sl_si91x_led_instances.h"
#include "sl_si91x_led.h"
#include "sl_si91x_led_config.h"
sl_led_t led_led0 = {
sl_led_t const led_led0 = {
.port = SL_LED_LED0_PORT,
.pin = SL_LED_LED0_PIN,
.led_number = SL_LED_LED0_NUMBER,
};
sl_led_t led_led1 = {
sl_led_t const led_led1 = {
.port = SL_LED_LED1_PORT,
.pin = SL_LED_LED1_PIN,
.led_number = SL_LED_LED1_NUMBER,
Expand Down
Loading

0 comments on commit 89c09cf

Please sign in to comment.