Re: I2C on nRF52840

2021-01-10 Thread raiden00pl
Does your I2C device use I2C_M_NOSTART or I2C_M_NOSTOP flags for communication ? They are not supported by the current NRF52 I2C implementation. niedz., 10 sty 2021 o 05:42 Matias N. napisał(a): > I was about to enable error support but I noticed it is disabled in-code. > From the look of it the

Anyone using Clang?

2021-01-10 Thread Anthony Merlino
Hi all, Subject line says it all. I'm curious if anyone is successfully using clang instead of gcc and if so, how successful have you been with it? Best, Anthony

Re: SD Card automounter events

2021-01-10 Thread Gregory Nutt
Currently board-specific logic supports detection of when a card is inserted or removed via a mechanical GPIO pin on the physical SD slot.  That notification is used by the SDIO-based card driver to check for a valid card insertion/removal. For the case of the automounter with an SD card, the

nrf52 input buffer

2021-01-10 Thread Matias N.
Hi, while debugging the issue I mentioned in the other thread, I found something strange: when configuring a pin as input on nRF52, the input buffer is not enabled (by clearing the relevant INPUT bit of the PIN_CFG register): https://github.com/apache/incubator-nuttx/blob/master/arch/arm/src/nrf

SD Card automounter events

2021-01-10 Thread Fotis Panagiotopoulos
Hi everyone, I am working on a NuttX application that will run on a board that has a user-accessible SD card. The user may insert or remove the card during runtime, so I am using the NuttX automounter. The automounter works nicely, mounting and unmounting the card when it is inserted/removed. Ho

Re: Build environment using cmake, c++ and NuttX as a library

2021-01-10 Thread Flavio Castro Alves Filho
Hello Matt, I'm sorry for the long delay. I'm still trying to find a way to work more time with Nuttx. Here the link for my cmake base hellocpp for Nuttx: https://github.com/Phi-Innovations/nuttx-apps/tree/main/hellocpp Hope it is still useful for you. Best regards, Flavio Em sáb., 12 de de