You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "lordrasmus (via GitHub)" <gi...@apache.org> on 2025/02/08 23:52:45 UTC
[PR] max32690 port [nuttx]
lordrasmus opened a new pull request, #15793:
URL: https://github.com/apache/nuttx/pull/15793
## Summary
im using nuttx on a max32690 and had to change much code to get it working
most of the code is still very ugly because it was just a copy of the max32660 code
but here the first cleanup files
## Impact
sholud have no impact
## Testing
just testet if it breaks the current max32660 port
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "jerpelea (via GitHub)" <gi...@apache.org>.
jerpelea commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2650110506
please add in the commit title the area impacted by the commit ex: arch/arm/max326xx
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "lordrasmus (via GitHub)" <gi...@apache.org>.
lordrasmus commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2650427103
so i think i heave learned how to contribute to nuttx
will you merge this and close this pull request or should i add the next driver in this pr ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "lupyuen (via GitHub)" <gi...@apache.org>.
lupyuen commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2649424653
@lordrasmus Could you fill in the Commit Description for these commits? Just a short summary of the feature that we're implementing. Thanks :-)
- https://github.com/apache/nuttx/pull/15793/commits/c68c12ff9da34dd4e78f94e4f8bb9f9e5b39fa04
- https://github.com/apache/nuttx/pull/15793/commits/553c9ecd918c3b096751233a6c40a9cc67686dc2
- https://github.com/apache/nuttx/pull/15793/commits/8d62222393273da10313c5a498934a3ebbc6927d
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "lordrasmus (via GitHub)" <gi...@apache.org>.
lordrasmus commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2650113993
ok i added some descriptions
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2646220713
@lordrasmus actually the coding styles are only in the second commit (and in the 4th now, but you can fix it later)
So, if you run:
git rebase -i HEAD~4
And edit the 3rd line (the "fix coding style" line) replacing pick with squash, it with squash it for you
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2646197416
Hi @lordrasmus nice work! Kudos!!!
Please fix the coding styles issues.
You can see the error clicking in the "Details" of our CI.
But the best approach is always running the check script before submitting the PR:
```
./tools/checkpatch.sh -g HEAD~...HEAD
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2646209437
> Thanks for the advice. I will review the changes now before committing.
>
> That's why I only wanted to add a few files.
>
> This is my first change to NuttX that I want to get merged.
Thank you! That was a smart approach!
Just another suggestion: normally we don't create a new commit with the coding styles fixes, but we squash and merge then in the previous commits.
In your case you have two commits with different files modified, so it was better to create then separated and squash each one in the right commit.
There is a documentation for the simple case, but I think it could help you:
https://nuttx.apache.org/docs/latest/contributing/making-changes.html#how-to-include-the-suggestions-on-your-pull-request
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "nuttxpr (via GitHub)" <gi...@apache.org>.
nuttxpr commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2645990483
[**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues)
__Fill In The Commit Message:__ This PR contains a Commit with an Empty Commit Message. Please fill in the Commit Message with the PR Summary.
No, this PR likely does *not* meet the NuttX requirements. Here's why:
* **Insufficient Summary:** The summary is vague. It doesn't explain *why* these changes are necessary (bug fix, new platform support, etc.), *what* functional parts of the code were changed, or *how* the changes work. Simply saying "copied from MAX32660" isn't enough. Details about the specific modifications are crucial.
* **Unclear Impact:** Claiming "no impact" is unlikely given the amount of modification. Even if it doesn't break the MAX32660 port, there could be unforeseen consequences. The PR needs to specifically address *all* impact areas (build, hardware, documentation, security, compatibility). For a new port like the MAX32690, many of these should be "YES".
* **Inadequate Testing:** Testing only if it "breaks" another port isn't sufficient. The PR must demonstrate that the MAX32690 port itself is functional. "Works as intended" requires detailed test logs showing the specific functionality tested on the MAX32690 *before* and *after* the changes. The logs provided are placeholders.
**To make this PR acceptable, the author needs to:**
1. **Rewrite the Summary:** Provide a clear explanation of the changes, their purpose, and how they work. Specifically mention that this adds support for the MAX32690.
2. **Thoroughly Address Impact:** Analyze and document the impact on *all* listed areas. Adding support for a new platform has significant impact.
3. **Provide Real Test Logs:** Demonstrate the functionality of the MAX32690 port both before (likely showing it doesn't work) and after (showing the functionality added). Include specifics like which peripherals and drivers are being tested.
4. **Clean Up the Code:** "Messy code copied from elsewhere" isn't acceptable. Code needs to be properly reviewed, styled, and commented before submission.
In short, this PR needs substantial revision before it can be considered. The current state suggests a work in progress, not something ready for review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2646227920
To fix the last commit (memorymap) you don't need to squash, there is a trick that a friend of mine told me:
just modify the files wit the coding style issues, then run:
git add path/to/that/file
git commit --amend
It will include your modifications in the last commit!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "lordrasmus (via GitHub)" <gi...@apache.org>.
lordrasmus commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2646297683
hmm i'm not using git very often
mostly i'm using subversion
now the same appears 3 times int the git log
and it reverted some changes
i will try to figure out what happend :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "lordrasmus (via GitHub)" <gi...@apache.org>.
lordrasmus commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2646207554
Thanks for the advice.
I will review the changes now before committing.
That's why I only wanted to add a few files.
This is my first change to NuttX that I want to get merged.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis merged PR #15793:
URL: https://github.com/apache/nuttx/pull/15793
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "lordrasmus (via GitHub)" <gi...@apache.org>.
lordrasmus commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2646347283
looks like i messed it up a bit
now i just made a new git clone, squashed it there with github-desktop and copied the .git folder to my working copy
seems ok now :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "lordrasmus (via GitHub)" <gi...@apache.org>.
lordrasmus commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2650126587
like this ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "lupyuen (via GitHub)" <gi...@apache.org>.
lupyuen commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2650442286
This PR will be merged in a while. You can prepare the next driver in a new PR. Thanks :-)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2646309895
@lordrasmus I think you tried to merge, please don't do it, just rebase is enough
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] max32690 port [nuttx]
Posted by "lordrasmus (via GitHub)" <gi...@apache.org>.
lordrasmus commented on PR #15793:
URL: https://github.com/apache/nuttx/pull/15793#issuecomment-2646234147
ok i wil try that
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org