Skip to content

Conversation

Copy link

Copilot AI commented Nov 4, 2025

Reviewed PR #12 adding STM32F411 MCU support. The implementation correctly follows the F401 config pathway with proper specifications (96MHz clock, 512KB flash, 128KB RAM, voltage regulator scaling). Build tests pass for both F411 and F401.

Issue identified: MACH_STM32F411 missing from bootloader offset options in src/stm32/Kconfig.

Required changes

Add || MACH_STM32F411 to two bootloader configuration lines:

Line 315:

bool "48KiB bootloader" if MACH_STM32F4x5 || MACH_STM32F401 || MACH_STM32F411

Line 324:

bool "16KiB bootloader" if MACH_STM32F207 || MACH_STM32F401 || MACH_STM32F411 || MACH_STM32F4x5 || MACH_STM32F103 || MACH_STM32F072

Without these, users cannot select bootloader offsets for CanBoot or HID bootloader on F411 boards.

Technical notes

  • Voltage regulator scaling (VOS Scale 1) correctly implemented for 96MHz operation
  • TIM9 PWM on PA2/PA3 added, PE5/PE6 excluded (unavailable on F411)
  • Serial ports: USART3 disabled, USART6 enabled (matches F411 hardware)
  • Build: 36KB binary, 7.7% flash utilization

All other changes in PR #12 are correct and follow established F401 patterns.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Can you review is PR ( #12 )and let me know if there are any issues adding the support for the stm32 F411 micro along the F401 config pathway?


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add support for STM32 F411 micro along F401 config pathway Review PR #12: STM32F411 support - identified missing bootloader configuration Nov 4, 2025
Copilot AI requested a review from YanceyA November 4, 2025 22:25
Copilot finished work on behalf of YanceyA November 4, 2025 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants