Skip to content

Commit 04251f1

Browse files
Fix 917 lock app (#32671)
1 parent a9f1d35 commit 04251f1

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/examples-efr32.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ jobs:
5959
timeout-minutes: 30
6060
run: |
6161
scripts/examples/gn_silabs_example.sh examples/lighting-app/silabs ./out/light-app BRD4187C --slc_generate --docker
62-
scripts/examples/gn_silabs_example.sh examples/lighting-app/silabs ./out/light-app BRD4164A --slc_generate --docker
6362
rm -rf ./out/
6463
- name: Build some BRD4187C variants (1)
6564
run: |
@@ -115,6 +114,7 @@ jobs:
115114
"./scripts/build/build_examples.py \
116115
--enable-flashbundle \
117116
--target efr32-brd4338a-light-wifi-917_soc-skip_rps_generation \
117+
--target efr32-brd4338a-lock-wifi-917_soc-skip_rps_generation \
118118
build \
119119
--copy-artifacts-to out/artifacts \
120120
"

examples/platform/silabs/SiWx917/SiWx917/sl_wifi_if.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@
2525
#include "FreeRTOS.h"
2626
#include "event_groups.h"
2727
#include "sl_board_configuration.h"
28+
extern "C" {
2829
#include "sl_si91x_types.h"
2930
#include "sl_wifi_constants.h"
3031
#include "sl_wifi_types.h"
3132
#include "sl_wlan_config.h"
33+
}
3234
#include "task.h"
3335

3436
#if (EXP_BOARD)
@@ -40,8 +42,10 @@
4042
#if SL_ICD_ENABLED && SLI_SI91X_MCU_INTERFACE
4143
#include "rsi_rom_power_save.h"
4244
#include "sl_si91x_button_pin_config.h"
45+
extern "C" {
4346
#include "sl_si91x_driver.h"
4447
#include "sl_si91x_m4_ps.h"
48+
}
4549

4650
// TODO: should be removed once we are getting the press interrupt for button 0 with sleep
4751
#define BUTTON_PRESSED 1

src/platform/silabs/SiWx917/wifi/wfx_host_events.h

-3
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,6 @@ void wfx_dhcp_got_ipv4(uint32_t);
245245
void wfx_ip_changed_notify(int got_ip);
246246
#endif /* CHIP_DEVICE_CONFIG_ENABLE_IPV4 */
247247

248-
sl_status_t sl_si91x_host_process_data_frame(sl_wifi_interface_t interface, sl_wifi_buffer_t * buffer);
249-
void * sl_si91x_host_get_buffer_data(sl_wifi_buffer_t * buffer, uint16_t offset, uint16_t * data_length);
250-
251248
#if SL_ICD_ENABLED
252249
sl_status_t wfx_power_save(rsi_power_save_profile_mode_t sl_si91x_ble_state, sl_si91x_performance_profile_t sl_si91x_wifi_state);
253250
void sl_button_on_change(uint8_t btn, uint8_t btnAction);

0 commit comments

Comments
 (0)