Re: milk-V DUO s

2024-09-19 Thread Alan C. Assis
On Wed, Sep 18, 2024 at 1:06 PM Tomek CEDRO wrote: > On Wed, Sep 18, 2024 at 6:01 PM wrote: > > Maybe we could ask vendor if they can switch the license?? :-) > > Yes, that should be the right approach! BR, Alan

Re: milk-V DUO s

2024-09-18 Thread Alan C. Assis
use this to create the NuttX Driver: > https://github.com/radxa-pkg/aic8800 > > Lup > > On Wed, Sep 18, 2024 at 8:46 PM Alan C. Assis wrote: > > > Hi Miguel, > > > > Only basic support to boot NuttX on the board at the moment, many drivers > > are still missi

Re: milk-V DUO s

2024-09-18 Thread Alan C. Assis
cles/sg2000a.html > > "RISC-V Emulator for Sophgo SG2000 SoC (Pine64 Oz64 / Milk-V Duo S)" > https://lupyuen.codeberg.page/articles/sg2000b.html > > Lup > > On Wed, Sep 18, 2024 at 3:21 AM Alan C. Assis wrote: > > > Hi Miguel, > > > > Yes,

Re: milk-V DUO s

2024-09-17 Thread Alan C. Assis
Hi Miguel, Yes, Mr. Lup ported NuttX to Milk-V Duo S board. It is already included in the mainline. BR, Alan On Tue, Sep 17, 2024 at 3:46 PM MIGUEL ALEXANDRE WISINTAINER < tcpipc...@hotmail.com> wrote: > Hi alan > > Nuttx runs on Milk-v DUO S ? > >

Re: NuttX RTOS inclusion

2024-09-17 Thread Alan C. Assis
. Though it has grown a bit since then... > > The eventual plan is to create a website + wiki for littlefs, and move > these related project links there. At that point it'd be easier to include > links to RTOSs since it wouldn't trigger a littlefs patch release on every > read

Re: GSoC Final Report on mnemofs

2024-09-13 Thread Alan C. Assis
rollable errors in > order to verify various nand drivers, filesystems, etc? > > :-) > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > On Fri, Sep 13, 2024, 14:52 Alan C. Assis wrote: > > > Hi Sebastien, > > > > Thank you for your helpful consideration

Re: GSoC Final Report on mnemofs

2024-09-13 Thread Alan C. Assis
Hi Sebastien, Thank you for your helpful considerations. As I explained before he used the SIM NAND Simulator that he created and integrated on NuttX. Also as I explained in my previous email, we need help to test in real hardware. Since you have previous experience with NAND Flash, maybe you c

Re: GSoC Final Report on mnemofs

2024-09-12 Thread Alan C. Assis
Hi Saurav, Congratulations for your great work! Everyone, please take a look at Saurav report and if you can: run the mnemofs SIM NAND example. Now we need to test it in a real device (we don't have any NAND driver yet), maybe we can start using MnemoFS with SPI NOR Flash. Any help is appreciat

Re: Help need to understand Nuttx build process

2024-09-07 Thread Alan C. Assis
Hi Greg, Could you please send me the files, I can work on that. BR, Alan On Sat, Sep 7, 2024 at 11:45 AM Gregory Nutt wrote: > On 9/6/2024 5:46 AM, Nathan Hartman wrote: > > On Fri, Sep 6, 2024 at 3:11 AM raiden00pl wrote: > > > >>> I ported some of them a while back and other people ported

Re: ESP32 - How use SPI Slave

2024-08-28 Thread Alan C. Assis
Hi Tomek, As you can see in the signal wave screenshots, he is using 100Hz, which is already too slow for SPI. BR, Alan On Wed, Aug 28, 2024 at 12:15 PM Tomek CEDRO wrote: > are you sure that clock rising/falling edges are configured correctly for > mosi/miso read/write requirements? > > have

Re: RP2350 port

2024-08-27 Thread Alan C. Assis
Actually inside drivers/ are supposed to have only generic drivers (upper half drivers that work with all chips). Please don't use drivers/ for arch specific drivers, that is not the way NuttX is supposed to be. Today we don't have a simple way to share arch drivers, as you can see for each stm32

Re: Issues while reading data from shared flash memory using littlefs in nuttx

2024-08-25 Thread Alan C. Assis
Hi Sangam, Please let me confirm I understood it correctly: you are using a dual core MCU running NuttX in a core and baremetal in another core and using the same flash shared with both systems, correct? I don't know if someone has tried this idea before, but it seems very dangerous, because both

Re: How enable "traces" for debug purpose ?

2024-08-20 Thread Alan C. Assis
Hi Felipe, Open include/debug.h and search for ctlsinfo or ctlserr and you will find the symbol you need to enable (CONFIG_DEBUG_CONTACTLESS_xxx) Then run: "make menuconfig" and search for (press "/") CONFIG_DEBUG_CONTACTLESS and you will find where to enable it. Best Regards, Alan On Mon, Aug

Re: [Article] Early Days of Rust Apps on NuttX

2024-08-19 Thread Alan C. Assis
Congratulations Lup and Rushabh Gala!!! BR, Alan On Mon, Aug 19, 2024 at 5:34 AM Lee, Lup Yuen wrote: > My student Rushabh Gala has just completed his project for Google Summer of > Code, on creating Safer Rust Apps for NuttX. > > In this article we walk through Rushabh’s contributions, and un

Re: Doubt about Device Driver Implementation

2024-08-15 Thread Alan C. Assis
Hi Felipe, I think these changes are fine to make the code more robust and to avoid getting stuck in the while() loop. You can use a timeout similar to used at lines 355 - 381. BTW, if you are stuck at that while() chances are there are still some issues on your SPI communication or board config

Re: smp on pico rp2040

2024-08-09 Thread Alan C. Assis
Hi Bill, There is not a usbsmp or smpusb board profile as Greg said, but you can create one this way: First configure the usbnsh board profile: $ ./tools/configure.sh raspberrypi-pico:usbnsh Compile: (you will need to export to PICO SDK, it is documented in our site https://nuttx.apache.org/docs

Re: Help us to create a distributed board testing farm

2024-08-09 Thread Alan C. Assis
Yes, I think by default ostest should only print SUCCESS, FAIL or SKIPPED. And in case of failure it could print the error message to quick understanding of the issue. For hardware testing something we can use is a 16-ports USB HUB with individual port power controlled by uhubctl ( https://github.

Re: Compiling NuttX with system stdlib instead of custom stdlib

2024-08-02 Thread Alan C. Assis
Hi Ritvik, I think currently we don't have a "drop-in" replacement for NuttX libc with external libc like musl and others, but it is something easy to do with existing configuration: Look at libs/libc/machine/Kconfig after line 47 you can define that your ARCH has its own libc function. In fact

Re: Not a bug report!

2024-07-26 Thread Alan C. Assis
Added as CC new An Chao email (from hotmail). On Fri, Jul 26, 2024 at 5:17 PM Alan C. Assis wrote: > Hi Lwazi, > > On Fri, Jul 26, 2024 at 4:12 PM Lwazi Dube wrote: > >> On Mon, 15 Jul 2024 at 14:30, Alan C. Assis wrote: >> >> > Hi David, >> > >&

Re: Not a bug report!

2024-07-26 Thread Alan C. Assis
Hi Lwazi, On Fri, Jul 26, 2024 at 4:12 PM Lwazi Dube wrote: > On Mon, 15 Jul 2024 at 14:30, Alan C. Assis wrote: > > > Hi David, > > > > A quick way to test on your board is using version 10.2.0 while we fix > the > > issue: > > > > https://nuttx.

Re: Guides for understanding the kernel

2024-07-25 Thread Alan C. Assis
Hi Nathan, Good point, although his port is not for a new architecture, there are a low of useful information that could help Matteo in his test. BR, Alan On Thu, Jul 25, 2024 at 10:34 AM Nathan Hartman wrote: > Hi Matteo, > > The blog of Lup Yuen LEE is a very valuable resource. Lup did a po

Re: [VOTE] Apache NuttX 12.6.0 RC1 release

2024-07-25 Thread Alan C. Assis
Hi Roberto, What toolchain did you use? Please include it as Mr Lup did in previous email. BR, Alan On Thu, Jul 25, 2024 at 5:28 AM Roberto Bucher wrote: > +1 > > Tested on nucleo-h745ZI-Q, nucleo-H743ZI2 and nucleo-F746ZG > > In addition I've generated code fusing pysimCoder for a nucleo-F7

Re: Guides for understanding the kernel

2024-07-25 Thread Alan C. Assis
Hi Matteo, I don't know if the guide you are reading is this same: https://cwiki.apache.org/confluence/display/NUTTX/Porting+Guide There is a lot of documentation that we need to move to our official page. After creating the arch hardware header files I think you can start the start C file with

Re: Re: Github Issue Labels

2024-07-22 Thread Alan C. Assis
's do it! Do you wanna create an issue to > > create this github issue template? > > Best, > > Daniel > > > > On Mon, Jul 22, 2024 at 1:25 PM Alan C. Assis wrote: > > > > > Hi Daniel, > > > > > > My idea is that the committers cre

Re: Re: Github Issue Labels

2024-07-22 Thread Alan C. Assis
e? > Best, > Daniel > > On Mon, Jul 22, 2024 at 1:25 PM Alan C. Assis wrote: > > > Hi Daniel, > > > > My idea is that the committers create the listing of labels and the > > template. > > > > So, when someone is going to open an Issue he/she

Re: Re: Github Issue Labels

2024-07-22 Thread Alan C. Assis
we retain the ability to > filter issues when searching based on the label field. > Best, > Daniel > > > On Mon, Jul 22, 2024 at 10:55 AM Alan C. Assis wrote: > > > Hi Daniel, > > > > I think all committers have the rights to create it. > > > >

Re: Re: Github Issue Labels

2024-07-22 Thread Alan C. Assis
t; > > > > > Here is how  > > > https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository > > > > > > Regards, > > yf > > > > > > >

Re: Re: Github Issue Labels

2024-07-22 Thread Alan C. Assis
-for-your-repository > > > Regards, > yf > > > > Original > > > > From:"Alan C. Assis"< acas...@gmail.com >; > > Date:2024/7/21 20:17 > > To:"daniel.appiagyei"< daniel.appiag...@braincorp.com.invalid >; > > CC:"d

Re: basically, I get an error when I do make

2024-07-21 Thread Alan C. Assis
.. > wrote: > > > > hello, i'm happy you resolved the issue and that you also helped me > > progress in my projects ! > > have a nice day. > > > > Justin Linotte > > > > Le 19-07-24 à 23:48, Alan C. Assis a écrit : > > > PR

Re: Github Issue Labels

2024-07-21 Thread Alan C. Assis
Arggg, I need to wake up and take coffee before typing an email, hehehe Should be: Is there some way to create a template with checkboxes when opening an Issue? It could help when users create a new issue. BR, Alan On Sun, Jul 21, 2024 at 9:15 AM Alan C. Assis wrote: > Totally ag

Re: Github Issue Labels

2024-07-21 Thread Alan C. Assis
Totally agree! Yes there some way to create a template with checkboxes when opening an Issue? It could help when users create a new issue. BR, Alan On Sat, Jul 20, 2024 at 8:58 PM Daniel Appiagyei wrote: > Hi, > Is anyone opposed to: > - creating more specific github issue labels, > - encoura

Re: basically, I get an error when I do make

2024-07-19 Thread Alan C. Assis
PR submitted: https://github.com/apache/nuttx/pull/12736 Thank you Justin for finding this issue!!! You helped to improve our system! BR, Alan On Fri, Jul 19, 2024 at 6:21 PM Alan C. Assis wrote: > Hi Justin, > > I was assuming you were planning to run it from "nsh>"

Re: basically, I get an error when I do make

2024-07-19 Thread Alan C. Assis
ol info[/] Jump to symbol > [F] Toggle show-help mode [C] Toggle show-name mode [A] Toggle > show-all mode > [Q] Quit (prompts for save) [D] Save minimal config (advanced) > > Thanks you in advance, > Justin Linotte > > Le 18-07-24 à 20:52, Alan C. Assis a écrit : &g

Re: Help us to create a distributed board testing farm

2024-07-19 Thread Alan C. Assis
hich could be used to report > a pass fail status? This could then be presented on the NuttX github > landing page, or somewhere similar. > > The litex project with NuttX can be seen here: > https://github.com/enjoy-digital/litex_hw_ci > > On Fri, 19 Jul 2024 at 07:52, Alan C

Re: Help us to create a distributed board testing farm

2024-07-18 Thread Alan C. Assis
anded and developed separately from such automated > testing solution. > > Finally there could be a very simple website that board maintainers could > automatically upload results of tests using some previously received > tokens. > > Am Do., 18. Juli 2024 um 22:12 Uhr schrieb Al

Re: Help us to create a distributed board testing farm

2024-07-18 Thread Alan C. Assis
t we support and maintain much > less boards, and test them only before releases. > > We started to work on something which can be related and seems like a good > collaboration opportunity. I will write about it tomorrow. > > Regards, > Gabor > > On Thu, Jul 18, 2024, 22:

Re: Help us to create a distributed board testing farm

2024-07-18 Thread Alan C. Assis
://vcon.io/automated-firmware-tests/ BR, Alan On Thu, Jul 18, 2024 at 5:25 PM wrote: > Hi > On 2024-07-18 16:14:20, Alan C. Assis wrote: > > We are creating a testing farm for NuttX to be integrated on our CI. > How is this going to work? Since, this seems like, tests will be conduc

Re: Help us to create a distributed board testing farm

2024-07-18 Thread Alan C. Assis
, Alan On Thu, Jul 18, 2024 at 5:03 PM Gábor Kiss-Vámosi wrote: > Hi, > > In practice will it be manual testing by humans, or can you run some tests > automatically and remotely? > > On Thu, Jul 18, 2024, 21:50 Alan C. Assis wrote: > > > Actually I shared it publi

Re: Help us to create a distributed board testing farm

2024-07-18 Thread Alan C. Assis
> Ken > > On 7/18/24 12:14 PM, Alan C. Assis wrote: > > Hi Everyone, > > > > We are creating a testing farm for NuttX to be integrated on our CI. > > > > As you know, NuttX supports more than 300 boards and we need to test all > > boards everytime some

Re: Help us to create a distributed board testing farm

2024-07-18 Thread Alan C. Assis
Only my bad English, sometimes I try to do some direct translation, without paying attention to the grammar rules. "So let's map out which people have which development board". BR, Alan On Thu, Jul 18, 2024 at 4:14 PM Alan C. Assis wrote: > Hi Everyone, > > We are cre

Help us to create a distributed board testing farm

2024-07-18 Thread Alan C. Assis
Hi Everyone, We are creating a testing farm for NuttX to be integrated on our CI. As you know, NuttX supports more than 300 boards and we need to test all boards everytime someone modifies our code base. So, let's to map each person have each board, please include your name in the front of each

Re: basically, I get an error when I do make

2024-07-18 Thread Alan C. Assis
I will try to attach the file here, if the previous link doesn't work, since that tar.gz file is less than 1KB I think it will attach fine. Just rename CustomApps.txt to CustomApps.tar.gz and extract it. BR, Alan On Thu, Jul 18, 2024 at 3:52 PM Alan C. Assis wrote: > Hi Linotte, &g

Re: basically, I get an error when I do make

2024-07-18 Thread Alan C. Assis
Hi Linotte, Thanks for testing our tutorials, it is important to validate and find issues. I followed the tutorial here (this is the first time I do it) and it worked fine (although copying the text from page removes the comments #) I compressed by CustomApps and shared it: https://u.pcloud.lin

Re: Not a bug report!

2024-07-15 Thread Alan C. Assis
. BR, Alan On Mon, Jul 15, 2024 at 12:47 PM Alan C. Assis wrote: > Hi David, > > I'm happy to hear your kind words, I'm sorry to disappoint you, but > LPC2378 was broken feel years ago, see: > > https://github.com/apache/nuttx/issues/8966 > > I did git bisect and

Re: Adding support for NuttX in Rust

2024-07-15 Thread Alan C. Assis
Hi Huang Qi, Amazing work! Yes, that is something we definitely need! I remember that two years ago, we had a presentation from the Rustix author and he commented that the way we were creating that "glue" was not right. BR, Alan On Mon, Jul 15, 2024 at 12:24 PM Qi3 Huang 黄齐 wrote: > Hello ev

Re: Not a bug report!

2024-07-15 Thread Alan C. Assis
Hi David, I'm happy to hear your kind words, I'm sorry to disappoint you, but LPC2378 was broken feel years ago, see: https://github.com/apache/nuttx/issues/8966 I did git bisect and found the root causes of the issue, but I didn't work yet with Anchao to fix it. If you really want to use LPC23

Re: Using const in function arguments.

2024-07-12 Thread Alan C. Assis
Hi Saurav, I don't know why it is not much used, maybe Greg or Xiang have some idea. I think the most common use of const for variables that you want to keep in flash to avoid keeping it in RAM (to save RAM space for MCU with low RAM memory). The side effect on this case is Flash access is slowe

Re: Please recommend NuttX

2024-07-11 Thread Alan C. Assis
Thank you Michal, I just updated my comment and I reminded him that everytime we ask for help from RISCV they help us. BR, Alan On Thu, Jul 11, 2024 at 6:30 AM wrote: > On 2024-07-11 06:19:55, Alan C. Assis wrote: > > I wasn't expecting anything different from ARM:

Re: Please recommend NuttX

2024-07-11 Thread Alan C. Assis
Good idea! Thank you Gábor! On Thu, Jul 11, 2024 at 6:30 AM Gábor Kiss-Vámosi wrote: > At least you can add a link to NuttX in your comment. > > Gabor > > Alan C. Assis ezt írta (időpont: 2024. júl. 11., Cs, > 11:20): > > > I wasn't expecting anything d

Re: Please recommend NuttX

2024-07-11 Thread Alan C. Assis
I wasn't expecting anything different from ARM: https://forums.mbed.com/t/important-update-on-mbed-end-of-life/23644/3 This is why I think RISC-V will win! BR, Alan On Wed, Jul 10, 2024 at 6:34 PM Alan C. Assis wrote: > Dear NuttXers, > > Just as you were talking about NuttX

Please recommend NuttX

2024-07-10 Thread Alan C. Assis
Dear NuttXers, Just as you were talking about NuttX awareness, see that: https://forums.mbed.com/t/important-update-on-mbed-end-of-life/23644 They recommended FreeRTOS and Zephyr (no surprise here), but no reference to NuttX. Please help us to get awareness about NuttX. If you don't want to wr

Re: Improving NuttX Awareness

2024-07-10 Thread Alan C. Assis
g a Reddit community? It's a nice forum for > discussion and very easily searchable on Google. That would help in > accumulating solutions to common difficulties people encounter. > > On Tue, Jul 9, 2024, 4:20 PM Alan C. Assis wrote: > > > I used a "tutorial" / do

Industrial PLC powered by NuttX RTOS

2024-07-09 Thread Alan C. Assis
Dear NuttXers, Talking about NuttX promotion, I just discovered that a Spanish company released a PLC with NuttX support: https://www.industrialshields.com/blog/arduino-industrial-1/first-steps-with-apache-nuttx-rtos-and-esp32-plc-571 Please "start spreading the NuttX" in your social networks ;-

NuttX RTOS inclusion

2024-07-09 Thread Alan C. Assis
Hi Christopher, How are you doing? I hope you are fine. I was looking at the "Related projects" page and noticed there is no reference to Apache NuttX RTOS. As you know, NuttX has supported littlefs since 2019-01-09. Could you please include us in your listing? :-) Thank you very much in advan

Re: Improving NuttX Awareness

2024-07-09 Thread Alan C. Assis
o do it. Based on that hint people should see > themselves how it was done. > > It's somewhat similar with the docs too. The details should be for power > users, but I'd like to get started on an okay level by reading one-two > paragraphs. 🙂 > > Gabor > > On T

Re: Improving NuttX Awareness

2024-07-09 Thread Alan C. Assis
rienced NuttX user, so I might be a good example new user. > If it helps I can try setting up a project for unix and collect where I > felt puzzled about what to do next. > > > Regards, > > Gabor > > > > > > On Tue, Jul 9, 2024, 19:55 Alan C. Assis wrote: >

Re: Improving NuttX Awareness

2024-07-09 Thread Alan C. Assis
Alan https://www.youtube.com/watch?v=xFeQVtbyKyQ On Tue, Jul 9, 2024 at 2:28 PM Alan C. Assis wrote: > Hi Everyone, > > Let's get help from AI to improve the situation: > > To increase visibility and adoption of NuttX RTOS, here are some planned > strategies that can be re

Re: How to demystify some myths about NuttX

2024-07-09 Thread Alan C. Assis
Hi Michal On Tue, Jul 9, 2024 at 12:08 PM wrote: > On 2024-07-09 09:49:16, Alan C. Assis wrote: > > I think many people outside our community have a misconception about > NuttX: > > They think it is a Linux/Unix RTOS that needs to have a shell integrated > > into i

Re: How to improve/simplify NuttX initialization processes?

2024-07-09 Thread Alan C. Assis
INIT 3 - BOARD_EARLY_INITIALIZE 4 - BOARD_LATE_INITIALIZE 5 - BOARDCTL INIT 6 - INITRC SCRIPT I am sure I missed other methods, please let me know. BR, Alan On Tue, Jul 9, 2024 at 10:06 AM Alan C. Assis wrote: > Hi Everyone, > > I decided to bring it from here:https://github.com/apache/nu

Re: How to demystify some myths about NuttX

2024-07-09 Thread Alan C. Assis
Sorry Nathan, Actually it was Philippe that replied to the incorrect thread :-) BR, Alan On Tue, Jul 9, 2024 at 11:29 AM Alan C. Assis wrote: > Thank you for this great feedback Philippe, but I think it should be at > other thread: > > How to improve/simplify NuttX initializati

Re: How to demystify some myths about NuttX

2024-07-09 Thread Alan C. Assis
gt; * Prove board starts up > * Interactively debug/diagnose/test your board > * Useful for development of NuttX itself > > Cheers, > Nathan > > On Tue, Jul 9, 2024 at 8:49 AM Alan C. Assis wrote: > > > Dear NuttXers, > > > > I think many people out

How to improve/simplify NuttX initialization processes?

2024-07-09 Thread Alan C. Assis
Hi Everyone, I decided to bring it from here:https://github.com/apache/nuttx/pull/12641 to improve our discussion. Historically NuttX has many initialization options and not a unified initialization process. NSH for example has its own and exclusive NSH ARCH INIT (because naturally it has more t

How to demystify some myths about NuttX

2024-07-09 Thread Alan C. Assis
Dear NuttXers, I think many people outside our community have a misconception about NuttX: They think it is a Linux/Unix RTOS that needs to have a shell integrated into it. Note that all boards are required to have a "nsh" board profile, it was a suggestion/requirement to confirm that the system

Re: Fwd: Rust Integration in Apache NuttX Apps: GSoC 2024 Mid-Term Recap

2024-07-08 Thread Alan C. Assis
He converted a GPIO example to Rust, it will not replace anything... Just like CMakefiles, you choose what to use. BR, Alan On Mon, Jul 8, 2024 at 3:24 PM Nathan Hartman wrote: > On Mon, Jul 8, 2024 at 1:22 PM Alan C. Assis wrote: > > > Hi Sebastien, > > > > You ar

Re: Fwd: Rust Integration in Apache NuttX Apps: GSoC 2024 Mid-Term Recap

2024-07-08 Thread Alan C. Assis
Hi Sebastien, You are jumping to conclusions: converting C to Rust doesn't mean kernel code will be converted, it means Applications code conversion! You were very vocal against CMake and Device Tree too, but they arrived in the project and it is important to the project evolution. If you don't

Re: [OT] Moving to a RTOS on the RP2040

2024-07-07 Thread Alan C. Assis
se submit a fix. BR, Alan On Sun, Jul 7, 2024 at 9:19 AM Gregory Nutt wrote: > > On 7/7/2024 6:05 AM, Alan C. Assis wrote: > > I was thinking about an idea to include some #ifdefs to detect that some > > probable feature combination: > > > > https://github.com/apa

Re: [OT] Moving to a RTOS on the RP2040

2024-07-07 Thread Alan C. Assis
er.org/hawk/presentations/ifdef2016/ifdef_FOSD2016.pdf I believe this is the way to go! Let's do it! BR, Alan On Fri, Jul 5, 2024 at 11:43 AM Alan C. Assis wrote: > Nathan, > Absolutely! > > I'm talking with him and he already spotted many issues. > Other issues we all faced and

Re: [Article] RISC-V Emulator for Sophgo SG2000 SoC (Pine64 Oz64 SBC)

2024-07-07 Thread Alan C. Assis
at 8:27 AM Lee, Lup Yuen wrote: > Thank you so much Alan! I'm hoping someday we can get WiFi (SDIO) working > on Milk-V Duo S / Pine64 Oz64 SBC. But it will be plenty of work :-) > > Wi-Fi Driver for AICsemi AIC8800: https://github.com/radxa-pkg/aic8800 > > Lup > > On

Re: [Article] RISC-V Emulator for Sophgo SG2000 SoC (Pine64 Oz64 SBC)

2024-07-07 Thread Alan C. Assis
Very nice Lup! Another great article! I want to test my Milk-V Duo S soon!!! BR, Alan On Sat, Jul 6, 2024 at 7:18 PM Lee, Lup Yuen wrote: > Earlier this year we made a RISC-V Emulator for Ox64 BL808 SBC. Every day > we run it for testing the Daily NuttX Build for Ox64, thanks to our > custom

Re: [OT] Moving to a RTOS on the RP2040

2024-07-05 Thread Alan C. Assis
inux. I think it is important to listen to our users, this feedback is very useful to help us to improve our system. Best Regards, Alan On Thu, Jul 4, 2024 at 11:51 PM Nathan Hartman wrote: > On Thu, Jul 4, 2024 at 7:19 PM Gregory Nutt wrote: > > > > > On 7/4/2024 4:44 PM,

Re: [OT] Moving to a RTOS on the RP2040

2024-07-04 Thread Alan C. Assis
apps/ the make will detect it and will ask the user to do it. I don't like this approach because it makes things more rigid (inflexible). This is not something easy to fix. BR, Alan On Thu, Jul 4, 2024 at 7:08 PM Nathan Hartman wrote: > On Thu, Jul 4, 2024 at 5:21 PM Alan C. Assi

[OT] Moving to a RTOS on the RP2040

2024-07-04 Thread Alan C. Assis
Nice post for a guy (apparently with previous Linux experience, that type of person normally find their way well on NuttX) moving from baremetal to RTOS: https://blog.brixit.nl/moving-to-a-rtos-on-the-rp2040/ The issue he commented about "make distclean" not working is serious and we need to find

Re: Creating a NuttX mirror for external files

2024-07-02 Thread Alan C. Assis
I just created a repository to be used by nuttx-apps tarballs and zip packages: https://github.com/NuttX/apps-mirror-pkgs Please, let us populate it with the packages that are currently used by nuttx-apps. Not sure if we should create some Makefile/CMake rules to simplify the mirror usage in cas

Re: Creating a NuttX mirror for external files

2024-06-27 Thread Alan C. Assis
Hi Ken, Nice to hear from you, I hope you are well and hope you find a good Job where you can go back to working with NuttX. Your contributions to NuttX (Audio, SmartFS, etc) were and still are important to our community. This year we have a GSoC project focused on getting a NAND FS implemented

Re: Journal Size for a File System

2024-06-27 Thread Alan C. Assis
Just to clarify, what we want to know is if 2 bytes (65536) blocks is enough for NAND flash? That document from Intel says "*Blocks per LUN* is configurable" but not clear about the amount. Should we use 4 bytes (32-bit) to represent the amount of blocks instead of only 2 bytes? BR, Alan On Th

Re: Creating a NuttX mirror for external files

2024-06-27 Thread Alan C. Assis
Yes! I suggested putting it in another repository like github.com/nuttx instead of github.com/apache because of the license issue. We could use the bitbucket.com as well, but using github.com will be easier and faster because it is in the same infrastructure. BR, Alan On Thu, Jun 27, 2024 at 12

Creating a NuttX mirror for external files

2024-06-24 Thread Alan C. Assis
Hi Everyone, I want to suggest creating a mirror to avoid failing when external files disappear. Many projects like Yocto, Zephyr and others do it. Maybe we could use the nuttx user at github.com to store these files to avoid mixing with Apache things. Please share your thoughts. BR, Alan

Video presentations from NuttX International Workshop in Japan

2024-06-24 Thread Alan C. Assis
Dear NuttXers, We had a great workshop in Japan last week! This time we had more than 30 presentations!!! Thanks to all speakers! We guys are amazing!!! I'm glad to be part of that community! Please enjoy the presentations here: https://www.youtube.com/watch?v=DXbByNeatcU&list=PLd73yQk5Fd8JJ5

Re: Installing apps dynamically in runtime

2024-06-21 Thread Alan C. Assis
Hi Gábor, I created a video tutorial explaining how to do that: https://www.youtube.com/watch?v=oL6KAgkTb8M At that time NuttX had support only for ELF executable, now it also has support for ELF libraries (work done by WildernessLabs and improved by Xiaomi). About the idea of a NuttX distribut

Re: Ethernet direct RMII connection

2024-06-20 Thread Alan C. Assis
to 100MHz data rate and > do > > not have any GMII interface. > > > > On imx8m side, it actually will be “downgraded” to RMII as well. > > > > /Roland > > > > > >> On Mar 1, 2024, at 9:31 PM, Alan C. Assis wrote: > >> > >> Hi Ro

Re: Inter-task communication example / uORB implentation

2024-06-13 Thread Alan C. Assis
that subscribe and advertises in a set interval? > > > Thank you > > Best Regards, > Janardhan > > > > From: Alan C. Assis > Sent: Wednesday, June 12, 2024 19:22 > To: dev@nuttx.apache.org > Subject: Re: Inter-task communication example /

Re: events.nuttx.apache.org

2024-06-12 Thread Alan C. Assis
Hi Takashi, Thank you for finding this issue! We will fix that! For those not aware of it, today and tomorrow the VI NuttX International Workshop is happening, this year in Tokyo Japan. This is the YouTube link for Day 1 event: https://www.youtube.com/watch?v=N0O3dV6fzwI Best Regards, Alan O

Re: Inter-task communication example / uORB implentation

2024-06-12 Thread Alan C. Assis
Hi Janardhan, uORB is used for example in the NuttX sensors subsystem and also please take a look at apps/system/uorb BR, Alan On Wed, Jun 12, 2024 at 10:17 AM Janardhan Silwal < janardhansil...@outlook.com> wrote: > Hi community, > > I have trying to get a inter-task message exchange, a sub/p

Re: Bluetooth advertising broken on ESP32

2024-06-11 Thread Alan C. Assis
Hi Robert, Nice to know you are interested in improving Bluetooth support on NuttX. Last time I tested it (more than 1 year) it was working fine to scan for devices, but I never tried to advertise from the board and connect. I think NuttX needs some Bluetooth demo for advertising and sending dat

Re: sample apps guide

2024-06-08 Thread Alan C. Assis
Hi yf, I don't know, normally the cache issues some people faced were related to STM32F7 and STM32H7 and there is some documentation about it: https://cwiki.apache.org/confluence/display/NUTTX/Porting+Drivers+to+the+STM32+F7 BR, Alan On Fri, Jun 7, 2024 at 5:26 AM yfliu2008 wrote: > Dear com

Re: [DISCUSS] Analog Devices - Automotive Audio Bus (a2b)

2024-05-28 Thread Alan C. Assis
Hi Alin, I found his PR to Linux here: https://lore.kernel.org/lkml/20240517-a2b-v1-1-b8647554c...@bang-olufsen.dk/T/ Nice, he released it as a dual license (GPL and BSD), so we could integrate it into NuttX! BR, Alan On Tue, May 28, 2024 at 5:50 AM Alin Jerpelea wrote: > Hi all, > > last w

Re: NAND Flash supported Board suggestion

2024-05-26 Thread Alan C. Assis
gt; Regards, > Saurav Pal > > On Sun, 26 May, 2024, 18:03 Alan C. Assis, wrote: > > > It is at drivers/mtd/dhara.c > > > > Unfortunately NuttX is full of "hidden features", that is something that > I > > try to avoid during the code view: >

Re: NAND Flash supported Board suggestion

2024-05-26 Thread Alan C. Assis
It is at drivers/mtd/dhara.c Unfortunately NuttX is full of "hidden features", that is something that I try to avoid during the code view: All new features needs proper Documentation/ I think YAFFS was discussed here sometime ago, but I don't remember all the details. I had the impression that

Re: NAND Flash supported Board suggestion

2024-05-25 Thread Alan C. Assis
Thank you Greg for clarifying! I think Xiang Xiao and guohao15 also worked with NAND recently (DHARA and YAFFS). Seems like dhara.c was integrated into mainline, but they didn't submit support to YAFFS (if I remember correctly it was because YAFFS requires license payment for commercial usage).

Re: NAND Flash supported Board suggestion

2024-05-25 Thread Alan C. Assis
Hi Saurav, AFAIK, the only MCUs with NAND Flash controllers supported on NuttX are samv3 and sama5. Mr. Greg Nutt implemented it for Atmel about 10 years ago, but if I remember correctly, he never got it well tested because there is no FS for NAND on NuttX. I think if you decide to use an SPI NA

Re: Help on understanding Nuttx

2024-05-22 Thread Alan C. Assis
Hi Janardhan, Each person has a different mind set and different backgrounds, so it is difficult to find an easy way that works for everybody. This is why I suggest everybody starting with NuttX to create their own public documentation (i.e. blog post), because the challenges you face, solve and

[OT] ASF Project Spotlight: NuttX

2024-05-20 Thread Alan C. Assis
Dear NuttXers, Apache Software Foundation is becoming 25 and they are announcing some projects that are important to them: https://apache.org/asf25years/ They posted about the NuttX RTOS: https://news.apache.org/foundation/entry/asf-project-spotlight-nuttx BR, Alan

Re: [Article] NuttX on Sophgo SG2000 RISC-V SoC (Milk-V Duo S SBC)

2024-05-19 Thread Alan C. Assis
Kudos Lup! Fantastic work! And nice board to run NuttX On Sat, May 18, 2024 at 7:50 PM Lee, Lup Yuen wrote: > Soon we’ll see many new 64-bit RISC-V SBCs based on the Sophgo SG2000 > RISC-V SoC. Will they boot NuttX? Let’s find out… > > (1) We boot Linux on Milk-V Duo S (with SG2000) > > (2) Pee

Re: No output for lm3s6965-ek:qemu-protected

2024-05-14 Thread Alan C. Assis
as a good option for misc projects and > the situation is such that I need the following attributes: > > 1. Cortex-M > 2. Ethernet > 3. Qemu > > Unless I'm mistaken, lm3s6965evb was the only board that met all 3 ? > > Cheers, > Robin > > On Tue, 14 May 2024 at 1

Re: No output for lm3s6965-ek:qemu-protected

2024-05-14 Thread Alan C. Assis
27;s 'boot log' I see the same invocation of > irq_unexpected_isr. > > My theory, therefore, is that lm3s6965-ek:qemu-protected has never worked > ever since support was committed ? > Also: I think the unexpected IRQ 11 (that's an SVC exception I think ?) has > been t

Re: No output for lm3s6965-ek:qemu-protected

2024-05-13 Thread Alan C. Assis
Hi Robin, Did you test previous release versions? It could be useful to know in which version the issue was introduced. After that we could use git bisect to pinpoint the commit that introduced this issues. Best Regards, Alan On Mon, May 13, 2024 at 5:41 PM Robin Randhawa wrote: > Hi. > > I

Re: Help regarding the code formatting

2024-05-03 Thread Alan C. Assis
Hi Janardhan, Please read the official documentation: https://nuttx.apache.org/docs/latest/contributing/making-changes.html There is a tool called checkpatch.sh that you can use to verify the coding style issues in your source code. Best Regards, Alan On Fri, May 3, 2024 at 4:25 AM Janardhan S

Welcoming Saurav Pal to NuttX GSoC

2024-05-02 Thread Alan C. Assis
Hi NuttXers, As Lup commented, we have two NuttX proposals accepted to the GSoC 2024. Saurav Pal also was accepted and he will work in the project: mnemofs: An Apache NuttX NAND Flash Filesystem Basically this will be a file-system to use with NAND Flash memories, including bad-block management

Re: nuttx user question

2024-04-30 Thread Alan C. Assis
:36 PM David Welshon wrote: > Ok, > I have the device setup. I can help test whenever needed. > David > > On Wed, Apr 24, 2024 at 7:17 AM Alan C. Assis wrote: > > > Hi David, > > > > I'm glad to help! > > > > More people could want this fea

Re: Multiple zerocross pins

2024-04-30 Thread Alan C. Assis
Hi David, The pin is defined as BOARD_ZEROCROSS_GPIO, please look at nuttx/boards/arm/stm32/stm32f103-minimum/include/board.h nuttx/boards/arm/stm32/stm32f4discovery/include/board.h The board initialization code is here: nuttx/boards/arm/stm32/common/src/stm32_zerocross.c And the example is her

  1   2   3   4   5   6   >