ALTracer opened a new pull request, #8906: URL: https://github.com/apache/nuttx/pull/8906
## Summary Tweak board configuration to enable USB Device and SPI1 with w25q64 onboard flash ## Impact Hobbyists using WeAct Studio MiniF4 boards rev 3.0 https://github.com/WeActStudio/WeActStudio.MiniSTM32F4x1 ## Testing Tested on my two examples of MiniF4 with STM32F411CEU6, one with external flash, one without (hangs on waiting for w25 indefinitely in BOARD_LATE_INIT or NSH_ARCHINIT) #1211 by @acassis added initial support by mostly copying the board code from some similar board of this family, I suppose stm32f103-minimum or stm32f4-discovery. Sure, the default minimal nsh configuration works with NSH on USART1, but there's more to this board. I bought a couple boards last year but still couldn't properly use them for any projects due to different reasons (GNU ARM Toolchain builds threw SIGILL on my laptop, Nuttx Buildroot I built for Cortex-M7 produced vmul.f64 in its libgcc which hardfaults on fpv4-sp-d16, Gentoo crossdev toolchain fought me with _FORTIFY_SOURCE and SSP). Now since 12.0 release I thought things got more stable, I rebuilt crossdev gcc-12.0.0 and newlib-4.3.0 (not used in NuttX), loaded nsh defconfig and went for enabling slightly more peripherals (USART1, USART2, USB Device, RTC, SPI1). At most I wanted to achieve RNDIS or CDC/ECM, but most boards only provided USB configuration for CDC/ACM, Mass Storage or Composite configs. This is one of first steps in expanding configuration options for this board. I intended to split this changeset into atomic commits (unbreak USART1+USB, enable SPI1+w25+SMARTFS, enable USB Composite CDC/ACM, enable USBMSC) but I remembered that the policy here is to squash-rebase everything anyways. Also, I cherry-picked CoreMark commits from Apps repo master onto 12.0/release and got 189 Coremarks on -Os, 144 Coremarks on -Og, 96MHz SYSCLK. That reminds me -- maybe PCLK2 configuration is wrong? The same board presents the STM32_BOOTLOADER with DFU interface on BOOT0 reset on the same cable to the same Gentoo desktop. P.S. GitHub pulls three unrelated commits from releases/12.0 branch when I try to PR against nuttx master. I could rebase against master without conflicts, but I tested against 12.0. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org