Re: Support for disk full detection using LittleFS

2021-05-30 Thread Takashi Yamamoto
On Fri, May 28, 2021 at 9:21 PM Flavio Castro Alves Filho wrote: > > 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

Re: Support for disk full detection using LittleFS

2021-05-30 Thread Xiang Xiao
On Fri, May 28, 2021 at 8:21 PM Flavio Castro Alves Filho < flavio.al...@gmail.com> wrote: > 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 f

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-30 Thread Alan Carvalho de Assis
Hi Miguel, the size text font in the image you sent is impossible to read. I suggest you to select the text and post it here as raw text instead attaching image. BR, Alan On 5/29/21, Miguel Wisintainer wrote: > Some questions, > I can see the nimble and i can execute, but freeze...must it to

Re: Custom board PIO - philosophy

2021-05-30 Thread TimH
Thanks Alan, I'd forgotten that there's a board-specific sam_mcan.c file (I'm so bogged down creating the correct arch. mcan driver for this processor; based on the one for the samv7)! I will put my custom stuff in there. Obvious now you made me think about it :) On 30/05/2021 11:42, Alan

Re: Custom board PIO - philosophy

2021-05-30 Thread Alan Carvalho de Assis
Hi Tim, Normally an arch CAN driver doesn't have this enable pin or other similar GPIO. But if you plan to do it for your custom driver, it is better to use a generic solution, like the CAN TX/RX pins do. Also UART, SPI and I2C uses this solution. Creating an #ifdef for each board inside your dr

Custom board PIO - philosophy

2021-05-30 Thread TimH
Hi all, My custom board has a number of GPIOs that are related to more generic drivers. For example, the CAN implementation uses an arch. CAN driver appropriate for the processor, but has custom GPOs associated to enable/disable the CAN transceivers, and to enable/disable termination resistor