(nuttx) branch master updated: docs: revising comments and documents

2024-01-24 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new ebef20ee17 docs: revising comments and documen

Re: [PR] docs: revising comments and documents [nuttx]

2024-01-24 Thread via GitHub
xiaoxiang781216 merged PR #11597: URL: https://github.com/apache/nuttx/pull/11597 -- 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-unsubscr...@nu

Re: [PR] samv7: refactor DAC driver [nuttx]

2024-01-24 Thread via GitHub
michallenc commented on code in PR #11595: URL: https://github.com/apache/nuttx/pull/11595#discussion_r1465925797 ## arch/arm/src/samv7/sam_dac.c: ## @@ -226,15 +226,46 @@ static int dac_interrupt(int irq, void *context, void *arg) static void dac_reset(struct dac_dev_s *dev

Re: [PR] samv7: refactor DAC driver [nuttx]

2024-01-24 Thread via GitHub
pkarashchenko commented on code in PR #11595: URL: https://github.com/apache/nuttx/pull/11595#discussion_r1465914203 ## arch/arm/src/samv7/sam_dac.c: ## @@ -226,15 +226,46 @@ static int dac_interrupt(int irq, void *context, void *arg) static void dac_reset(struct dac_dev_s *

[PR] nshlib: add `expr` command support [nuttx-apps]

2024-01-24 Thread via GitHub
Junbo-Zheng opened a new pull request, #2268: URL: https://github.com/apache/nuttx-apps/pull/2268 ## Summary nshlib: add `expr` command support It is a mini version for the `expr` command, which implements the features of addition, subtraction, multiplication, division and

Re: [PR] PCI Refactoring [nuttx]

2024-01-24 Thread via GitHub
patacongo commented on PR #1004: URL: https://github.com/apache/nuttx/pull/1004#issuecomment-1909298348 Would we also remove the PCI branch? https://github.com/apache/nuttx/tree/pci -- This is an automated message from the Apache Git Service. To respond to the message, please log on to Git

[PR] docs: revising comments and documents [nuttx]

2024-01-24 Thread via GitHub
yf13 opened a new pull request, #11597: URL: https://github.com/apache/nuttx/pull/11597 ## Summary - spi/slave.h: revise comments in pulic types section - doc/sim.rst: minor formatting, add ways to escape cu ## Impact docs ## Testing checked with rete

Re: [PR] PCI Refactoring [nuttx]

2024-01-24 Thread via GitHub
xiaoxiang781216 commented on PR #1004: URL: https://github.com/apache/nuttx/pull/1004#issuecomment-1909256220 should we close this patch? @raiden00pl . -- 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 g

Re: [PR] [DO NOT MERGE] x86_64: qemu: implement pci-e functions and enumerate pci-e devices on boot [nuttx]

2024-01-24 Thread via GitHub
xiaoxiang781216 commented on PR #11571: URL: https://github.com/apache/nuttx/pull/11571#issuecomment-1909255265 should we close this patch? @raiden00pl -- 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

(nuttx) branch master updated: samv7: refactor DAC driver

2024-01-24 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new fba4b2593c samv7: refactor DAC driver fba4b259

Re: [PR] samv7: refactor DAC driver [nuttx]

2024-01-24 Thread via GitHub
xiaoxiang781216 merged PR #11595: URL: https://github.com/apache/nuttx/pull/11595 -- 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-unsubscr...@nu

Re: [PR] Bring up changes from nuttx/pci branch (2nd attempt) [nuttx]

2024-01-24 Thread via GitHub
xiaoxiang781216 commented on code in PR #11583: URL: https://github.com/apache/nuttx/pull/11583#discussion_r1465361744 ## arch/x86_64/src/intel64/intel64_mbfb.c: ## @@ -0,0 +1,321 @@ +/ + * arch/x86_64/s

Re: [I] how to support ptp [nuttx]

2024-01-24 Thread via GitHub
xiaotailang commented on issue #10887: URL: https://github.com/apache/nuttx/issues/10887#issuecomment-1909182649 Okay, thank you very much for your suggestions. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL a

(nuttx-website) branch asf-site updated: Publishing web: 69485786e52ff306670ab74f7df988cf8658ee69 docs: 501896415589aa1a0264b0765746d8bdb43bdf42

2024-01-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/nuttx-website.git The following commit(s) were added to refs/heads/asf-site by this push: new d4cc7a01 Publishing web: 69485786

Re: [PR] PoC: allow apps to customize NuttX build time variables [nuttx]

2024-01-24 Thread via GitHub
casaroli commented on PR #11202: URL: https://github.com/apache/nuttx/pull/11202#issuecomment-1909118027 > > I found another shorter solution to the problem and I will push it in a separate draft PR for your evaluation @acassis @xiaoxiang781216 > > @casaroli do you have any update?

Re: [PR] samv7: refactor DAC driver [nuttx]

2024-01-24 Thread via GitHub
michallenc commented on code in PR #11595: URL: https://github.com/apache/nuttx/pull/11595#discussion_r1465590158 ## arch/arm/src/samv7/sam_dac.c: ## @@ -226,15 +226,46 @@ static int dac_interrupt(int irq, void *context, void *arg) static void dac_reset(struct dac_dev_s *dev

Re: [PR] samv7: refactor DAC driver [nuttx]

2024-01-24 Thread via GitHub
michallenc commented on code in PR #11595: URL: https://github.com/apache/nuttx/pull/11595#discussion_r1465587723 ## arch/arm/src/samv7/sam_dac.c: ## @@ -257,7 +288,40 @@ static void dac_reset(struct dac_dev_s *dev) static int dac_setup(struct dac_dev_s *dev) { -#warning "Mi

Re: [PR] samv7: refactor DAC driver [nuttx]

2024-01-24 Thread via GitHub
michallenc commented on code in PR #11595: URL: https://github.com/apache/nuttx/pull/11595#discussion_r1465587383 ## arch/arm/src/samv7/sam_dac.c: ## @@ -257,7 +288,40 @@ static void dac_reset(struct dac_dev_s *dev) static int dac_setup(struct dac_dev_s *dev) { -#warning "Mi

(nuttx-apps) branch master updated: lte/alt1250: Notice instance information

2024-01-24 Thread pkarashchenko
This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git The following commit(s) were added to refs/heads/master by this push: new a16fb23dd lte/alt1250: Notice instanc

Re: [PR] lte/alt1250: Notice instance information [nuttx-apps]

2024-01-24 Thread via GitHub
pkarashchenko merged PR #2266: URL: https://github.com/apache/nuttx-apps/pull/2266 -- 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-unsubscr...@n

Re: [PR] samv7: refactor DAC driver [nuttx]

2024-01-24 Thread via GitHub
pkarashchenko commented on code in PR #11595: URL: https://github.com/apache/nuttx/pull/11595#discussion_r1465501038 ## arch/arm/src/samv7/sam_dac.c: ## @@ -257,7 +288,40 @@ static void dac_reset(struct dac_dev_s *dev) static int dac_setup(struct dac_dev_s *dev) { -#warning

Re: [PR] samv7: refactor DAC driver [nuttx]

2024-01-24 Thread via GitHub
pkarashchenko commented on code in PR #11595: URL: https://github.com/apache/nuttx/pull/11595#discussion_r1465502293 ## arch/arm/src/samv7/sam_dac.c: ## @@ -277,7 +341,43 @@ static int dac_setup(struct dac_dev_s *dev) static void dac_shutdown(struct dac_dev_s *dev) { -#warni

Re: [PR] samv7: refactor DAC driver [nuttx]

2024-01-24 Thread via GitHub
pkarashchenko commented on code in PR #11595: URL: https://github.com/apache/nuttx/pull/11595#discussion_r1465504188 ## arch/arm/src/samv7/sam_dac.c: ## @@ -226,15 +226,46 @@ static int dac_interrupt(int irq, void *context, void *arg) static void dac_reset(struct dac_dev_s *

Re: [PR] samv7: refactor DAC driver [nuttx]

2024-01-24 Thread via GitHub
pkarashchenko commented on code in PR #11595: URL: https://github.com/apache/nuttx/pull/11595#discussion_r1465501430 ## arch/arm/src/samv7/sam_dac.c: ## @@ -226,15 +226,46 @@ static int dac_interrupt(int irq, void *context, void *arg) static void dac_reset(struct dac_dev_s *

Re: [PR] Cmake set NUTTX variable [nuttx]

2024-01-24 Thread via GitHub
leducp commented on code in PR #11415: URL: https://github.com/apache/nuttx/pull/11415#discussion_r1465281608 ## tools/toolchain.cmake.export: ## @@ -1,5 +1,6 @@ set(CMAKE_SYSTEM_NAME Generic) set(CMAKE_SYSTEM_VERSION 1) +set(NUTTX 1) Review Comment: I think full uppercase

Re: [I] STM32H7 SPI DMA: Invalidate Dcache Timing Wrong [nuttx]

2024-01-24 Thread via GitHub
alandeassis commented on issue #11594: URL: https://github.com/apache/nuttx/issues/11594#issuecomment-1908452433 @dmammolo I understand, but you don't need to share all the modifications, just the minimum to help people to identify the issue. Also if you can reproduce the issue in some comm

Re: [I] how to support ptp [nuttx]

2024-01-24 Thread via GitHub
PetteriAimonen commented on issue #10887: URL: https://github.com/apache/nuttx/issues/10887#issuecomment-1908322541 No, I haven't seen errors anywhere near that magnitude. I assume you are using latest ptpd from the nuttx-apps repo? Can you try enabling `CONFIG_NETUTILS_PTPD_DEBUG`

(nuttx) branch master updated: rpmsgfs: decoupling rpmsgfs server and rpmsg virtio.

2024-01-24 Thread xiaoxiang
This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new 5018964155 rpmsgfs: decoupling rpmsgfs server

Re: [PR] rpmsgfs: decoupling rpmsgfs server and rpmsg virtio. [nuttx]

2024-01-24 Thread via GitHub
xiaoxiang781216 merged PR #11591: URL: https://github.com/apache/nuttx/pull/11591 -- 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-unsubscr...@nu

Re: [I] STM32H7 SPI DMA: Invalidate Dcache Timing Wrong [nuttx]

2024-01-24 Thread via GitHub
davids5 commented on issue #11594: URL: https://github.com/apache/nuttx/issues/11594#issuecomment-1908274074 > invalidating triggers a sync of the the SRAM to Dcache memory No it is not like that. The invalidate makes the cache lines invalid so the next read will be out to memory (not

Re: [I] STM32H7 SPI DMA: Invalidate Dcache Timing Wrong [nuttx]

2024-01-24 Thread via GitHub
dmammolo commented on issue #11594: URL: https://github.com/apache/nuttx/issues/11594#issuecomment-1908246967 @davids5 regarding the diff to the PX4 version (mutex instead of semaphore) are you talking about this part of the code: https://github.com/PX4/PX4-Autopilot/blob/da28d9a7f2c9d66

Re: [I] STM32H7 SPI DMA: Invalidate Dcache Timing Wrong [nuttx]

2024-01-24 Thread via GitHub
alandeassis commented on issue #11594: URL: https://github.com/apache/nuttx/issues/11594#issuecomment-1908187006 Pinging @jlaitine for awareness! @dmammolo thank you for your deep investigation! Is it possible to reproduce the issue using the spitool app? Maybe just connecting MOSI to

Re: [I] STM32H7 SPI DMA: Invalidate Dcache Timing Wrong [nuttx]

2024-01-24 Thread via GitHub
davids5 commented on issue #11594: URL: https://github.com/apache/nuttx/issues/11594#issuecomment-1908155621 @dmammolo I can tell you that the version of the H7 spi driver in PX4 is working (the diff is minimal: semaphore to mutex). I am not sure of your use case and if it differs from

[PR] samv7: refactor DAC driver [nuttx]

2024-01-24 Thread via GitHub
michallenc opened a new pull request, #11595: URL: https://github.com/apache/nuttx/pull/11595 ## Summary This commit refactors DAC driver. The functionality remains the same but driver start up is now done in dac_setup (after application called open function) instead of sam_dac_initializ

(nuttx) branch master updated: bcmf_driver:wlan interface status reset by unsolicited wpa packet

2024-01-24 Thread archer
This is an automated email from the ASF dual-hosted git repository. archer pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git The following commit(s) were added to refs/heads/master by this push: new cefb170ea7 bcmf_driver:wlan interface status rese

Re: [PR] bcmf_driver:wlan interface status reset by unsolicited wpa packet [nuttx]

2024-01-24 Thread via GitHub
anchao merged PR #11592: URL: https://github.com/apache/nuttx/pull/11592 -- 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-unsubscr...@nuttx.apach

Re: [I] STM32H7 SPI DMA: Invalidate Dcache Timing Wrong [nuttx]

2024-01-24 Thread via GitHub
dmammolo commented on issue #11594: URL: https://github.com/apache/nuttx/issues/11594#issuecomment-1907825793 @davids5 interested to hear from you what you think? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[I] STM32H7 SPI DMA: Invalidate Dcache Timing Wrong [nuttx]

2024-01-24 Thread via GitHub
dmammolo opened a new issue, #11594: URL: https://github.com/apache/nuttx/issues/11594 I am observing issues on the SPI interface using IMUs (BMI055 and ICM40688-P) on a pix32v6 (STM32H7 with both IMUs on SPI1). All IMUs use the `spi_exchange()` function to send a command and read back t

Re: [PR] Bring up changes from nuttx/pci branch (2nd attempt) [nuttx]

2024-01-24 Thread via GitHub
raiden00pl commented on code in PR #11583: URL: https://github.com/apache/nuttx/pull/11583#discussion_r1464548897 ## drivers/pci/Make.defs: ## @@ -0,0 +1,32 @@ + +# drivers/pci/Make.defs Review Comment:

Re: [I] how to support ptp [nuttx]

2024-01-24 Thread via GitHub
xiaotailang commented on issue #10887: URL: https://github.com/apache/nuttx/issues/10887#issuecomment-1907668507 I obtain timestamps from the registers rdes2 and rdes3. After initializing the descriptors, I backup the buffer addresses they point to. In the function responsible for receiving

Re: [I] posix signal use [nuttx]

2024-01-24 Thread via GitHub
xiaotailang commented on issue #11532: URL: https://github.com/apache/nuttx/issues/11532#issuecomment-1907657272 Hi@alandeassis,The values of the two signals sig_usr1 and sig_usr2. I made a mistake in writing one of them, which caused a problem. I tested using the system default values and