Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdbcad21

Browse files
committed
chore(wl3): add SPI support
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent23911d6 commitdbcad21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎libraries/SPI/src/utility/spi_com.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ extern "C" {
2929
uint32_tspi_getClkFreqInst(SPI_TypeDef*spi_inst)
3030
{
3131
uint32_tspi_freq=SystemCoreClock;
32-
#if defined(STM32WB0x)
32+
#if defined(STM32WB0x)|| defined(STM32WL3x)
3333
(void)spi_inst;// Avoid unused parameter warning
34+
spi_freq=SystemCoreClock /4;
3435
#else
3536
if (spi_inst!=NP) {
3637
#if defined(STM32C0xx)|| defined(STM32F0xx)|| defined(STM32G0xx)|| \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp