Skip to content

Commit

Permalink
projects:evb_discovery_firmware:Bug fixes
Browse files Browse the repository at this point in the history
1) Add missing HAL_Init and the SystemClock_Config function calls

2) Add the ACTIVE_PLATFORM selector in the .extsettings

Signed-off-by: Janani Sunil <[email protected]>
  • Loading branch information
jansunil committed Nov 22, 2024
1 parent 1155e5c commit 601a9fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion projects/evb_discovery_firmware/STM32/.extSettings
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ app/libraries/no-OS/iio/=../../../libraries/no-OS/iio/iio.c;../../../libraries/n
app/libraries/no-OS/drivers/api/=../../../libraries/no-OS/drivers/api/no_os_uart.c;../../../libraries/no-OS/drivers/api/no_os_i2c.c;../../../libraries/no-OS/drivers/api/no_os_eeprom.c;../../../libraries/no-OS/drivers/api/no_os_irq.c;

[Others]
Define=_USE_STD_INT_TYPES;TINYIIOD_VERSION_MAJOR;TINYIIOD_VERSION_MINOR;TINYIIOD_VERSION_GIT;IIOD_BUFFER_SIZE;IIO_IGNORE_BUFF_OVERRUN_ERR;USE_PHY_COM_PORT;
Define=_USE_STD_INT_TYPES;TINYIIOD_VERSION_MAJOR;TINYIIOD_VERSION_MINOR;TINYIIOD_VERSION_GIT;IIOD_BUFFER_SIZE;IIO_IGNORE_BUFF_OVERRUN_ERR;USE_PHY_COM_PORT;ACTIVE_PLATFORM:2
2 changes: 2 additions & 0 deletions projects/evb_discovery_firmware/app/app_config_stm32.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,7 @@ struct stm32_uart_init_param stm32_uart_extra_init_params = {
*/
void stm32_system_init()
{
HAL_Init();
SystemClock_Config();
MX_USART3_UART_Init();
}

0 comments on commit 601a9fe

Please sign in to comment.