diff --git a/os/hal/ports/SILABS/EFR32FG23/hal_lld.c b/os/hal/ports/SILABS/EFR32FG23/hal_lld.c index f5fd1bb38d..565ac665c1 100644 --- a/os/hal/ports/SILABS/EFR32FG23/hal_lld.c +++ b/os/hal/ports/SILABS/EFR32FG23/hal_lld.c @@ -32,12 +32,6 @@ /* Driver exported variables. */ /*===========================================================================*/ -/** - * @brief CMSIS system core clock variable. - * @note It is declared in system_efr32fg23.h. - */ -uint32_t SystemCoreClock = EFR32_HCLK; - /*===========================================================================*/ /* Driver local variables and types. */ /*===========================================================================*/ diff --git a/testhal/SILABS/EFR32FG23x0xx/TEMPLATE/cfg/mcuconf.h b/testhal/SILABS/EFR32FG23x0xx/TEMPLATE/cfg/mcuconf.h index e91aca23e1..3116692344 100644 --- a/testhal/SILABS/EFR32FG23x0xx/TEMPLATE/cfg/mcuconf.h +++ b/testhal/SILABS/EFR32FG23x0xx/TEMPLATE/cfg/mcuconf.h @@ -15,7 +15,7 @@ */ /* - * EFR32FG14P drivers configuration. + * EFR32FG23 drivers configuration. * The following settings override the default settings present in * the various device driver implementation headers. * Note that the settings for each driver only have effect if the whole diff --git a/testhal/SILABS/EFR32FG23x0xx/TEMPLATE/main.c b/testhal/SILABS/EFR32FG23x0xx/TEMPLATE/main.c index e40ef27b00..a6e72fbe23 100644 --- a/testhal/SILABS/EFR32FG23x0xx/TEMPLATE/main.c +++ b/testhal/SILABS/EFR32FG23x0xx/TEMPLATE/main.c @@ -194,11 +194,15 @@ int main(void) { stStartAlarmN(1, stGetCounter() + chTimeMS2I(3000)); led_on(); + //RAIL_TxStreamStart(railHandle, RAIL_STREAM_PN9_STREAM); + //RAIL_TxStreamStart(railHandle, RAIL_STREAM_CARRIER_WAVE); + + systime_t prev = chVTGetSystemTime(); + /* * Normal main() thread activity, in this demo it does nothing except * sleeping in a loop and check the button state. */ - systime_t prev = chVTGetSystemTime(); while (true) { send_datagram(); prev = chThdSleepUntilWindowed(prev, chTimeAddX(prev, TIME_MS2I(3000)));