You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/02/07 10:31:01 UTC
[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #225:
Timer improvement
xiaoxiang781216 opened a new pull request #225: Timer improvement
URL: https://github.com/apache/incubator-nuttx/pull/225
Reorder the irq and timer initializition as commit 0863e771a99553e suggestion:
Since the tickless mode timer is very special, one solution might be to
1. Rename xxx_timer_initialize to up_timer_initialize
2 Move up_timer_initialize to include/nuttx/arch.h
3. Call it from clock subsystem instead up_initialize
Basically, this change make timer initialization almost same as rtc initialization(up_rtc_initialize).
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-nuttx] patacongo commented on issue #225: Timer
improvement
Posted by GitBox <gi...@apache.org>.
patacongo commented on issue #225: Timer improvement
URL: https://github.com/apache/incubator-nuttx/pull/225#issuecomment-583413153
The only risk in this is the this will change the time and order in which MCU resources are initialized. I cannot think of any problems in this, but is it also possible that this does break some platform and that some order dependency.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-nuttx] patacongo merged pull request #225: Timer
improvement
Posted by GitBox <gi...@apache.org>.
patacongo merged pull request #225: Timer improvement
URL: https://github.com/apache/incubator-nuttx/pull/225
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #225:
Timer improvement
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 opened a new pull request #225: Timer improvement
URL: https://github.com/apache/incubator-nuttx/pull/225
Reorder the irq and timer initializition as commit 0863e771a99553e suggestion:
Since the tickless mode timer is very special, one solution might be to
1. Rename xxx_timer_initialize to up_timer_initialize
2 Move up_timer_initialize to include/nuttx/arch.h
3. Call it from clock subsystem instead up_initialize
Basically, this change make timer initialization almost same as rtc initialization(up_rtc_initialize).
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-nuttx] xiaoxiang781216 commented on issue #225: Timer
improvement
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on issue #225: Timer improvement
URL: https://github.com/apache/incubator-nuttx/pull/225#issuecomment-583457186
> The only risk in this is the this will change the time and order in which MCU resources are initialized. I cannot think of any problems in this, but is it also possible that this does break some platform and that some order dependency.
Yes, but it make the code more clean, should we give a try or let the code unmaintainable step by step?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-nuttx] patacongo commented on issue #225: Timer
improvement
Posted by GitBox <gi...@apache.org>.
patacongo commented on issue #225: Timer improvement
URL: https://github.com/apache/incubator-nuttx/pull/225#issuecomment-583413930
Sorry about the close and re-open, I clicked the wrong button.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-nuttx] patacongo closed pull request #225: Timer
improvement
Posted by GitBox <gi...@apache.org>.
patacongo closed pull request #225: Timer improvement
URL: https://github.com/apache/incubator-nuttx/pull/225
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services