Re: Bluetooth+WiFi+NuttX

2022-11-01 Thread michael . schmid
Hi Tim, if you use the ESP32 without the PSRAM, for example the ESP32-WROOM, then you have CLOCKIN (GPIO_0) and CLOCLOUT/CLOCKOUT180 available. When you use the ESP32 with PSRAM, as on the WROVER modules, the CLOCLOUT/CLOCKOUT180 are occupied by the PSRAM and not available. The CLOCKIN (GPIO

Re: libpq and libscpi: how to start

2022-10-28 Thread michael . schmid
An idea is, to offer a OS abstraction layer for databases, like ODBC did on Windows. Then, particular driver could do the connection to PostgreSQL, MySQL, whatever. But I agree, that the database drivers need to be brought to nuttx first. @Alan, is this MySQL port to nuttx somewhere available,

libpq and libscpi: how to start

2022-10-27 Thread michael . schmid
Dear all, i would like to see Nuttx support for the PostgreSQL client library libpq(https://github.com/postgres/postgres/tree/master/src/interfaces/libpq), and a library for SCPI(https://www.jaybee.cz/scpi-parser/api/). These scpi parser lib could then be used for USBTMC and LXI, 2 standards t

Re: Dev-Board for Nuttx

2022-10-26 Thread michael . schmid
Hi Alan, I am really happy to got your interest. Replacing the Pi with an EsPiFF with Nuttx is also our intention. The SWD for the RP2040 is alredy broken out, on J5, pin 6(SWCLK) and pin 8 (SWDIO). The connector J5 is a DF11, 2mm spacing connector, we will add cables with 2.54 Duponts on th

Re: Dev-Board for Nuttx

2022-10-26 Thread michael . schmid
Hello Sebastian, thanks for your interest! About the Wifi antenna: The used ESP32-WROVER-I has the wifi signal connected to the uFL connector by default, the PCB antenna would request to solder a 0 Ohm resistor, to use it. Because of the space limitations, we drop the idea to use the PCB ante

Dev-Board for Nuttx

2022-10-25 Thread michael . schmid
Dear Nuttx developers, we have developed the EsPiff (ESP32+RP2040 on the Raspberry Pi Form Factor), a open source board to replace RasPi's and there clones, where the high processing power and/or Linux is not needed, but stability and the reuse of RasPi HATs are required. The github home is

Porting Nuttx to new board: Question about SPI-FRAM / malloc

2022-07-27 Thread michael . schmid
Dear all, we are in the process of porting Nuttx to our new EsPiFF-V3 board. Basic Nuttx with nsh is working already. This is a board with a ESP32-WROVER module, and has additional SPI-connected FRAM (2kB to 256kB possible). How could the SPI-connected FRAM be integrated into Nuttx? - the FR

Re: Nuttx 10.0.3, ESP32-WROOM and MCUboot for OTA

2022-06-21 Thread michael . schmid
Hi Gustavo, thank you for the explanation. Unfortunately, I can't make it run on my ESP32-WROOM. I finally downloaded the MCUboot source, and build from source, and flashed it. But then got: "app build with a chip revision 3, but actual chip is revision 1". In the source code of MCUboot, in

Re: Apps: SQLite/Python on Nuttx

2022-06-20 Thread michael . schmid
to my understanding, uPython on Nuttx will be very similar to Python on Linux. The POSIX concept of both is (near) identical. On the other side, uPython on bare metal will be very different from both POSIX systems Nuttx and Linux. The example of the BMP180 sensor will most likely work on Nuttx

Re: Apps: SQLite/Python on Nuttx

2022-06-20 Thread michael . schmid
Hi Tomek, great to see your success on uPython for Nuttx. For your "I will have to see how much work with peripheral drivers will be out there in bare metal MP to NuttX,", I dont think there is much to do with the drivers: Nuttx have already many drivers written in C, and from uPython, you jus

Re: Apps: SQLite/Python on Nuttx

2022-06-20 Thread michael . schmid
oh, great. uPython may attract many people to Nuttx. Thank you for the hint. Am 2022-06-20 16:54, schrieb Simon Filgis: Hi Michael, I'm interested in SQ-Light, but do not have any clue of status. There is a newer PR for Micropython: https://github.com/apache/incubator-nuttx-apps/pull/840 Bes

Apps: SQLite/Python on Nuttx

2022-06-19 Thread michael . schmid
Dear all, I read, that SQLite was ported to Nuttx. Alan wrote that in a presentation in 2019 (https://nuttx.events/wp-content/uploads/2019/11/AAssis_nx2019.pdf). But I cant find SQLite in the 10.0.3 sources. Could somebody give me a hint, where these port is? Or is there any work in progres

Re: Nuttx 10.0.3, ESP32-WROOM and MCUboot for OTA

2022-06-19 Thread michael . schmid
Hi Gustavo, thank you for the fast reply. So there is the danger, to brick the board irreversible, when something is going wrong. That scares me. I took a look, if I can build the esp32-devkitc:mcuboot_update_agent. So I did make distclean make menuconfig. -> here I changed the ESP32-WROVER

Nuttx 10.0.3, ESP32-WROOM and MCUboot for OTA

2022-06-18 Thread michael . schmid
Dear all, I try to implement over-the-air(or Ethernet cable in my case) on ESP32-WROOM with the latest Nuttx 10.0.03. I followed a video "Secure Boot on NuttX with MCUboot demo"(https://www.youtube.com/watch?v=Vzy0rl-ixbc) from last year. Unfortunately, its not working for me. The current N

Re: "make menuconfig" break build-ability on ESP32-Ethernet-kit

2022-06-16 Thread michael . schmid
Dear Abdelatif, I finally managed to make a new board definition, and made this to compile well. Thanks for your support. Am 2022-06-16 09:45, schrieb Abdelatif Guettouche: From your .config file: CONFIG_ARCH_BOARD_CUSTOM_NAME="" CONFIG_ARCH_BOARD_CUSTOM_DIR="" Please set these to their cor

Re: "make menuconfig" break build-ability on ESP32-Ethernet-kit

2022-06-16 Thread michael . schmid
Hi Alan, thank you, I managed to create a new board, and can compile it now. I am diving into the code, and all the possibilities of Nuttx. Am 2022-06-16 14:46, schrieb Alan Carvalho de Assis: Alternately you can create a new board, it is not difficult. You can start copying some board fro

"make menuconfig" break build-ability on ESP32-Ethernet-kit

2022-06-15 Thread michael . schmid
Dear all, I am new to Nuttx, and I try to port Nuttx to our ESP32 board. I followed this article https://blog.espressif.com/getting-started-with-esp32-and-nuttx-fd3e1a3d182c what worked worked out. So good so far. But then: after a few "make menuconfig" and "make download ESPTOOL_PORT=/dev/tt