Skip to content

Port psoc6 (latest)#18550

Open
jaenrig-ifx wants to merge 20 commits into
micropython:masterfrom
Infineon:port-psoc6-pr4
Open

Port psoc6 (latest)#18550
jaenrig-ifx wants to merge 20 commits into
micropython:masterfrom
Infineon:port-psoc6-pr4

Conversation

@jaenrig-ifx
Copy link
Copy Markdown
Contributor

Hi @mattytrentini @dpgeorge,

We have kept working on further enabling the PSOC6 controller in MPY. This pull request deprecates #16705.

Here a list of the features enabled:
machine classes:

  • ADC
  • ADCBlock
  • I2C. Master and slave mode.
  • I2S
  • Pin
  • PWM
  • RTC
  • SDCard
  • SPI. Master and slave mode.
  • Timer
  • UART
  • WDT

Additional modules:

  • network.WLAN
  • Virtual File System (LFS2 and FAT format)

PSoC6 evaluation boards available:

  • CY8CPROTO-062-4343W

  • CY8CPROTO-063-BLE

  • CY8CKIT-062S2-AI

  • Tests running in a hardware in the loop setup under ci/cd are provided for (at least) the main API functionalities of the enabled classes.

Looking forward to discuss the next steps regarding this PR with our teams.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 11, 2025

Code size report:

Reference:  all: Bump version to 1.27.0. [78ff170]
Comparison: psoc6/README: Fixed board name typo. [merge of 6db391a]
  mpy-cross:    +0 +0.000% 
   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:   +48 +0.012% PYBV10
     mimxrt:   +44 +0.012% TEENSY40
        rp2:   +56 +0.006% RPI_PICO_W
       samd:   +48 +0.018% ADAFRUIT_ITSYBITSY_M4_EXPRESS
  qemu rv32:    +0 +0.000% VIRT_RV32

Comment thread ports/psoc6/README.md Outdated

Build the firmware:

make BOARD=CY8CKIT_062S2_AI
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

CY8CKIT_062S2_AI does not match the directory boards/CY8CKIT-062S2-AI

compiles with make BOARD=CY8CKIT-062S2-AI

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

100%. Fixed :) That was a typo.

@jkorte-dev
Copy link
Copy Markdown

I'm very impressed by the effort that went into the testing. Very exciting.

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.38%. Comparing base (78ff170) to head (6db391a).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #18550   +/-   ##
=======================================
  Coverage   98.38%   98.38%           
=======================================
  Files         171      171           
  Lines       22300    22300           
=======================================
  Hits        21939    21939           
  Misses        361      361           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dpgeorge dpgeorge added the ports Relates to multiple ports, or a new/proposed port label Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ports Relates to multiple ports, or a new/proposed port

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants