Skip to content

stm32/boards/ARDUINO_PORTENTA_H7: Free reserved timer. #17553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2025

Conversation

iabdalkader
Copy link
Contributor

Summary

This patch frees the timer pin used for the camera clock on Portenta carrier, and vision shield, allowing users to use it with tim. The pin doesn't strictly need to be reserved, as the timer module only deinitializes timers that were used. See b6649b9#commitcomment-160466116

Testing

Tested Portenta firmware still works.

Copy link

Code size report:

   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:    +0 +0.000% PYBV10
     mimxrt:    +0 +0.000% TEENSY40
        rp2:    +0 +0.000% RPI_PICO_W
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
  qemu rv32:    +0 +0.000% VIRT_RV32

iabdalkader referenced this pull request Jun 23, 2025
Reserve timers used for the camera, and fix USB PID because 0x055F is
reserved for MicroPython.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
@razvanphp
Copy link

LGTM. Thank you!

This pin is used for the camera clock on Portenta carrier, and vision
shield but it doesn't need to be reserved.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
@dpgeorge dpgeorge merged commit 0815b45 into micropython:master Jun 26, 2025
10 checks passed
@iabdalkader iabdalkader deleted the portenta_res_tim branch June 26, 2025 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants