File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
board-support/si91x/support/hal Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 20
20
#include "rsi_rom_clks.h"
21
21
#include "silabs_utils.h"
22
22
#include "sl_component_catalog.h"
23
+ #ifndef SL_ICD_ENABLED
24
+ #include "FreeRTOSConfig.h"
25
+ #endif // !defined (SL_ICD_ENABLED)
23
26
24
27
#ifdef SL_CATALOG_SIMPLE_BUTTON_PRESENT
25
28
#include "sl_si91x_button_pin_config.h"
51
54
void sl_button_on_change (uint8_t btn , uint8_t btnAction );
52
55
#endif //SL_CATALOG_SIMPLE_BUTTON_PRESENT
53
56
57
+ #ifndef SL_ICD_ENABLED
54
58
int soc_pll_config (void ) {
55
59
int32_t status = RSI_OK ;
56
60
@@ -63,7 +67,7 @@ int soc_pll_config(void) {
63
67
// Switch M4 clock to PLL clock for speed operations
64
68
RSI_CLK_M4SocClkConfig (M4CLK , M4_SOCPLLCLK , 0 );
65
69
66
- SysTick_Config (SystemCoreClock / 1000 );
70
+ SysTick_Config (SystemCoreClock / configTICK_RATE_HZ );
67
71
DEBUGINIT ();
68
72
69
73
#ifdef SWITCH_QSPI_TO_SOC_PLL
@@ -80,6 +84,7 @@ int soc_pll_config(void) {
80
84
#endif /* SWITCH_QSPI_TO_SOC_PLL */
81
85
return 0 ;
82
86
}
87
+ #endif // !defined (SL_ICD_ENABLED)
83
88
84
89
#ifdef SL_CATALOG_SIMPLE_BUTTON_PRESENT
85
90
void sl_si91x_button_isr (uint8_t pin , int8_t state ) {
You can’t perform that action at this time.
0 commit comments