+1
Em ter., 22 de nov. de 2022 às 10:30, Nathan Hartman
escreveu:
>
> After hearing back from Infra about the repository naming convention,
> all the recent feedback has been to stay with the default and just
> remove "incubator-" from our repo names, giving:
>
> https://github.com/apache/nuttx
Hello Petro,
Did you use any specific feature from boost?
Most used features from boost were integrated to newer versions of C++.
I used C++-17 in a project and it worked fine.
Best regards,
Flavio
Em qua., 2 de mar. de 2022 às 11:01, Xiang Xiao
escreveu:
>
> We use both uClibc++ and
Hi Greg,
When I thought about this issue, my 'solution' was using NuttX as a library :-/
That would work for a single application, but we lose a lot in
application architecture using the NuttX tree.
Maybe porting using "same code"/different architectures would be
advised as a not-recommended
Hi Peter,
Yes, I intend to use it for simulation only.
It is for a personal project. I already have a Ubuntu based desktop
machine, which works fine. But for mobility, if I could work on my MAC, it
would be better.
I will try to figure out what is going on.
Thank you for all your help.
Best
t; nuttx-export/include
> nuttx-export/include/libcxx
> nuttx-export/arch/chip
>
> target_link_libraries:
> libs under nuttx-export/libs
>
> And set the compiler and linker flags at nuttx-export/scripts/Make.defs
>
> Nuno
>
>
> Em qui., 11 de nov. de 202
rs,
> Nuno
>
>
>
> Em qui., 11 de nov. de 2021 às 20:42, Flavio Castro Alves Filho <
> flavio.al...@gmail.com> escreveu:
>
> > Hello Nuno,
> >
> > Before starting working with cmake, it is important that the C++
> > configuration in nuttx is building a
Hello Nuno,
Before starting working with cmake, it is important that the C++
configuration in nuttx is building and running.
Did you get this part working?
Best regards,
Flavio
Em qui., 11 de nov. de 2021 19:17, Nuno Barcellos
escreveu:
> Hello!
>
> Could anyone get the C++ CMake HelloWorld
Alan,
How about a poll asking "which other OS would you like to build NuttX?" :-P
Best regards,
Flavio
Em sex., 24 de set. de 2021 às 17:45, Tim Hardisty
escreveu:
>
> Linux
>
>
>
> On 24/09/2021, 21:07, "Alan Carvalho de Assis" wrote:
>
> Sorry guys, I suppose you are using LinkedIn
This project is really nice.
Isn't it good enough for a presentation at the workshop?
Best regards,
Flavio
Em dom., 27 de jun. de 2021 às 13:49, Alan Carvalho de Assis
escreveu:
>
> Hi Nathan,
>
> Yes, I already suggested it, but he didn't submit a proposal to the
> N.O.W. event yet, he was
e
> tcp implementation in Nuttx behaves badly. I don't really have time to
> dive into this more right now, but this should give you some pointers
> and ideas to where to look further.
>
>Johnny
>
> On 2021-06-27 16:34, Flavio Castro Alves Filho wrote:
> > I'm sorry ...
I'm sorry ... I got the same behavior, but the send function now
started to work non-blocking.
Here is my situation:
* I have 2 mqtt brokers (tcp servers)
- one commercial (Tago.io)
- one personal (Mosquitto)
After a successful connection in both cases, the next step is to send
the mqtt
Is there any chance that the broker didn't like the mqtt connect
message and shutdown the connection and leaving my device alone ...
all during send call?
Em sáb., 26 de jun. de 2021 às 11:42, Flavio Castro Alves Filho
escreveu:
>
> Hello Greg,
>
> No. It was not set :-(
Hello Greg,
No. It was not set :-(
I turned on the configuration, but the problem persisted. :-(
Best regards,
Flavio
Em sáb., 26 de jun. de 2021 às 10:41, Gregory Nutt
escreveu:
>
> Do you have CONFIG_NET_TCP_WRITE_BUFFERS=y selected? It is required for
> TCP non-blocking send.
>
--
Hello,
I am using the MQTT-C library (https://github.com/LiamBindle/MQTT-C)
in my NuttX project and I am facing a quite interesting issue with a
specific server.
For a specific broker, which is a commercial one, after the connection
is established, when the MQTT Connect message is sent, the
Hello Guys,
In my specific situation, I use NuttX separately from the application,
deployed as a library.
And I use CMake to build my application. My reason to choose CMake was
tool integration and easier support to add other open source
libraries.
CMake can build fast, but make is not slow. In
>
> We really ought to talk to the Lua team and see if we can upstream the
> changes. Unsupported ports in NuttX don't have good shelf life.
>
I believe that one of the reasons is that Lua's major use case is to
be embedded inside applications, isn't it?
I don't know if Lua is used so much as a
To be honest, I started to work that way :-)
Then I had 2 doubts:
1. How to use the UART interface inside a device driver?
2. Is it ok to duplicate the AT commands? Maybe this question was answered :-)
Best regards,
Flavio
Em qui., 3 de jun. de 2021 às 12:53, Gregory Nutt
escreveu:
>
>
> >>
Hello,
I am working on the integration between ESP8266 module and
STMF4Discovery-based board using UART communication.
I am implementing a thread where I use USRSOCK to interface with the
NuttX network infrastructure and the netutils/esp8266 library to send
commands to the module.
My project
Em qui., 3 de jun. de 2021 às 11:33, Abdelatif Guettouche
escreveu:
>
> > Looking at NuttX source code, I couldn't find any example of an
> > application that implements the ESP8266 functions. Is there any place
> > where I can find reference for this use?
>
> There is a separate application in
ons.
Best regards,
Flavio
>
> El jue., 3 de jun. de 2021 9:02 AM, Flavio Castro Alves Filho <
> flavio.al...@gmail.com> escribió:
>
> > Hello,
> >
> > I am using UART.
> >
> >
> > Em qui., 3 de jun. de 2021 às 10:44, Grr escreveu:
&g
2021 8:27 AM, Flavio Castro Alves Filho <
> flavio.al...@gmail.com> escribió:
>
> > Hello,
> >
> > I am working on the integration between a STM32F4Discovery based board
> > to a ESP8266-WROOM-2 module, in order to have WiFi connectivity.
> >
>
Hello,
I am working on the integration between a STM32F4Discovery based board
to a ESP8266-WROOM-2 module, in order to have WiFi connectivity.
My plan is to implement a thread using USRSOCK and the ESP8266
functions available in netutils, using as reference the work
previously done with GS2200m.
Hello,
I am using LittleFS to store information on an external dataflash.
I need to know if the memory is full. I saw that the nsh provides the
df command, which as far as I understood is a cat for /proc/fs/usage
file.
In my code, I could see the LFS message indicating LFS_ERR_NOSPC,
which is
Em sáb., 22 de mai. de 2021 às 18:01, Gregory Nutt
escreveu:
>
>
> > In my application, I am not using nutshell.
> >
> > But I was wondering if is it the best, or correct or recommended way to do.
>
> I don't think there is a best or recommended in this case. You should
> do what is best for you
:-D
In my application, I am not using nutshell.
But I was wondering if is it the best, or correct or recommended way to do.
Best regards,
Flavio
Em sáb., 22 de mai. de 2021 12:24, David Sidrane
escreveu:
> Yes you can,
>
> Just call the app.
>
> Create and app. Call it what you like.
Hello,
This question is more of a curiosity. Which is the most used, or
recommended to implement and deploy an application in a NuttX
environment?
I saw that it is possible to have several applications to be called by
NuttShell, and you can set applications to run when NuttShell starts.
It is
Hello Tim,
I use VSCode with GDB and Segger.
But Ubuntu does not come with GDB. So I use x-pack toolchain to build and debug.
It works well.
Best regards,
Flavio
Em sex., 21 de mai. de 2021 às 13:28, Tim escreveu:
>
> Eventually got a Linux dev environment up and running (first PC
uption.
Best regards,
Flavio
Em qua., 19 de mai. de 2021 às 21:49, Flavio Castro Alves Filho
escreveu:
>
> Hello David,
>
> I will try this option.
>
> Thank you very much.
>
> Best regards,
>
> Flavio
>
>
> Em qua., 19 de mai. de 2021 19:28, David Sidran
Hello David,
I will try this option.
Thank you very much.
Best regards,
Flavio
Em qua., 19 de mai. de 2021 19:28, David Sidrane
escreveu:
> This https://github.com/apache/incubator-nuttx/pull/1924 was merged. It
> adds
> the polling.
>
> This is the app
Hello Gregory,
Thank you for your quick response.
Looking at the PRs, they seemed a bit complex for me :-| And I'm not
sure if it is that what I want or need.
What I was thinking was to use this call:
stm32_phyread(CONFIG_STM32F4_PHYADDR,MII_MSR,);
Then make the check:
if ((phyval &
hardware.
Considering this scenario, is there any alternative approach that I
could use to have this detection? Polling the phy, or something
similar?
Best regards,
Flavio
Em qua., 14 de abr. de 2021 às 11:45, Flavio Castro Alves Filho
escreveu:
>
> Gregory,
>
> Thank you for you
Hello,
I am also interested in being part of the event team.
Best regards,
Flavio
Em ter., 18 de mai. de 2021 às 12:10, escreveu:
>
> That is one of the things to be decided during the meeting
>
> Regards
> Alin
>
> -Original Message-
> From: Abdelatif Guettouche
> Sent: den 18 maj
> > Alan
> >
> > On 5/12/21, Miguel Wisintainer wrote:
> >> Good question!
> >>
> >> Enviado do meu iPhone
> >>
> >>> Em 11 de mai. de 2021, à(s) 15:33, Flavio Castro Alves Filho
> >>> escreveu:
> >>>
&
Hello,
I am evaluating whether to use NuttX on a project based on the
b-l072z-lrwan1 board.
Looking at the repository, I understood that most part of the features
regarding the microcontroller was implemented, but it was not clear
the support for LoRa and its stack.
How can I get the current
get the WSL or
> MAC approach to work.
>
> I am really hating Window at the moment (1 machine can connect to my Mac, the
> other can't...many hours wasted NOT fixing it!) and I had thought it time to
> jump ship to Mac...but Linux seems even more appealing right now!!
>
> On 11/
It seems that it is possible to run JLink from Windows in WSL.
Em ter., 11 de mai. de 2021 às 14:23, Tim Hardisty
escreveu:
>
> Thanks Alan. Compiling is no problem it is debugging that is my issue. I see
> from your process that you copied the elf from the WSL environment to the
> Windows
Hello Tim,
What I do here to implement a NuttX application is to use an Ubuntu
Server VM (in my case, VMWare).
In this VM, I map my Jlink (which is a nucleo board with changed
firmware). I use Segger tools to load the firmware.
To code, I use VSCode in Windows with SSH access to the VM (I set a
Hello Xiang,
> >
> Yes, if you just want to create an empty littlefs partition, littlefs
> driver can do it without the userspace tool assistance.
> Either run the mount command from nsh:
> mount -t littlefs -o autoformat /dev/mtd /mnt
> Or call mount function from board_initialize like this:
>
. Run mount from nsh like this:
>
>mount -t littlefs -o autoformat /dev/mtd /mnt
>
>
> On Wed, Apr 28, 2021 at 8:03 PM Flavio Castro Alves Filho <
> flavio.al...@gmail.com> wrote:
>
> > Hello,
> >
> > Today my application uses SmartFS associated with MX
Hello,
Today my application uses SmartFS associated with MX25L SPI Dataflash.
I intend to replace the SmartFS to LittleFS.
In the filesystem section of menuconfig, I can disable
CONFIG_FS_SMARTFS and enable CONFIG_FS_SMARTFS.
But when I go to "Device Drivers" --> "Memory Technology Device
Hello,
I intend to implement a firmware update feature for my project, which
is based on stm32f4discovery.
My idea is to load a separated ELF file on the dataflash, which is
loaded using the approach described in the following video:
https://www.youtube.com/watch?v=oL6KAgkTb8M
When running this
It worked.
Just changing the linker script was enough.
Thank you very much.
Best regards,
Flavio
Em qua., 21 de abr. de 2021 às 16:00, Gregory Nutt
escreveu:
>
>
> > But I don't know if there is anything to be done directly in NuttX source
> > code.
>
> Nothing other than setting the VBAR
Hello,
To have usbnsh working I used, as a workaround, the implementation
done in this pull request:
https://github.com/apache/incubator-nuttx-apps/pull/521
In my application I don't use nsh. And USB-CDC works fine accessing
directly the device.
Hope it helps,
Best regards,
Flavio
Em ter.,
Hello,
I intend to use a NuttX firmware with a custom bootloader on a
STM32F4DISCOVERY board.
The bootloader will be executed on the first available memory block in
flash, and the firmware will start from the second block - position
0x0802.
I believe I know what to do regarding linker
gic (in which case arch_phy_irq()) is
> boards/arm/samv7/samv71-xult/src/sam_ethernet.c:int arch_phy_irq(FAR
> const char *intf, xcpt_t handler, void *arg,
> boards/arm/stm32/stm32f4discovery/src/stm32_ethernet.c: * Name:
> arch_phy_irq
> boards/arm/stm32/stm32f4
related events to
> >> applications via signals. It requires board-level support to handle PHY
> >> interrupts.
> >>
> >> The network monitor thread at apps/netutils/netinit (see
> >> CONFIG_NETINIT_MONITOR) will handle taking the network down if the cable
> >
_MONITOR) will handle taking the network down if the cable
> > is unplugged and bringing it back up when the cable is restored.
> >
> > On 4/14/2021 7:24 AM, Flavio Castro Alves Filho wrote:
> >> Hello,
> >>
> >> I am implementing an application using NuttX wh
nterrupts.
> >
> > The network monitor thread at apps/netutils/netinit (see
> > CONFIG_NETINIT_MONITOR) will handle taking the network down if the
> > cable is unplugged and bringing it back up when the cable is restored.
> >
> > On 4/14/2021 7:24 AM, Flavio Castro Alves Filho wrote
Hello,
I am implementing an application using NuttX where I need to detect if
the network cable is plugged or not in my board.
Today I implemented the function netlib_getifstatus(), which automates
the read of SIOCGIFFLAGS, similar to what we have in Linux.
But, in my tests, it seems that it is
Hello,
I did a simple sample code using CMake and NuttX as external library:
https://github.com/Phi-Innovations/nuttx-apps/tree/main/example-mqtt
Hope it helps.
I used MQTT-C for it, and I added the sources into my project (not into Nuttx).
It would be nice to have the library integrated into
est.txt
test
nsh>
Thank you for your help.
Best regards,
Flavio
Em seg., 22 de mar. de 2021 às 09:55, Abdelatif Guettouche
escreveu:
>
> Try: mount -t smartfs /dev/smart0 --> mount -t smartfs /dev/smart0 /mnt
>
> On Mon, Mar 22, 2021 at 1:17 PM Flavio Castro Alves Filho
>
Hello Xiang,
I found it out and created the pull request :-)
Em dom., 21 de mar. de 2021 às 12:11, Flavio Castro Alves Filho
escreveu:
>
> Hello Xiang,
>
> I create the documentation in my fork:
> https://github.com/Phi-Innovations/incubator-nuttx/blob/master/Documentation/guide
m., 21 de mar. de 2021 às 12:22, Alan Carvalho de Assis
escreveu:
>
> Hi Flavio,
>
> You need to enable also the CONFIG_BCH, some recent modification in
> the BCH created this side-effect.
>
> BR,
>
> Alan
>
> On 3/21/21, Flavio Castro Alves Filho wrote:
> > Hello,
&g
Hello,
I am trying to use my stm32f4discovery board with MX25L800 dataflash
memory, through SPI and SmartFS file system.
I installed a NuttX driver for this memory type and I am having
problems making this memory work. I cannot format the memory.
Here is the output on the console, with FS Debug
our experience in the
> > Documentation folder when you find some free time.
> >
> > On Wed, Mar 17, 2021 at 9:54 PM Flavio Castro Alves Filho <
> > flavio.al...@gmail.com> wrote:
> >
> > > Hello Xiang,
> > >
> > > I could finally b
ID);/* Only needed for OTG */
> #endif
>
> I think this the right solution, but let hear from others to know if
> there is a better solution.
>
> BR,
>
> Alan
>
> On 3/21/21, Flavio Castro Alves Filho wrote:
> > Hello Allan,
> >
> > I found the solutio
that this pin be flexible. The ID pin is not
mandatory when we intend to implement USB device software.
I will think of an option in menuconfig and I will propose to you.
Best regards,
Flavio
Em sáb., 20 de mar. de 2021 às 14:59, Flavio Castro Alves Filho
escreveu:
>
> Hello Allan,
>
&g
Hello Allan,
I believe that rx pin from usart1 (PA10) is not yet operational.
I could not find in code why.
Best regards,
Flavio
Em sáb, 20 de mar de 2021 14:18, Alan Carvalho de Assis
escreveu:
> On 3/20/21, Flavio Castro Alves Filho wrote:
> > Updating:
> >
> >
of the software, to identify what's running wrong.
Best regards,
Flavio
Em sáb, 20 de mar de 2021 08:11, Flavio Castro Alves Filho <
flavio.al...@gmail.com> escreveu:
> Hello,
>
> I am trying to enable USB CDC support with base NSH Serial in a
> STM32F4 Discovery board.
>
> W
Hello,
I am trying to enable USB CDC support with base NSH Serial in a
STM32F4 Discovery board.
When I build using usbnsh configuration, it works.
When I build using nsh configuration (in my case, replacing USART2 to
USART1), it works.
Now, when I try to add USB CDC support in nsh
gt; On Wed, Mar 17, 2021 at 9:54 PM Flavio Castro Alves Filho <
> flavio.al...@gmail.com> wrote:
>
> > Hello Xiang,
> >
> > I could finally build an C++ project using CMake and exported NuttX.
> > - Before that, I made a test creating the same project insi
Hello,
I started to implement code in Nuttx, using it as an external library approach.
When reimplementing (recompiling, in fact) the tcpechoserver
application, there was a compilation issue where netlib was not found
on nuttx-export headers.
I solved this issue manually copying only the header
JsonCpp (https://github.com/nlohmann/json) together and it
worked fine.
Thank you for all your support.
Best regards,
Flavio
Em ter., 16 de mar. de 2021 às 21:04, Flavio Castro Alves Filho
escreveu:
>
> Xiang,
>
> I believe the problem was related to something on my branch.
>
às 16:24, Xiang Xiao
escreveu:
>
> Try to remove CONFIG_ARCH_FLOAT_H
>
> On Tue, Mar 16, 2021 at 12:15 PM Flavio Castro Alves Filho <
> flavio.al...@gmail.com> wrote:
>
> > Hello Xiang,
> >
> > It is still not working. The error p
t;nsh_main"
Any idea of what is missing?
Best regards,
Flavio
Em ter., 16 de mar. de 2021 às 14:32, Xiang Xiao
escreveu:
>
> On Tue, Mar 16, 2021 at 10:20 AM Flavio Castro Alves Filho <
> flavio.al...@gmail.com> wrote:
>
> > Hello Xiang,
> >
> > Em ter., 16 de m
Hello Xiang,
Em ter., 16 de mar. de 2021 às 14:01, Xiang Xiao
escreveu:
>
> On Tu
> >
> This project use the modern C++ feature, so you must enable llvm
> ibc++(CONFIG_LIBCXX=y)
I tried a new build, executing:
$ make distclean
$ ./tools/configure.sh -l stm32f4discovery:testlibcxx
$ make
I can
Concerning cxx or cpp ... I have to tell you that I was not used for
cxx ... but it is not a problem anyway.
What is disturbing me now is that there are problems regarding newlib
c++ and uClib++.
I tried to add this json project: https://github.com/nlohmann/json, in
single header mode.
I am
for the linking
error. I need to figure out how to address this. If you have any
suggestions, please let me know.
Best regards,
Flavio
Em seg., 15 de mar. de 2021 às 08:24, Flavio Castro Alves Filho
escreveu:
>
> Hello Xiang,
>
> Thank you for your fast response.
>
> I was t
Flavio Castro Alves Filho <
> flavio.al...@gmail.com> wrote:
>
> > Hello,
> >
> > I am trying to use STL in a simple C++ Hello project and I am getting
> > compilation error.s
> >
> > Is STL supported in NuttX? Can I use it?
> >
> >
> Yes,
Hello,
I am trying to use STL in a simple C++ Hello project and I am getting
compilation error.s
Is STL supported in NuttX? Can I use it?
Here is my sample code:
=== Hello.cpp ===
#include
#include "HelloWorld.h"
CHelloWorld::CHelloWorld() {
mSecret = 42;
printf("Constructor:
> connecting.
>
> On 1/17/2021 9:10 AM, Flavio Castro Alves Filho wrote:
> > Thank you very much for your fast response.
> >
> > I checked the boot calls and they are the same, regarding USB
> > initialization.
> >
> > I compared the include/nuttx/confi
plains why you get no USB log. How could you? It is
> configured to go to the console (i.e., /dev/console) but there is no console
> device.Sent from my Galaxy
> Original message ----From: Flavio Castro Alves Filho
> Date: 1/17/21 3:50 PM (GMT-06:00) To:
> dev@nut
let's us know if you see some difference.
>
> BR,
>
> Alan
>
> On 1/17/21, Flavio Castro Alves Filho wrote:
> > Thank you very much for your fast response.
> >
> > I checked the boot calls and they are the same, regarding USB
> > initialization.
> >
>
different
> board name. With "make savedefconfig" you can save your working defconfig
>
> El dom, 17 ene 2021 a las 7:51, Flavio Castro Alves Filho (<
> flavio.al...@gmail.com>) escribió:
>
> > As an additional information, if I load the STM32F4DISCO on my boa
As an additional information, if I load the STM32F4DISCO on my board, USB works.
Em dom., 17 de jan. de 2021 às 10:43, Flavio Castro Alves Filho
escreveu:
>
> Hello,
>
> I am working to port NuttX on a board based on STM32F4DISCOVERY. The
> microcontroller is the STM32F407VE
Hello,
I am working to port NuttX on a board based on STM32F4DISCOVERY. The
microcontroller is the STM32F407VET6.
USB CDC support is not initializing.
When I plug the USB on the board, I have the following dmesg response in Linux:
[517062.075048] usb usb1-port2: attempt power cycle
aches on my end. Thanks!
>
> Matt
>
> On Fri, Dec 11, 2020 at 10:07 AM Flavio Castro Alves Filho <
> flavio.al...@gmail.com> wrote:
>
> > Hello Marc,
> >
> > Thank you for your response.
> >
> > In fact, it was a little more than that: I di
recommend you to add the flag -nostdlib. At least it is going
> to avoid newlib symbol problems.
>
> regards,
> marc
> Am 11.12.2020 um 13:07 schrieb Flavio Castro Alves Filho:
> > Hello,
> >
> > Has anybody here used NuttX as a library and a C++ project with cma
Hello,
Has anybody here used NuttX as a library and a C++ project with cmake?
I tried to create a project (using hellocxx example) with this setup,
but I was not successful. I can build, but I cannot link.
My link errors are the following:
[ 33%] Linking CXX executable hellocpp
dge,
>bool event, xcpt_t func, void *arg);
>
> We need investigate which patch broke the "make export" and fix it.
>
> BR,
>
> Alan
>
> On 11/16/20, Flavio Castro Alves Filho wrote:
> > Hello,
> >
> > I intend to build
Hello,
I intend to build a nuttx application using the operating system as an
external library.
I am working on a custom board running stm32f417 and I am following
the instructions from the following link:
https://acassis.wordpress.com/2020/06/28/using-nuttx-as-library-once-again/
For the first
Hello Nathan,
Thank you for your return.
I found this procedure on another similar tutorial :-)
I could see the network interface up.
Best regards,
Flavio
Em seg., 21 de set. de 2020 às 13:34, Nathan Hartman
escreveu:
>
> On Sat, Sep 19, 2020 at 7:36 AM Flavio Castro Alves Filho
&g
às 20:16, Brennan Ashton
escreveu:
>
> On Fri, Sep 18, 2020 at 3:16 PM Flavio Castro Alves Filho
> wrote:
> >
> > Hello Matias,
> >
> > Em sex., 18 de set. de 2020 às 16:26, Matias N. escreveu:
> > >
> > > Hi Flavio,
> > > please h
;
Probably there is something with this board.
> Best,
> Matias
>
Thank you for your response.
Best regards,
Flavio
> On Fri, Sep 18, 2020, at 16:16, Flavio Castro Alves Filho wrote:
> > Hello,
> >
> > I am studying NuttX for a new project. I am using Nucleo-F42
Hello,
I am studying NuttX for a new project. I am using Nucleo-F429ZI as
reference, which is quite a complete board and has a large memory for
testing.
I followed some instructions from the internet (mostly from NuttX
website) and I could compile and run a binary on the board. Including
85 matches
Mail list logo