You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "Siviuze (via GitHub)" <gi...@apache.org> on 2023/08/23 12:07:06 UTC

[GitHub] [nuttx] Siviuze opened a new pull request, #10378: Add i.MX8MP platform (Cortex-M7)

Siviuze opened a new pull request, #10378:
URL: https://github.com/apache/nuttx/pull/10378

   ## Summary
   Support for i.MX8MP platform. Note that the i.MX8Mx family is different than the i.MX8Qx.
   
   ## Impact
   
   ## Testing
   
   


-- 
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


[GitHub] [nuttx] hartmannathan commented on pull request #10378: Add i.MX8MP platform (Cortex-M7)

Posted by "hartmannathan (via GitHub)" <gi...@apache.org>.
hartmannathan commented on PR #10378:
URL: https://github.com/apache/nuttx/pull/10378#issuecomment-1690780613

   > Theses are the warnings about too long line that I don't know how to proceed to keep a code readable :)
   
   `nxstyle` (the program that checks for too-long lines and other code style rules) looks at the length of the `/*************` separators in the file and uses that to decide the longest allowed line. Note, though, that while it requires lines of **_code_** to be shorter than the row of asterisks, it allows some leeway for lines of `#define`s: these can be longer than the asterisks as long as the definition starts before the end of the asterisks. This exception is included exactly for the purpose of keeping defines readable!
   
   An example might make it more clear. See:
   
   https://github.com/apache/nuttx/blob/master/arch/arm/src/tiva/hardware/tm4c/tm4c_memorymap.h
   
   Notice how the lines of defines are longer than the asterisks. However, this is accepted by `nxstyle` because the definition begins before the asterisks end.
   
   In your file, the definitions that `nxstyle` complains about begin after the asterisks.
   
   A workaround is to add more asterisks. You can use `tools/nxstyle` in the NuttX repo to test your file. That way, you don't have to keep force-pushing and waiting for the lengthy checks.


-- 
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


[GitHub] [nuttx] xiaoxiang781216 commented on pull request #10378: Add i.MX8MP platform (Cortex-M7)

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #10378:
URL: https://github.com/apache/nuttx/pull/10378#issuecomment-1690224220

   @Siviuze  please fix the warning reported by check:
   https://github.com/apache/nuttx/actions/runs/5952422308/job/16148351709?pr=10378
   and rebase to the last master to the break which should be fixed by https://github.com/apache/nuttx/pull/10370 and https://github.com/apache/nuttx-apps/pull/1990.


-- 
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


[GitHub] [nuttx] Siviuze commented on pull request #10378: Add i.MX8MP platform (Cortex-M7)

Posted by "Siviuze (via GitHub)" <gi...@apache.org>.
Siviuze commented on PR #10378:
URL: https://github.com/apache/nuttx/pull/10378#issuecomment-1690274877

   > @Siviuze please fix the warning reported by check: https://github.com/apache/nuttx/actions/runs/5952422308/job/16148351709?pr=10378 and rebase to the last master to the break which should be fixed by #10370 and [apache/nuttx-apps#1990](https://github.com/apache/nuttx-apps/pull/1990).
   
   Theses are the warnings about too long line that I don't know how to proceed to keep a code readable :)


-- 
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


[GitHub] [nuttx] xiaoxiang781216 merged pull request #10378: Add i.MX8MP platform (Cortex-M7)

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #10378:
URL: https://github.com/apache/nuttx/pull/10378


-- 
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


[GitHub] [nuttx] Siviuze commented on pull request #10378: Add i.MX8MP platform (Cortex-M7)

Posted by "Siviuze (via GitHub)" <gi...@apache.org>.
Siviuze commented on PR #10378:
URL: https://github.com/apache/nuttx/pull/10378#issuecomment-1691274768

   Thanks for the explanations @hartmannathan !
   
   I have updated the code :)


-- 
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


[GitHub] [nuttx] Siviuze commented on pull request #10378: Add i.MX8MP platform (Cortex-M7)

Posted by "Siviuze (via GitHub)" <gi...@apache.org>.
Siviuze commented on PR #10378:
URL: https://github.com/apache/nuttx/pull/10378#issuecomment-1689846864

   Question: I have a few styles errors due to long lien found, especially in mx8mp_ccm.c and mx8mp_pinmux.h files.
   Do you have any recommendations to handle theses so that the definitions stays readable?


-- 
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