Re:Article: PinePhone boots NuttX

2022-08-28 Thread fft
wow! is so cool, i can't wait to buy a pinephone and join with you! -- Original -- From:  "Lee, Lup Yuen"https://lupyuen.github.io/articles/uboot Lup

Re:[VOTE] Apache NuttX 10.3.0 (incubating) RC3 release

2022-06-07 Thread fft
Hi I notice that 10.3.0 RC3 doesn't include PR#5930, so anyone who use segger RTT in armv7m, there will a compile error of can't find the SEGGER_RTT_Conf.h May this be included? Best Regards zouboan -- Original -- From:  "Alin Jerpelea"https://dist.apache.org/re

Re: The real-time performance of nuttx

2022-04-08 Thread fft
--- Original -- From:  "raiden00pl"https://github.com/apache/incubator-nuttx/pull/5964 To enable ISR logging CONFIG_SCHED_INSTRUMENTATION_IRQHANDLER=y. In order to avoid the buffer overflow, I also recommend increasing CONFIG_SEGGER_SYSVIEW_RTT_BUFFER_SIZE pt., 8 kwi 2022 o 18:52 fft

Re: The real-time performance of nuttx

2022-04-08 Thread fft
Hi Mateusz, Now i can use SystemView to monitor the create of task and thread, but there's no time sequence diagram in Timeline of SystemView, and there's no ISR info in event window of SystemView, maybe there's some issue of RTT config on my nuttx. Thank you very much if you would like share

Re: The real-time performance of nuttx

2022-04-04 Thread fft
Hello Mateusz, I have tried to remove USB CDCACM RX thread, and the problem is remains, so the USB CDCACM RX thread do not related to the problem. the latest measure result is as follows: FOC control thread executed time 48~58us and sometimes 68us FOC control thread execute period is 104~124us

Re: The real-time performance of nuttx

2022-04-03 Thread fft
002024 001436  70.9%  nsh_main        3 3 150 RR   Task    --- Waiting  Signal    002008 001000  49.8%  foc task foc task of fft        6 3 255 RR   pthread --- Waiting  Signal    004096 001140  27.8%  pt-0x801b679 0x20005bd8         

Re: The real-time performance of nuttx

2022-04-03 Thread fft
Hello Nathan, Thanks for your suggestion, is a good idea to use Zero Latency Interrupt, but then I can't use the FOC driver by great works of Mateusz, I will check the critical section of driver i used. Best regard Zou -- Original -- From:  "Nathan Hartman"ht

The real-time performance of nuttx

2022-04-03 Thread fft
sorry, the picture of last email was lost! Hi team: I've been puzzled by a strange problem for a long time, when i use FOC motor control. It seems that the FOC control thread failed to be scheduled in real time. The code structure of ./apps/examples/foc/foc_float_thr.c can be simplified des

The real-time performance of nuttx

2022-04-03 Thread fft
Hi team: I've been puzzled by a strange problem for a long time, when i use FOC motor control. It seems that the FOC control thread failed to be scheduled in real time. The code structure of ./apps/examples/foc/foc_float_thr.c can be simplified description is as follows:   while (motor.mq.

Re: usleep can't wake up incidentally in tickless mode

2022-03-28 Thread fft
Hi Alan, I'm tried enable the CONFIG_PRIORITY_INHERITANCE and the problem remains, thanks for your reply Best regard Zou    -- Original -- From:  "Alan Carvalho de Assis"

usleep can't wake up incidentally in tickless mode

2022-03-26 Thread fft
Hi team, I've been puzzled by a strange problem for a long time, when i use tickless OS mode on stm32f405, usleep can't wake up incidentally. My config about tickless OS mode as shown below: CONFIG_ARCH_HAVE_TICKLESS=y CONFIG_SCHED_TICKLESS=y # CONFIG_SCHED_TICKLESS_ALARM is not set # CONFIG_

Re: Error when building custom board

2022-03-16 Thread fft
M)board) after you rename src/Make.defs to src/Makefile. Anyway if not that should not give any harm. Best regards, Petro нд, 13 бер. 2022 р. о 02:04 fft https://github.com/apache/incubator-nuttx/pull/5712 unifies board > common logic usage under a single option ARCH_BOARD_COMMON that is > in

Re: Error when building custom board

2022-03-12 Thread fft
. Best regards, Petro сб, 12 бер. 2022 р. о 16:10 fft https://github.com/apache/incubator-nuttx/pull/5712, there's a error when building my custom board: > > > make[1]: Entering directory '/home/zouboan/G/NuttX/nuttx/arch/arm/src' > make[2]: Entering directory '

Re: Error when building custom board

2022-03-12 Thread fft
Hello Petro, After https://github.com/apache/incubator-nuttx/pull/5712, there's a error when building my custom board: make[1]: Entering directory '/home/zouboan/G/NuttX/nuttx/arch/arm/src' make[2]: Entering directory '/home/zouboan/G/NuttX/fft/fft-f405/src' mak

Re: HEAD detached at pull/5404/merge

2022-02-03 Thread fft
yes,the problem finely solved In Abdelatif's way, and thank you very much Alan!     -- Original -- From:  "Alan Carvalho de Assis"https://github.com/apache/incubator-nuttx/runs/5049376192?check_suite_focus=true > > >  Configuration/Tool: xx3803/nsh > > > ---

HEAD detached at pull/5404/merge

2022-02-03 Thread fft
Hi team's I meet a strange cibuild problem when i do a PR to enable sparc's daily ci in tools/ci/testlist/other.dat, the build of xx3803/nsh seem's succed,but when Normalize xx3803/nsh,there is a:"HEAD detached at pull/5404/merge" I'm confused,and who can remind me why this result? thanks! https

Re: enable the excute of install_tools in cibuild.sh

2022-02-02 Thread fft
de: 64   -- Original -- From:  "Brennan Ashton"https://github.com/apache/incubator-nuttx/blob/master/tools/ci/docker/linux/Dockerfile > > > On Tue, Feb 1, 2022, 11:37 PM fft https://github.com/apache/incubator-nuttx/runs/5032993342?check_suite_focus=

Re: enable the excute of install_tools in cibuild.sh

2022-02-02 Thread fft
thanks??let me try! ---Original--- From: "Brennan Ashton"https://github.com/apache/incubator-nuttx/blob/master/tools/ci/docker/linux/Dockerfile > > > On Tue, Feb 1, 2022, 11:37 PM fft https://github.com/apache/incubator-nuttx/runs/5032993342?check_suite_focus=true > &

Re: enable the excute of install_tools in cibuild.sh

2022-02-02 Thread fft
ttps://github.com/apache/incubator-nuttx/blob/master/tools/ci/docker/linux/Dockerfile On Tue, Feb 1, 2022, 11:37 PM fft https://github.com/apache/incubator-nuttx/runs/5032993342?check_suite_focus=true > > how solve this problem? > Best regards, > Zou

enable the excute of install_tools in cibuild.sh

2022-02-01 Thread fft
Hi team's I'm try to add sparc to the daily ci,I add code to tools/ci/cibuild.sh and  tools/ci/testlist/other.dat,but when i start  pull requests,there's ci check error,beacuse "install_tools" function was not executed,what resulte the build of xx3803:nsh can't find sparc-gaisler-elf-gcc,to sol

bug of frexpf function or not?

2022-01-21 Thread fft
Hi team's I was troubled by a strange problem whole day,and at last,i found is about the nuttx math lib function float frexpf(float x, int *exponent),when the input x is postive, there is no problem,but when the input x is negative,the result is wrong! I tested with inpu x=60 and x=-60: x = 60; 

Re: Support of SPARC architecture

2022-01-15 Thread fft
but your files with issues will return hints explaining which line you need to modify. BR, Alan On 1/15/22, fft https://www.gaisler.com/index.php/products/processors > > > > BTW the chip of AT697F of ESA(European Space > > Agency) is also based on LEON 2 see: > &g

Re: Support of SPARC architecture

2022-01-14 Thread fft
I have commit code to add SPARC support    -- Original -- From:  "Alan Carvalho de Assis"https://www.gaisler.com/index.php/products/processors > > BTW the chip of AT697F of ESA(European Space > Agency) is also based on LEON 2 see: > > https://amstel.estec.esa.int/te

Support of SPARC architecture

2022-01-12 Thread fft
Sorry, there is something wrong with the coding of the previous email Hi, Teams Two years ago, we tried to use NuttX on satellites, and I started the work to porting nuttx to BM3803,  a SPARC V8 architecture chip manufactured by BMTI(Beijing Microelectronics Technology Institute) which

Support of SPARC architecture

2022-01-12 Thread fft
Hi, Teams Two years ago, we tried to use NuttX on satellites, and I started the work to porting nuttx to BM3803,  a SPARC V8 architecture chip manufactured by BMTI(Beijing Microelectronics Technology Institute) which is based on open source CPU coreLEON 2  released by Cobham Gaisler.