cancel
Showing results for 
Search instead for 
Did you mean: 

Feature request: Search functionality with wildcards or regular expression-like patterns

simountain
Associate II

I’d like to propose an improvement to the search functionality in the "Pinout & Configuration" → "Pinout View" section of STM32CubeMX.

Currently, the search allows filtering by port names and peripheral signals. It would be extremely helpful if the search could support wildcards or regular expression-like patterns. For example:

  • Searching for SPI?_MOSI would return all pins associated with SPI1_MOSI, SPI2_MOSI, SPI3_MOSI, etc.
  • Searching for PA[0-9]+ could list all pins from PA0 to PA15.

This enhancement would significantly improve usability, especially when working with large pinouts or when trying to locate signal mappings across multiple instances of peripherals.

Thank you for considering this suggestion!

Best Simon 

3 REPLIES 3
Mahmoud Ben Romdhane
ST Employee

Hello @simountain ,

 

First let me thank you for posting.

Your request is submitted to the dedicated team through this internal ticket (Ticket Number: 219165).

 

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Andrew Neil
Super User

@simountain in the meantime, while ST consider the suggestion, note that you can export the pinout from CubeMX to a CSV text file:

https://community.st.com/t5/stm32-mcus-products/stm32u535ve-pin-configuration-table-excel-or-csv-table/m-p/762005/highlight/true#M270645

You could then use your favourite wildcard/regex-capable tool to search that ...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Thank you for the hint. This functionality works as a good workaround, but it's a bit inconvenient for quick searches. Furthermore, I really like the visual response of the search within Cube MX. This helps a lot if you have to do changes in the pin assignment / schematic where you need to move peripherals to other pins.