Skip to content

remove obsolete stm32l1 target support#715

Merged
julianuziemblo merged 1 commit intomasterfrom
julianuziemblo/remove-stm32l1
Nov 19, 2025
Merged

remove obsolete stm32l1 target support#715
julianuziemblo merged 1 commit intomasterfrom
julianuziemblo/remove-stm32l1

Conversation

@julianuziemblo
Copy link
Contributor

@julianuziemblo julianuziemblo commented Nov 18, 2025

Description

related:

Motivation and Context

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (refactoring, style fixes, git/CI config, submodule management, no code logic changes) - stm32l1 was not supported anyway - this PR just removes the last remaining mentions of it

How Has This Been Tested?

  • Already covered by automatic testing.
  • New test added: (add PR link here).
  • Tested by hand on: (list targets here).

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing linter checks and tests passed.
  • My changes generate no new compilation warnings for any of the targets.

Special treatment

  • This PR needs additional PRs to work (list the PRs, preferably in merge-order).
  • I will merge this PR by myself when appropriate.

@gemini-code-assist
Copy link

Summary of Changes

Hello @julianuziemblo, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a significant codebase cleanup by eliminating all references and files associated with the obsolete STM32L1 microcontroller target. This change is categorized as a chore, as it removes unused and unsupported hardware abstraction layer components, simplifying the build system and reducing maintenance overhead without altering existing functional logic for supported platforms.

Highlights

  • Obsolete Target Support Removal: The pull request completely removes all remaining support for the STM32L1 microcontroller target, as it was no longer actively supported.
  • Codebase Cleanup: Several files and build configurations specific to the STM32L1 HAL (Hardware Abstraction Layer) have been deleted, streamlining the project structure.
  • Conditional Compilation Updates: Conditional compilation directives and includes related to STM32L1 have been removed from core HAL files, ensuring a cleaner build process for supported targets.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request effectively removes the obsolete stm32l1 target support by deleting related files and conditional compilation blocks. The changes are clean and focused. I have one suggestion regarding a conditional include in hal/armv7m/stm32/stm32.h to improve future maintainability, but overall the PR is in good shape.

@github-actions
Copy link

github-actions bot commented Nov 18, 2025

Unit Test Results

9 462 tests  ±0   8 873 ✅ ±0   51m 8s ⏱️ +38s
  561 suites ±0     589 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit fe47d42. ± Comparison against base commit e8d0b7d.

♻️ This comment has been updated with latest results.

@julianuziemblo julianuziemblo force-pushed the julianuziemblo/remove-stm32l1 branch from 056386a to b757068 Compare November 18, 2025 16:21
@julianuziemblo julianuziemblo merged commit ef51985 into master Nov 19, 2025
41 checks passed
@julianuziemblo julianuziemblo deleted the julianuziemblo/remove-stm32l1 branch November 19, 2025 15:37
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

Comments