Re: MCU/Board with WiFi, BT and USB Host

2023-04-20 Thread Alan C. Assis
Tim, Normally the certification if for the module and for the product, but this is the FCC, CE, Anatel, etc. Since the module is already certified, your board doesn't need to pass for a new complete WiFi / Bluetooth certification, just some simple electric compatibility, EMI, etc, tests. Maybe w

Re: MCU/Board with WiFi, BT and USB Host

2023-04-20 Thread Alan C. Assis
Hi Tim, Really nice board! Do you know if Microchip is planing to port ATWILC3000-MR110UA WiFi/BLE chip to NuttX? Should be nice to have a companion to BCM43 at drivers/wireless/ieee80211/ BR, Alan On 4/20/23, Tim Hardisty wrote: > What sort processing power? Memory? Peripherals? > > SAMA5D2

Re: MCU/Board with WiFi, BT and USB Host

2023-04-20 Thread Alan C. Assis
Hi Tomek, On 4/20/23, Tomek CEDRO wrote: > > Hey there Alan, I saw your initial support for ESP32-C6 that is RISC-V > based, thank you, does that chip have full USB (device? host? otg?) support > and full documentation of the USB block? :-) > > This sounds even better than ESP32-C3 :-) > No, ESP

Re: MCU/Board with WiFi, BT and USB Host

2023-04-20 Thread Alan C. Assis
Hi Mr. Zou, PinePhone is a nice idea, but I'm afraid that WiFi is not supported yet too. Mr. Lup, could you please confirm/deny my suspect? BR, Alan On 4/20/23, fft wrote: > I think PinePhone is a great choice > > > > -- Original -- > From:  "Petro Karashchenko

Re: MCU/Board with WiFi, BT and USB Host

2023-04-20 Thread Alan C. Assis
Hi Petro, You can use ESP32-S2 or ESP32-S3. Currently the USB Host support is not integrated on mainline yet, but we (Espressif) have customers that are developing products with ESP32-S3 with NuttX and USB. So USB Host support will arrive on NuttX upstream very soon. BR, Alan On 4/20/23, Petr

Re: V NuttX International Workshop

2023-04-17 Thread Alan C. Assis
my idea is to present my contributions to microros-NuttX, but after the > retirement from my professor position at SUPSI (31.08.2023!), it is > quite difficult for me to be in Brazil. An online presentation should be > possible? > > Best regards > > Roberto > > On 4/16/23

Re: V NuttX International Workshop

2023-04-16 Thread Alan C. Assis
On 4/16/23, Nathan Hartman wrote: ... > > Perhaps the simplest low-tech way is to video tape the presentations and > post the videos online afterwards. > > In fact, not only will this make it possible to see the event for people > who can't attend, but it will also become possible to refer back to

Re: V NuttX International Workshop

2023-04-16 Thread Alan C. Assis
On 4/15/23, Tomek CEDRO wrote: > On Fri, Apr 14, 2023 at 4:03 PM Alan C. Assis wrote: >> Hi Everyone, >> We have confirmed the data/local of 5o NuttX Workshop: > > Is online attendance possible / desired? :-) > Good question, the first event in Gouda/Netherlands was ph

Re: V NuttX International Workshop

2023-04-16 Thread Alan C. Assis
the Call for Papers are about to come soon. > > Best regards, > > Em sex., 14 de abr. de 2023 às 11:03, Alan C. Assis > escreveu: > >> Hi Everyone, >> >> We have confirmed the data/local of 5o NuttX Workshop: >> >> Date: Sept 29 - 30 2023 &g

V NuttX International Workshop

2023-04-14 Thread Alan C. Assis
Hi Everyone, We have confirmed the data/local of 5o NuttX Workshop: Date: Sept 29 - 30 2023 Time slots: 8h-12h 14h-18h Event Place: FEEC - Unicamp (https://www.fee.unicamp.br/ ) - Campinas/Brazil https://www.s-drupal.fee.unicamp.br/?language=en So, those interest to participate o

Re: [VOTE] Apache NuttX 12.1.0 RC0 release

2023-04-12 Thread Alan C. Assis
+1 Tested on ESP32 Devkit-C board: ESP32: $ xtensa-esp32-elf-gcc -v Using built-in specs. COLLECT_GCC=xtensa-esp32-elf-gcc COLLECT_LTO_WRAPPER=/usr/local/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/lto-wrapper Target: xtensa-esp32-elf Configured with: /builds/idf/crosstool-NG/.build/xtensa-esp32-e

Re: running GCC

2023-04-10 Thread Alan C. Assis
Maybe it is better to try a smaller C compiler. Like TinyCC: https://bellard.org/tcc / https://repo.or.cz/w/tinycc.git Currently it is only for x86/x64 and ARM (with RISC-V is in development). The tcc is small (about 100KB) so it could work even on some microcontrollers. Even if you get GCC wor

Re: Hardcoded Pin mux, pad control and Drive Strength (AKA Slew-rate and Frequency) Settings #1570

2023-04-10 Thread Alan C. Assis
I agree with Frank-Christian on that! Also, is there some official ERRATA from ST about this slew-rate/frequency for STM32H7 ? Is this really a chip issue or some board specific issue? BR, Alan On 4/10/23, Frank-Christian Kruegel wrote: > Am 10.04.2023 um 14:51 schrieb David Sidrane: > >> If

Re: Article: NuttX for PinePhone: Simpler USB with EHCI

2023-03-23 Thread Alan C. Assis
Kudos Lup!!! Now it is possible to use NuttX on PinePhone for some more practical application! BR, Alan On 3/23/23, Lee, Lup Yuen wrote: > Weeks ago we talked about porting NuttX to PinePhone, and how we might turn > it into a Feature Phone. > > But to make phone calls and send text messages,

Questions about ble/wifi

2023-03-18 Thread Alan C. Assis
Hi Alexandru, I tested here and the BLE for ESP32/C3 is indeed broken in the mainline! So I will investigate and fix it. Currently NuttX BLE stack is very limited, depending on what you want to do, it is better to use NuttX with nimBLE. There are board config examples for nRF52/SIM, they need to

Re: [Breaking change] NRF52 NVMC and FLASH support should depends on BSD components

2023-03-18 Thread Alan C. Assis
On Friday, March 17, 2023, Gregory Nutt wrote: > On 3/17/2023 7:08 PM, Bill Rees wrote: > > >> Does the BSD license,and maybe others too, allow re-licensing? >> Certainly one way to solve this if true is to simply change the license. >> >> I think that the answer is YES, but NO. Let's talk a

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
.com> wrote: >> >> > Hi, Alan! >> > >> > Thank you and Petro for the support, it's compiling now! I also >> > connected >> > the esp to the internet, but for some reason both 'nslookup' and 'ping' >> are >> > fa

Re: [Breaking change] NRF52 NVMC and FLASH support should depends on BSD components

2023-03-17 Thread Alan C. Assis
On 3/17/23, Nathan Hartman wrote: > On Wed, Mar 15, 2023 at 6:16 AM raiden00pl wrote: >> >> NVMC support for NRF52 chips was ported from Nordic SDK which was >> released >> on the BSD license (old times), so these features should depend on >> CONFIG_ALLOW_BSD_COMPONENTS=y. Users must manually ena

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
n > > Le 17/03/2023 à 15:13, Alan C. Assis a écrit : >> Yes, it is not needed! >> >> After configuring your esp32c3 board file (also works for any esp32xx >> chip), just run: >> >> make bootloader >> make flash ESPTOOL_PORT=/dev/ttyUSB0 ESPTOOL_BIN

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
hains, a riscv32 one for esp-idf and a > riscv64 for nuttx. > > Best regards, > > Sebastien > > > Le 17/03/2023 à 13:45, Alan C. Assis a écrit : >> Hi Miguel, >> >> Nice to hear it. >> >> BTW, you don't need to use esp-idf, it is overki

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
You need to download the "xtensa-esp32-elf" No idea why they put xtensa-esp32-elf-gdb before the real toolchain. On 3/17/23, Alan C. Assis wrote: > Hi Miguel, > > Nice to hear it. > > BTW, you don't need to use esp-idf, it is overkill (you will waste too > mu

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
____ > De: Alan C. Assis > Enviado: sexta-feira, 17 de março de 2023 11:52 > Para: dev@nuttx.apache.org > Assunto: Re: undefined reference to 'inet_ntoa_r' > > s/Then example/Then enable/ > > On 3/17/23, Alan C. Assis wrote: >>

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
s/Then example/Then enable/ On 3/17/23, Alan C. Assis wrote: > Hi Gustavo, > > Enabling all the network needed features on NuttX is very time > consuming, so this is a good idea to start with a working example. > > In this case nsh is not the recommended starting point, but

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
Hi Gustavo, Enabling all the network needed features on NuttX is very time consuming, so this is a good idea to start with a working example. In this case nsh is not the recommended starting point, but wapi (wifi board profile). Try this sequence: make distclean ./tools/configure.sh esp32-devkit

Re: Add support for an LTE driver on NuttX #8147

2023-03-14 Thread Alan C. Assis
ow to get it working. BR, Alan On 3/14/23, MIGUEL ALEXANDRE WISINTAINER wrote: > I never got success on ppp on cat/nbiot > > I had to back to gprs band to work the ppp > > Enviado do meu iPhone > >> Em 14 de mar. de 2023, à(s) 19:10, Alan C. Assis >> escreveu: >&

Re: Add support for an LTE driver on NuttX #8147

2023-03-14 Thread Alan C. Assis
Hi Rodrigo, I think Eduardo got it working on NuttX using PPPD, see: https://github.com/apache/nuttx/issues/8147 It is important to know, because even Quectel support said the it wasn't possible to use CatM1 or NB-IoT with PPP: https://forums.quectel.com/t/bc95-g-ppp-connection-over-nb-iot-poss

Re: Sensor implementation

2023-03-12 Thread Alan C. Assis
plemented, I will revisit my working driver, pain though that is. If, >> however, it is just "a" way I would rather leave it alone and see it >> merged once checked. In the future someone - or I - can revisit it should >> there ever be a wish for the APDS-9922 to

Re: Sensor implementation

2023-03-11 Thread Alan C. Assis
On 3/11/23, Xiang Xiao wrote: > On Sun, Mar 12, 2023 at 12:12 AM Tim Hardisty wrote: > >> I submitted a PR for a driver for the Broadcom APDS-9922 ambient light >> and >> proximity sensor, written with what one might call the "traditional" >> method of setting up the device via ioctl, then readi

Re: [Breaking change] Echo character by serial driver

2023-03-11 Thread Alan C. Assis
Agree! +1 On 3/11/23, Alin Jerpelea wrote: > Hi, > > In my opinion we should keep the memory usage as low as possible > +1 for menu config > > Best Regards > Alin > > On Sat, 11 Mar 2023, 05:13 Xiang Xiao, wrote: > >> On Sat, Mar 11, 2023 at 9:51 AM Gregory Nutt wrote: >> >> > >> > On 3/10/202

Re: NuttX Hardware

2023-03-10 Thread Alan C. Assis
rtman wrote: > Does anyone know how to set up some kind of online pot that people can put > some money into without too much hassle? > > On Fri, Mar 10, 2023 at 1:27 PM Alan C. Assis wrote: > >> Hi Brennan, >> >> I think it should be nice if you can receive it. >>

Re: NuttX Hardware

2023-03-10 Thread Alan C. Assis
Hi Brennan, I think it should be nice if you can receive it. About the shipping costs, I'll happy to help too! BR, Alan On 3/10/23, Brennan Ashton wrote: > If this is something people really do want. I'm happy to hold them in the > US and help lend out and cover this shipping to get it from C

Re: Is the NuttX BLE Stack broken? //was: Re: DISCUSSION - Usage of mailing lists for apache projects

2023-03-10 Thread Alan C. Assis
0) this > does not work. The connect command hangs, presumably in the serial > driver, since you say bt works on other platforms. > > Regards, > Lwazi > > On Fri, 10 Mar 2023 at 07:27, Alan C. Assis wrote: >> >> Hi Lwazi, >> >> I don't know about CC2564, but B

Re: Hardware Listing

2023-03-10 Thread Alan C. Assis
Done! Thank you! On 3/10/23, raiden00pl wrote: > Hi Alan, please add me to the Spreasheet. > > pt., 10 mar 2023 o 14:53 Alan C. Assis napisał(a): > >> I already sent Editor permission for all those listed in the Spreasheet. >> >> If someone else here is in

Re: Hardware Listing

2023-03-10 Thread Alan C. Assis
I already sent Editor permission for all those listed in the Spreasheet. If someone else here is interested to help, just ping me. BR, Alan On 3/10/23, Alan C. Assis wrote: > Hi Everyone, > > I updated the Brennan spreadsheet with all boards existing on NuttX > currently. > &g

Re: NuttX Hardware

2023-03-10 Thread Alan C. Assis
o > longer drive, so that means using Uber. That is why it all must go at > once. I will make exactly one trip to the post office or freight service. > > I don't consider this necessary. It was just a suggestion. But if it > evolves into a pain in the ass, then I am not interes

Hardware Listing

2023-03-10 Thread Alan C. Assis
Hi Everyone, I updated the Brennan spreadsheet with all boards existing on NuttX currently. Please find the link below: https://docs.google.com/spreadsheets/d/1fiOiC7vo6AC5IYdZqJ3WG0KGEXS1zwW4owMO1q1IaTo/edit?usp=sharing For future reference a did a quick shell script to do this work, just ent

Re: NuttX Hardware

2023-03-10 Thread Alan C. Assis
s of boards. I will not be giving or sending anyone > individual boards. Take all or none. > > On 3/10/2023 6:54 AM, Alan C. Assis wrote: >> Hi Tomek, >> >> That is a good idea too! >> >> Greg, my uncle and my cousin will be in Costa Rica in the following >&g

Re: NuttX Hardware

2023-03-10 Thread Alan C. Assis
Hi Tomek, That is a good idea too! Greg, my uncle and my cousin will be in Costa Rica in the following weeks. Maybe we can ask them to get some boards with you, but of course not many boards because otherwise they will have headache in the airport when returning to Brazil. What do you think? B

Is the NuttX BLE Stack broken? //was: Re: DISCUSSION - Usage of mailing lists for apache projects

2023-03-10 Thread Alan C. Assis
Hi Lwazi, I don't know about CC2564, but BLE Stack was working recently to ESP32, ESP32C3, nRF52, etc Is it related to this issue: https://github.com/apache/nuttx/issues/8767 BR, Alan On 3/9/23, Lwazi Dube wrote: > On Wed, 8 Mar 2023 at 13:16, Alan C. Assis wrote: >> >>

Re: ESP-Hosted on NuttX

2023-03-09 Thread Alan C. Assis
Hi Jernej, The ESP-Hosted is in our plans, but it is not priority now. As you remember in the last NuttX Workshop we had a presentation from Wilderness Labs about Meadow and they have an ESP32 as co-processor that has a USRSOCK communication to allow host MCU to use ESP32 WiFi and Bluetooth. I j

Re: NuttX Hardware

2023-03-08 Thread Alan C. Assis
Agreed! Let's keep it in a separated thread. Sometime ago I was talking with Brennan about listing the board that I have here and he surprised me showing this board listing spreadsheet on google docs. Maybe we can organize a listing to see who has board X, Y, or Z and to make it possible to test N

Re: DISCUSSION - Usage of mailing lists for apache projects

2023-03-08 Thread Alan C. Assis
castic, I'm happy to hear from you again! You have a great knowledge of BLE can we need! I was expecting you to share that working example of BLE application using our BLE stack). BR, Alan On 3/8/23, Lwazi Dube wrote: > On Wed, 8 Mar 2023 at 09:55, Alan C. Assis wrote: >> >>

Re: DISCUSSION - Usage of mailing lists for apache projects

2023-03-08 Thread Alan C. Assis
of these are approved by xiaoxiang >> alone? >> >> Because this HAS to be said. They send overwhelming numbers >> contributions that cannot be possibly understood as a whole, there is no >> clear agenda, they add whatever they like with no roadmap and no review >&g

Re: DISCUSSION - Usage of mailing lists for apache projects

2023-03-08 Thread Alan C. Assis
ole, there is no > clear agenda, they add whatever they like with no roadmap and no review > from other users that may have other uses. > > This has to be under control somehow. I believe even you Alan are not > aware of the amount of code that enters nuttx. No one can be now. > &g

Re: DISCUSSION - Usage of mailing lists for apache projects

2023-03-08 Thread Alan C. Assis
s/he/here/ On 3/8/23, Alan C. Assis wrote: > Hi Sebastien, > > Yes, that commit list is mostly for people who don't want to use > github but still wanting to see what is going on. > > Sometimes when a very important PR raises some concern on GitHub PR, > people post th

Re: DISCUSSION - Usage of mailing lists for apache projects

2023-03-08 Thread Alan C. Assis
el of importance, however this is clearly not the case. > > Sebastien > > Le 08/03/2023 à 13:21, Alan C. Assis a écrit : >> HI Sebastien, >> >> It is already done, you just need to subscribe to >> https://lists.apache.org/list.html?comm...@nuttx.apache.org to receive >

Re: DISCUSSION - Usage of mailing lists for apache projects

2023-03-08 Thread Alan C. Assis
HI Sebastien, It is already done, you just need to subscribe to https://lists.apache.org/list.html?comm...@nuttx.apache.org to receive all commits messages and discussions. Everything is archived on apache side! BR, Alan On 3/8/23, Sebastien Lorquet wrote: > Apache projects are required to us

Re: Build system is broken

2023-03-07 Thread Alan C. Assis
Some important things to keep in mind to avoid these kind of frustration: 1) NuttX development is on GitHub, although this mailing list has dev@ in its name, the development is not here. In the past Greg used to accept patches over mailing list. But now NuttX is an Apache project TLP; 2) You cann

Re: NuttX is broken

2023-03-07 Thread Alan C. Assis
Hi Sebastien, Please read: https://community.apache.org/contributors/etiquette BTW, the new building system is strange, but more clean. I think it should at least give some users feedback, like a text progress bar, etc. For course it needs improvement, but you don't need to do this way. BR,

Re: Article: (Clickable) Call Graph for NuttX on PinePhone

2023-03-05 Thread Alan C. Assis
Hi Lup, This Call Graph solution that you used is very useful! I used a call graph solution called egypt some time ago to get a better vision of a legacy project that I should take care, I wrote down the steps here: https://acassis.wordpress.com/2020/05/08/creating-call-graph-function-for-c-prog

Re: [allmem] Ask for Help: Software Ecosystem Status for RISC-V (March 2023)

2023-03-03 Thread Alan C. Assis
Both are supported. On 3/3/23, Tomek CEDRO wrote: > On Fri, Mar 3, 2023 at 5:10 PM Alan C. Assis wrote: >> Hi Tomek, >> Nice finding. Actually NuttX on RISC-V is already used on commercial >> products from at least one big company, so I suggest it should be >> Fully

Re: [allmem] Ask for Help: Software Ecosystem Status for RISC-V (March 2023)

2023-03-03 Thread Alan C. Assis
Hi Tomek, Nice finding. Actually NuttX on RISC-V is already used on commercial products from at least one big company, so I suggest it should be Fully Supported. BR, Alan On 3/3/23, Tomek CEDRO wrote: > Hello world :-) > > There is a platform support update request on RISC-V tech mailinglists

[OT] New candidate of week to run NuttX: Arduino GIGA R1 WiFi

2023-03-01 Thread Alan C. Assis
Hi Everyone, Since NuttX has really complete support to STM32H7 I think this just released Arduino board could be a good candidate: https://docs.arduino.cc/hardware/giga-r1-wifi BR, Alan

Re: W25Nx NAND flash support

2023-03-01 Thread Alan C. Assis
ast such features should not be advertised on public > websites. > > That is just my opinion but I find it good to bring these objections to > the light of the mailing list so these can be discussed widely. > > Sebastien > > Le 01/03/2023 à 15:44, Alan C. Assis a écrit : &

Re: W25Nx NAND flash support

2023-03-01 Thread Alan C. Assis
On 3/1/23, Xiang Xiao wrote: > On Wed, Mar 1, 2023 at 10:45 PM Alan C. Assis wrote: > >> oh, I just found it: >> >> "The fee depends on the number of distinct Products in which Yaffs >> will be used, and there is a base price of GBP £10,000. If more than >

Re: W25Nx NAND flash support

2023-03-01 Thread Alan C. Assis
but small companies could be a "don't go!". BR, Alan On 3/1/23, Alan C. Assis wrote: > Hi Xiang, > > On 3/1/23, Xiang Xiao wrote: >> On Wed, Mar 1, 2023 at 8:43 PM Alan C. Assis wrote: >> >>> Hi Xiang Xiao, >>> >>> This is a great new

Re: W25Nx NAND flash support

2023-03-01 Thread Alan C. Assis
Hi Xiang, On 3/1/23, Xiang Xiao wrote: > On Wed, Mar 1, 2023 at 8:43 PM Alan C. Assis wrote: > >> Hi Xiang Xiao, >> >> This is a great news, but I'm afraid yaffs is not a good option for >> everybody because it uses GPL license. >> >> > Y

[OT] Please submit ideas to the GSoC 2023

2023-03-01 Thread Alan C. Assis
Hi NuttXers, This year we have the chance to participate again of the Google Summer of Code. You had participated on 2021, but missed the dates last year. Also it is important to remember that since 2022 GSoC is open to everyone participate, you don't need to be a student anymore. BR, Alan

Re: W25Nx NAND flash support

2023-03-01 Thread Alan C. Assis
Hi Xiang Xiao, This is a great news, but I'm afraid yaffs is not a good option for everybody because it uses GPL license. But yes, it could be an option for people and companies that can release all their software as open-source. PX4 project for example could use it. BR, Alan On 2/28/23, Xiang

Re: NuttX domains available

2023-02-25 Thread Alan C. Assis
On 2/25/23, Tomek CEDRO wrote: > On Sat, Feb 25, 2023 at 4:16 PM Gregory Nutt wrote: >> > Why not redirect them to https://nuttx.apache.org and crowdfund the >> > bills ? :-) >> Anyone who wants to pay for the domains is welcome to do that. I am >> finished paying. > > Sure thing Greg! Maybe Apac

Re: W25Nx NAND flash support

2023-02-25 Thread Alan C. Assis
Hi Michal, There is some discussion about it here: https://www.mail-archive.com/dev@nuttx.apache.org/msg04981.html and here: https://lists.apache.org/thread/kh5t6fn24q97d3qxzthksld4l3jtw27c In a nutshell: 1) If parallel NAND Flash is used your MCU will need first the NAND Flash controller drive

Re: Bitbucket Pipeline - romfs failure

2023-02-24 Thread Alan C. Assis
ta(4)/g" >> etctmp.c >> /bin/sh: 1: xxd: not found >> rm romfs.img >> >> >> xxd is part of vim-common. Now it works. >> >> Should we add vim-common to the list of dependencies, or is this a corner >> case? >> >> Simon >>

Re: Bitbucket Pipeline - romfs failure

2023-02-23 Thread Alan C. Assis
check if the generation was successful? In > the log, it looks fine, doesn't it? > > Simon > > > -- > Hard- and Softwaredevelopment Consultant > Ingenieurbüro-Filgis > USt-IdNr.: DE305343278 > > > On Thu, Feb 23, 2023 at 3:27 PM Alan C. Assis wrote: > >&

Re: Bitbucket Pipeline - romfs failure

2023-02-23 Thread Alan C. Assis
Hi Simon, What board and board profile are you using? This error normally happens when genromfs didn't generated the romfs image. BR, Alan On 2/23/23, Simon Filgis wrote: > Dear all, > > I'm setting up a build-pipeline in bitbucket. It fails with: > arm-none-eabi-ld: > /opt/atlassian/pipeline

Re: esp32 / pcnt / rotary encoder

2023-02-19 Thread Alan C. Assis
Yes, you can use MCUBoot to do FOTA that is already is integrated on NuttX for ESP32 On 2/19/23, Tomek CEDRO wrote: > Allright, I have NuttX origin/master built on FreeBSD and running on > ESP32-DevKitC :-) > > For some reason uname -a shows release 10.4.0 not 12.0.0(99/dev whatever) > o_O > > Th

Re: esp32 / pcnt / rotary encoder

2023-02-18 Thread Alan C. Assis
Hi Tomek, Please take a look: https://github.com/apache/nuttx/blob/master/arch/xtensa/src/esp32/esp32_qencoder.c It was tested with common rotary encoders (i.e. those used on 3D Printers to select items on UI menu). I didn't test it at high frequencies, but according with this thread https://es

Re: Article: NuttX for PinePhone: Exploring USB

2023-02-18 Thread Alan C. Assis
Hi Lup, Very nice post! Adding this USB Controller on NuttX will allow to use many other chips that use same IP. There is also some modem modules with this Quectel chip at aliexpress, i.e.: https://aliexpress.com/item/1005004508534864.html BR, Alan On 2/18/23, Lee, Lup Yuen wrote: > We're ab

Re: Maximum file descriptor number in select()?

2023-02-16 Thread Alan C. Assis
Hi Kikichi-san, In the past NuttX used to have a config to define the max number of file descriptors/file streams. Now it is allocated dynamically. I think the max number of FDs should be board and application dependent. So, maybe in this case is better to start with a smaller "reasonable" amoun

Re: Bug? in stm32_sdio.c

2023-02-11 Thread Alan C. Assis
Hi Pierre-Noel, Good catch! Although the right file is arch/arm/src/stm32/stm32_sdio.c, not boards/... This file has this possible BUG since when it was added into NuttX and it works as you can see here: https://www.youtube.com/watch?v=H28t4RbOXqI Probably someone using SDIO for other applicati

Re: RNDIS

2023-02-11 Thread Alan C. Assis
Hi Tim, Thank you for confirming! I noticed that Mr. Xiang Xiao already closed the issue as well. BR, Alan On 2/11/23, Tim Hardisty wrote: >> On 28/01/2023, 14:11, "Alan C. Assis" wrote: > >> If there are inconsistencies, they are not specify of RNDIS driver by >&

Re: Video: NuttX for PinePhone

2023-02-07 Thread Alan C. Assis
Very nice video Lup! Now it is easy to everyone to test it. BR, Alan On 2/7/23, Lee, Lup Yuen wrote: > If we're curious how we download and boot NuttX on PinePhone, this video > explains the steps... > > Watch on YouTube: https://youtu.be/kGI_0yK1vws > > Download the video (1.4 GB): > https://

[OT] Coral board a nice board to run TFLite Micro (and awaiting for NuttX on it)

2023-02-04 Thread Alan C. Assis
FYI: https://www.hackster.io/news/google-opens-pre-orders-for-the-coral-dev-board-micro-its-first-microcontroller-development-board-73664dd48266

Re: Including Lua scripts on filesystem

2023-02-02 Thread Alan C. Assis
gt;> with completely separated apps. >>> >>> >> Of course, all we discuss so far is the user space feature, not related >> to >> the kernel. >> >> Thats why I think nsh should not be responsible for too much. >>> >> nsh equals init pus

Re: Including Lua scripts on filesystem

2023-02-02 Thread Alan C. Assis
st step when you use nuttx on real hardware > that is not an unmodified commercial devboard. > > Sebastien > > Le 02/02/2023 à 15:35, Alan C. Assis a écrit : >> It should be nice to have a simple logic to let users to use ROMFS. >> >> Currently everyone needs to dup

Re: Including Lua scripts on filesystem

2023-02-02 Thread Alan C. Assis
It should be nice to have a simple logic to let users to use ROMFS. Currently everyone needs to duplicate it in their own code/application. I'm thinking something like apps/romfiles/ where people just put the files that they want to be in the ROM and it will be included automatically, instead rei

Re: Including Lua scripts on filesystem

2023-02-02 Thread Alan C. Assis
Hi Russel, If all you need is to copy some file.lua to your board, then an alternative is using TMPFS and transfer the file using zmodem. Few day ago I created a video tutorial about it: https://www.youtube.com/watch?v=Ne3SZZrwL9c BR, Alan On 2/2/23, Russell Haley wrote: > I am mistaken. I u

Re: Article: NuttX for PinePhone: LVGL Terminal for NSH Shell

2023-02-02 Thread Alan C. Assis
Hi Lup, Very nice article! Kudos!!! Is it possible to modify the demo to type direclty inside the "LVGL terminal" screen? Did you test PinePhone nxterm too? BR, Alan On 2/2/23, Lee, Lup Yuen wrote: > Now we can run NuttX Console Apps on PinePhone, without a Serial Cable! > > This article exp

Re: Serial driver: No BREAK support?

2023-01-31 Thread Alan C. Assis
a substitute for the ASCII CONTROL-C character." BR, Alan On 1/30/23, Alan C. Assis wrote: > Hi Nathan, > > Some UART drivers implement TIOCSBRK instead. > > I was thinking we had a discussion about serial break here in the > mailing list, but I couldn't find it. > &g

Re: Serial driver: No BREAK support?

2023-01-30 Thread Alan C. Assis
Hi Nathan, Some UART drivers implement TIOCSBRK instead. I was thinking we had a discussion about serial break here in the mailing list, but I couldn't find it. As I recall from that discussion (I think it was in the company, not here in the list), there are different types and meanings of break

Re: NuttX PTP Support

2023-01-30 Thread Alan C. Assis
f my boards…. >> >>> On Jan 27, 2023, at 11:12 AM, Alan C. Assis wrote: >>> >>> Yes, it is supported: serial and network (ethernet and WiFi). >>> >>>>> On 1/27/23, James Dougherty wrote: >>>> Outstanding! >>>> >

Re: Simulator, NOR flash file system, MTD

2023-01-28 Thread Alan C. Assis
tup SmartFS (or >>> LittleFs, etc.) to work with an MTD device that is backed by file MTD >>> with the file residing in the HostFS mount. >>> >>> Also note that if you follow that approach and use SmartFS, I also wrote >>> a FUSE filesystem for Linux that all

Re: RNDIS

2023-01-28 Thread Alan C. Assis
Microsoft have not said they will deprecate it as yet, so there is > still a use for it until an NCM driver is available. > > On 28/01/2023, 14:11, "Alan C. Assis" <mailto:acas...@gmail.com>> wrote: > > > Ok, I re-opened it. > > > If there are inconsi

Re: RNDIS

2023-01-28 Thread Alan C. Assis
o be deprecated > > If I can get RNDIS working for me, that is the time to close it. > > On 28/01/2023, 13:45, "Alan C. Assis" <mailto:acas...@gmail.com>> wrote: > > > Hi Tim, > > > I just confirmed that it still working fine and I'll close y

Re: RNDIS

2023-01-28 Thread Alan C. Assis
Hi Tim, I just confirmed that it still working fine and I'll close your issue. This is a step-by-step process that everyone can follow to get it working: Configure your board: = $ ./tools/configure.sh stm32f4discovery:rndis Compile NuttX to your board: =

Re: Simulator, NOR flash file system, MTD

2023-01-27 Thread Alan C. Assis
Hi Alexander, Some time ago Ken Pettit wrote a SmartFS simulator. If I'm not wrong it could be used with NuttX SIM(ulator). BR, Alan On 1/27/23, Alexander Oryshchenko wrote: > What is the easiest way to use NOR- FFS (SmartFs, Spiffs, LittleFs...) over > host's file? > May be somebody knows NO

Re: NuttX PTP Support

2023-01-27 Thread Alan C. Assis
Yes, it is supported: serial and network (ethernet and WiFi). On 1/27/23, James Dougherty wrote: > Outstanding! > > Serial and Network… > > Thank you > >> On Jan 27, 2023, at 10:01 AM, Alan C. Assis wrote: >> >> Hi James, >> >> ESP32 is

Re: RNDIS

2023-01-27 Thread Alan C. Assis
rhaps it *will* be deprecated... > > Modprobe does suggest that rndis_host is, indeed, present so, in that case, > RNDIS doesn't work on Linux either! > >>-----Original Message- >>From: Alan C. Assis >>Sent: 27 January 2023 16:12 >>To: dev@nuttx.apache.org

Re: NuttX PTP Support

2023-01-27 Thread Alan C. Assis
Hi James, ESP32 is supported, which features do you need? BR, Alan On 1/27/23, James Dougherty wrote: > I haven’t looked at it yet, but I am working on ESP32; is WROOM supported > in master or just the S3/C3? > > > On Fri, Jan 27, 2023 at 4:23 AM Robert Alexa > wrote: > >> Hi all, >> >> What'

Re: RNDIS

2023-01-27 Thread Alan C. Assis
Strange, it still available here: $ sudo modprobe rndis_host BR, Alan On 1/27/23, Tim Hardisty wrote: > Seems that RNDIS on Linux is deprecated as it's deemed insecure, so I need > to use CDC-ECM for Linux (which works), but there's no generic driver for > that in Windows (unless anyone knows

Re: [OT] Who is contribution with NuttX?

2023-01-27 Thread Alan C. Assis
Thank you Tim! On 1/27/23, Tim Hardisty wrote: >>Tim Hardisty = 15 > > That be me :) > > JT Innovations Ltd > > Or JTi for short. > >

[OT] Who is contribution with NuttX?

2023-01-27 Thread Alan C. Assis
Hey NuttXers, I decided to list which companies are contributing most with NuttX, but during my research I couldn't to map some individual contributors to their companies. So, I don't know if Oki Minabe is an individual contributor or a contributor from Sony. Same to CV-Bowen, but I'm 99% sure he

Re: PING

2023-01-26 Thread Alan C. Assis
R: arp_wait failed: -110 > > Looks like arp is failing for some reason but I have no idea, despite having > compared defconfig files that have RNDIS enabled :( > >>-Original Message- >>From: Alan C. Assis >>Sent: 26 January 2023 12:21 >>To: dev@nuttx.apache.o

Re: St-Link Issue

2023-01-26 Thread Alan C. Assis
Hi Russel, Did you try to update the firmware version for the new board that is not working? Maybe ST changed the UART pins connected to virtual console (/dev/ttyACM0) from a board to other. BR, Alan On 1/26/23, Russell Haley wrote: > Hi there community, > > I have access to a couple of STM32

Re: PING

2023-01-26 Thread Alan C. Assis
27;t explain why the PING app isn't available: > any thoughts on that? > > > On 25/01/2023, 23:12, "Alan C. Assis" <mailto:acas...@gmail.com>> wrote: > >> When you had double about your configuration, the best option is >> looking some worki

Re: PING

2023-01-25 Thread Alan C. Assis
Hi Tim, When you had double about your configuration, the best option is looking some working board config example. In this case take a look at boards/stm32f4discovery/configs/rndis/defconfig BR, Alan On 1/25/23, Tim Hardisty wrote: > I did turn the firewall off, just in case, but still no pi

Re: USB host - HID keyboard and other things

2023-01-19 Thread Alan C. Assis
get RNDIS working – so many random Kconfig settings needed > it seems. > > From: Gregory Nutt > Date: Thursday, 19 January 2023 at 19:18 > To: dev@nuttx.apache.org > Subject: Re: USB host - HID keyboard and other things > On 1/19/2023 1:12 PM, Alan C. Assis wrote: > >

Re: USB host - HID keyboard and other things

2023-01-19 Thread Alan C. Assis
On 1/19/23, Gregory Nutt wrote: > On 1/19/2023 1:12 PM, Alan C. Assis wrote: >> I think the currently NuttX USB Keyboard driver needs to be extended >> to support more keyboards. Do do that someone need to inspect the USB >> communication and figure out what is going on. &

Re: RFC: Keeping board documentation in the boards and in the website at same time

2023-01-19 Thread Alan C. Assis
ges in that folder. > > On Wed, Jan 18, 2023, 2:51 PM Alan C. Assis wrote: > >> Hi Everyone, >> >> As some have noticed some boards still have their README.txt in their >> original places: >> >> boards/arm/stm32/stm32f4discovery/README.txt >> boards

Re: USB host - HID keyboard and other things

2023-01-19 Thread Alan C. Assis
Hi Tim, AFAIK the current USB HID keyboard implementation existent on NuttX doesn't work with all keyboards. I don't know details about it, so let me share what I know so far: A NuttX user reported some years ago that he test USB Keyboard on STM32 boards and got it working. He was using the keybo

RFC: Keeping board documentation in the boards and in the website at same time

2023-01-18 Thread Alan C. Assis
Hi Everyone, As some have noticed some boards still have their README.txt in their original places: boards/arm/stm32/stm32f4discovery/README.txt boards/arm/rp2040/raspberrypi-pico/README.txt boards/x86_64/intel64/qemu-intel64/README.txt boards/risc-v/qemu-rv/rv-virt/README.txt boards/sim/sim/sim/

<    1   2   3   4   5   6   >