Re: Error when building custom board

2022-03-02 Thread Petro Karashchenko
Hello Jukka, So you experience the same problem as Daniel and reverting the commit helps? Before f77956a227f1db6ecb44eda3814e7b02aa2187a6 there was no way to reuse common code from "nuttx/board/...". I'm using a custom board based on SAME70 and after https://github.com/apache/incubator-nuttx/pull

Re: Error when building custom board

2022-03-02 Thread Jukka Laitinen
HI, Not sure what is the correct way to fix this, but I reverted: " commit f77956a227f1db6ecb44eda3814e7b02aa2187a6 Author: Petro Karashchenko Date:   Wed Jan 19 11:16:11 2022 +0200     tools: add option to reuse boards common files for custom boards     Signed-off-by: Petro Karashchenko "

Re: Error when building custom board

2022-03-02 Thread Abdelatif Guettouche
Please check the common/Make.defs file in-tree of the board you based your custom board on. There is a new variable introduced. (Sorry, writing from my phone. I'll try to send a direct link later.) On Thu, Mar 3, 2022, 07:10 Petro Karashchenko wrote: > Hi, > > Do you want to use board common cod

Re: Error when building custom board

2022-03-02 Thread Petro Karashchenko
Hi, Do you want to use board common code? There where some code tree restructurings to eliminate code duplication. There is an option to enable/disable common code in menu config. Please try to use it and feedback if it helps you. Best regards, Petro On Thu, Mar 3, 2022, 12:06 AM Daniel Pereira

Re: nuttx lora sx127x device use for help

2022-03-02 Thread 王国柱
I tested the two devices with an oscilloscope and both have signals, but there is no communication between the two devices. One is always sending data, and the other is waiting to receive data. Does the communication between the two devices need to be networked first? That's what it used to be

Re: nuttx lora sx127x device use for help

2022-03-02 Thread Prelude
That's what it used to be, but I used two boards to execute sx127x -r on one of the boards and sx127x -t on the other, expecting communication between the two boards, but it didn't work as expected . Do you need any other configuration? the first board: nsh> sx127x -t Start sx127x_demo LORA modul

Error when building custom board

2022-03-02 Thread Daniel Pereira Carvalho
Hi guys, I am having problems building custom boards outside of the Nuttx folder tree. Usually I use the following folder structure. |-> apps |-> my-folder |-> my-apps |-> custom-app |-> my-boards |-> custom-board |-> nuttx To build my apps I just need to create a symbolic link

Re: nuttx lora sx127x device use for help

2022-03-02 Thread Alan Carvalho de Assis
If you configure created the initialization file, like: boards/arm/stm32/stm32f4discovery/src/stm32_sx127x.c And added the SPI chip to control your device, see CONFIG_LPWAN_SX127X at: see boards/arm/stm32/stm32f4discovery/src/stm32_spi.c Then the communication should work. Do you have a logic

Re: NuttX and C++ libraries: boost / ASIO / std::chrono

2022-03-02 Thread Xiang Xiao
We use both uClibc++ and libc++, both work fine. But never try the boost library. On Wed, Mar 2, 2022 at 9:16 PM Petro Karashchenko < petro.karashche...@gmail.com> wrote: > Hello team, > > I would like to ask who has used C++ libraries with NuttX. For example > if I have a C++ application that is

NuttX and C++ libraries: boost / ASIO / std::chrono

2022-03-02 Thread Petro Karashchenko
Hello team, I would like to ask who has used C++ libraries with NuttX. For example if I have a C++ application that is based on boost and std::chrono then what should be a good way of starting it with NuttX? Best regards, Petro

Re: nuttx lora sx127x device use for help

2022-03-02 Thread Alan Carvalho de Assis
You just need two devices a tx and a rx. Look the sx127x demo app source code, you need to run the other as tx. BR, Alan On Monday, February 28, 2022, 王国柱 wrote: > > sx127x has been executed successfully > nsh> sx127x > Start sx127x_demo > LORA modulation > Set frequency to 93000 > Set po

RE: Graduation?

2022-03-02 Thread alin.jerpe...@sony.com
Hi all, I am happy to announce that the licenses are migrated to Apache and the remaining ones are documented in the LICENSE file It would be good If someone can run a FOSSID scan to double check the licenses (in case I missed something) then I think that we can remove the DISCLAIMER-WIP fro

nuttx lora sx127x device use for help

2022-03-02 Thread 王国柱
sx127x has been executed successfully nsh> sx127x Start sx127x_demo LORA modulation Set frequency to 93000 Set power to 14 Waiting for data But keep waiting for data,There should be more than two devices for communication here. How to set it up?

Re: nuttx lora sx127x device use for help

2022-03-02 Thread 经天纬地
Then I use two same STM32 boards to test Lora sx127x, one for receiving and one for sending. How should I set it, in nuttx code or menuconfig? 回复的原邮件 | 发件人 | MIGUEL ALEXANDRE WISINTAINER | | 日期 | 2022年02月28日 21:55 | | 收件人 | 经天纬地 | | 抄送至 | | | 主题 | Re: nuttx lora sx127x device use for

Re: Using Nuttx with the CORTEXM33 STM32U5

2022-03-02 Thread Aaron Rito
Ok I see it now, thank you. I will relay this information and get back to Michael about next steps. Thank you very much for your responses! On Fri, Feb 25, 2022 at 10:19 PM Michael Jung wrote: > Hi Aaron, > > you can see the mail trail Alan is referring to at > https://www.mail-archive.com/dev@n

Re: nuttx lora sx127x device use for help

2022-03-02 Thread 王国柱
Are you talking about here, with two devices, one set to APP_MODE_RX and the other set to APP_MODE_TX? apps\examples\sx127x_demo\sx127x_demo.c int main(int argc, FAR char *argv[]) { #ifdef CONFIG_LPWAN_SX127X_RXSUPPORT struct sx127x_read_hdr_s data; #endif struct sx127x_chanscan_ioc_s chansc