Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for PIC32MZ port #6610

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

Closed
wants to merge 20 commits into from
Closed

Conversation

AbdouSam
Copy link

@AbdouSam AbdouSam commented Nov 11, 2020

I added support for pic32mz mcu.

  • I tested the firmware on a pic32mz2048EFM mcu. with 2MB flash and 512KB RAM
  • unfortunately, i didn't add any python module for hardware.
  • i implemented a gpio.c, uart.c and timer.c files to facilitate the implementation of modules.

@dpgeorge dpgeorge added the ports Relates to multiple ports, or a new/proposed port label Jan 21, 2022
tannewt added a commit to tannewt/circuitpython that referenced this pull request Jul 26, 2022
1. Run the socket select task at the same priority as CP. This is
  needed because it queues up the background work. Without it, CP
  needed to sleep to let the lower priority task go.
2. Close the active socket on disconnect. This prevents looping
  over a disconnected but not closed socket.

Fixes micropython#6610. Fixes micropython#6613
@dpgeorge
Copy link
Member

Thanks for the contribution. This looks like a good piece of work, it's good to see that MicroPython can run on these PIC MCUs.

Unfortunately we are unable to merge this into this repository at this time, because it's a big burden to take on a new port and maintain it.

I suggest you maintain this yourself (eg as an out-of-tree port with micropython as a submodule) and then if there is enough interest in the future to support these MCUs, we can reconsider pulling it into this repository.

See also #5302 for an attempt at a PIC32MX port.

@dpgeorge dpgeorge closed this Nov 15, 2022
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.

2 participants