mirror of
https://github.com/apache/nuttx.git
synced 2026-10-04 04:38:10 +00:00
STM32G0B1 devices provide SPI2, but their chip configuration does not select STM32_HAVE_SPI2. Since STM32_SPI2 depends on that capability, an explicit CONFIG_STM32_SPI2=y request is dropped by Kconfig. Select the capability for STM32G0B1 so boards can enable the existing SPI2 driver. SPI2 remains disabled unless requested. Other chip families and the driver implementation are unchanged. The STM32G0B1 datasheet DS13560, section 3.23, documents SPI2: https://www.st.com/resource/en/datasheet/stm32g0b1re.pdf Verified before/after configuration on STM32G0B1RE and STM32G0B1CE, with STM32G071RB as an unchanged control. The same one-line fix is included in the Golgi STM32G0B1CE firmware build 7248, whose build and hardware acceptance were recorded on September 25, 2026. Assisted-by: Codex:GPT-6 Signed-off-by: jsanchez-2g <jsanchez@2g-eng.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||