Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Silabs] Resolve build errors for custom board #37702

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/platform/silabs/uart.cpp
Original file line number Diff line number Diff line change
@@ -41,7 +41,9 @@ extern "C" {

#if SLI_SI91X_MCU_INTERFACE
#include "USART.h"
#if defined(SL_SI91X_BOARD_INIT)
#include "rsi_board.h"
#endif // SL_SI91X_BOARD_INIT
#include "rsi_debug.h"
#include "rsi_rom_egpio.h"
#else // For EFR32
4 changes: 4 additions & 0 deletions src/platform/silabs/platformAbstraction/WiseMcuSpam.cpp
Original file line number Diff line number Diff line change
@@ -33,7 +33,9 @@
// TODO add includes ?
extern "C" {
#include "em_core.h"
#if defined(SL_SI91X_BOARD_INIT)
#include "rsi_board.h"
#endif // SL_SI91X_BOARD_INIT
#include "sl_event_handler.h"

#ifdef SL_CATALOG_SIMPLE_BUTTON_PRESENT
@@ -119,7 +121,9 @@ CHIP_ERROR SilabsPlatform::Init(void)
void SilabsPlatform::InitLed(void)
{
// TODO
#if defined(SL_SI91X_BOARD_INIT)
RSI_Board_Init();
#endif // SL_SI91X_BOARD_INIT
SilabsPlatformAbstractionBase::InitLed();
}