wagiminator / SAMD-Development-Boards

Collection of SAMD Development Boards, Programmers, Tools and Firmware
Other
26 stars 5 forks source link

SAMD21E Development Board LED PIN CHANGE #5

Open nijupp24 opened 2 years ago

nijupp24 commented 2 years ago

HI, @wagiminator

How can i change the bootloader led pin from 6 to 28 on pin PA02 i need to enable Interrupt also please support

wagiminator commented 2 years ago

Hi, you have change the board settings accordingly and compile the bootloader: https://github.com/microsoft/uf2-samdx1

nijupp24 commented 2 years ago

can i use uf2 for ATSAMD21E17D also? i came to know that you are disabled the interrupt for pa15 and pa2 how can i enable interrupt for the same pin? thanks for your valuable time to support!!

nijupp24 commented 2 years ago

where i can get the bootloader source code which is correctly matching with your board (bootloader source code for SAMD21E_DevBoard ) ??

wagiminator commented 2 years ago

When I compiled the uf2 bootloader, only the SAMD21E18A had enough SRAM. It may be that the current version can also be compiled on smaller MCUs, but you just have to try it out.

I'll see that I upload the source code for the bootloader.

A total of only 16 external interrupts can be configured. These can be distributed to any pins, but for the core it must be decided which one. That choice is what it is now, I took it over from MattairTech. If you want to change it, then you have to deal with the registers.