Search found 12 matches

by teknoman117
Thu Oct 02, 2025 8:13 am
Forum: Development and Feedback
Topic: [AVR] Support for pad events via Pin Change Interrupts
Replies: 7
Views: 8978

Re: [AVR] Support for pad events via Pin Change Interrupts

Everything is committed on trunk. Do you want me to bring it over to stable_21.11.x as well?
by teknoman117
Wed Oct 01, 2025 1:24 am
Forum: Bug Reports
Topic: [AVR] Add support for USART2/3 on ATmega640/1280/2560 to Serial Driver
Replies: 3
Views: 18355

Re: [AVR] Add support for USART2/3 on ATmega640/1280/2560 to Serial Driver

Figured I'd follow up and say that since I've been given write access to the repository, I've committed this patch. (several weeks ago)
by teknoman117
Wed Oct 01, 2025 12:01 am
Forum: Development and Feedback
Topic: [AVR] Support for pad events via Pin Change Interrupts
Replies: 7
Views: 8978

Re: [AVR] Support for pad events via Pin Change Interrupts

I've now also added support for the dedicated external interrupts lines. So now both INT and PCINT signals can drive pad events, with INT having priority if both are enabled. (INT has lower latency).

What's the methodology on versioning for drivers? In STM32 I see GPIOv1, GPIOv2, v3, etc.

Does the ...
by teknoman117
Mon Sep 29, 2025 9:18 am
Forum: Development and Feedback
Topic: [AVR] Support for pad events via Pin Change Interrupts
Replies: 7
Views: 8978

[AVR] Support for pad events via Pin Change Interrupts

Hello!

Looking for some feedback on my work in progress implementation of pad events on AVR ATmega MCUs (not the new Tiny-0/1/2 or Mega-0 parts). Needs cleanup for sure, but I am able to use pad events with this patch! (both callbacks and wait)

Theory of operation:

Pin Change Interrupts on the ...
by teknoman117
Mon Aug 25, 2025 7:10 am
Forum: Bug Reports
Topic: [AVR] Fix $(ELFSIZE) in Makefiles
Replies: 12
Views: 19009

Re: [AVR] Fix $(ELFSIZE) in Makefiles

Okay, done :)

Just to be certain, you're only saying the HAL should not be touched in stable_21.11.x (kept stable =P) until the 21.11.4 release is made, correct? Changes to the HAL in trunk would be fine though?
by teknoman117
Sun Aug 24, 2025 9:43 pm
Forum: Bug Reports
Topic: [AVR] Fix $(ELFSIZE) in Makefiles
Replies: 12
Views: 19009

Re: [AVR] Fix $(ELFSIZE) in Makefiles

Okay, I committed my small patches to trunk, figured I'd ask if you wanted me to push them to stable_21.11.x before I touched it :)
by teknoman117
Sun Aug 24, 2025 7:36 pm
Forum: Bug Reports
Topic: [AVR] Fix $(ELFSIZE) in Makefiles
Replies: 12
Views: 19009

Re: [AVR] Fix $(ELFSIZE) in Makefiles

In my 15 years in the tech industry thus far I've never actually had to use subversion =P. I'm sure I'll figure it out pretty quick. I do see that I have access now on Sourceforge.

I just joined the Discord, user "teknoman117" as well. I'll ping the current maintainer and work on contributing the ...
by teknoman117
Sun Aug 24, 2025 7:27 am
Forum: Bug Reports
Topic: [AVR] Fix $(ELFSIZE) in Makefiles
Replies: 12
Views: 19009

Re: [AVR] Fix $(ELFSIZE) in Makefiles

I went and created a sourceforge account. Same username as here, "teknoman117".

If you want to DM me about maintenance rules / maintainer policy, please do so.
by teknoman117
Sat Aug 23, 2025 6:04 pm
Forum: Bug Reports
Topic: [AVR] Fix $(ELFSIZE) in Makefiles
Replies: 12
Views: 19009

Re: [AVR] Fix $(ELFSIZE) in Makefiles

I don't have a ton of time on my hands, but I could take some AVR work under my wing for at least a few months.

My goal was to bring the AVR HAL closer to feature parity with some of the other platforms. My main focus was going to be writing a new EXTI driver that uses the AVR's PCINT pins so that ...
by teknoman117
Sat Aug 23, 2025 3:39 am
Forum: Bug Reports
Topic: [AVR] Fix $(ELFSIZE) in Makefiles
Replies: 12
Views: 19009

[AVR] Fix $(ELFSIZE) in Makefiles

Binutils 2.26 (released in 2016) removed support for the "--mcu=$(MCU) --format=avr" options from the avr-size command.

Here's a patch to remove those options from the definition of ELFSIZE for AVR demos and tests.


From 998d169f4436a5da3510f2d6a12d9ba7d25ca120 Mon Sep 17 00:00:00 2001 ...