Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

board: Add support for UNO Q#210

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
facchinm wants to merge15 commits intomain
base:main
Choose a base branch
Loading
fromunoq
Open

board: Add support for UNO Q#210

facchinm wants to merge15 commits intomainfromunoq

Conversation

facchinm
Copy link
Member

No description provided.

Copy link

@DhruvaG2000DhruvaG2000 left a comment

Choose a reason for hiding this comment

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

zephyrCommon: Fixed a bug in the interrupt handler acquisition

Why include this commit as part of a PR for support for UNO Q?
Can it be a separate PR of it's own please?

pillo79 reacted with thumbs up emoji
@facchinm
Copy link
MemberAuthor

zephyrCommon: Fixed a bug in the interrupt handler acquisition

Why include this commit as part of a PR for support for UNO Q? Can it be a separate PR of it's own please?

@pillo79 can you send it as a different PR? (and remove from this branch)

@pillo79pillo79 changed the titleAdd support for UNO Qboard: Add support for UNO QOct 9, 2025
pillo79and others added14 commitsOctober 9, 2025 14:14
Take into account the analog switch
Use RBIT intrinsic (if available) instead of the slowsoftware reverse. Note that RBIT is at least ~2x faster:Reverse Function Benchmark==========================Current implementation: 18 msOptimized implementation: 8 msSpeedup: 2.25xSigned-off-by: iabdalkader <i.abdalkader@gmail.com>
The main optimization eliminates the double MODER register write when on=true.Previously: MODER &= ~(0xFFFFFF) then MODER |= pin_bits (two writes)Now: MODER = 0 when off, or MODER = pin_bits when on (single write each)Otherwise, the compiler is already doing a pretty good job.Additional improvements:- Remove unused idxToPin() function (was just returning idx)- Remove unused reverse() function- Use direct pin array access and bit shifts for efficiencySigned-off-by: iabdalkader <i.abdalkader@gmail.com>
this commit can be reverted as soon as the libraries are added to library manager
@pillo79
Copy link

zephyrCommon: Fixed a bug in the interrupt handler acquisition

Why include this commit as part of a PR for support for UNO Q? Can it be a separate PR of it's own please?

@pillo79 can you send it as a different PR? (and remove from this branch)

#203 was already opened a few weeks ago, this commit being included was a leftover from all the rebases during the Uno Q release process. Fixed!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
1 more reviewer

@DhruvaG2000DhruvaG2000DhruvaG2000 requested changes

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@facchinm@pillo79@DhruvaG2000@sebromero@iabdalkader

[8]ページ先頭

©2009-2025 Movatter.jp