Re: GPIO drivers

2024-01-17 Thread Stewart Charnell
o-l432kc board I am working with). For my relay driver that doesn't matter (if I don't export it back to github as a patch), but to make the relay driver more generic does this mean the relay.c file should be within the arch/arm/src/ directory? Kind regards Stewart On 17/01/2024 06:

Re: GPIO drivers

2024-01-16 Thread Stewart Charnell
Hello Bowen, Thank you for responding to my question. Yes I think the relay framework will do what I want, I will try it out. Kind regards Stewart Charnell On 17/01/2024 03:23, 汪博文 wrote: Hello, I'm Bowen Wang and nice to answer your question. Please correct me If I understand wrong

GPIO drivers

2024-01-16 Thread Stewart Charnell
regards Stewart Charnell

Problems adding a New Board Configuration

2024-01-11 Thread Stewart Charnell
stom/Kconfig: 1 - Changed: if ARCH_BOARD_NUCLEO_L432KC to: if ARCH_BOARD_NUCLEO_L432KC_CUST 2 - Changed: endif # ARCH_BOARD_NUCLEO_L432KC to: endif # ARCH_BOARD_NUCLEO_L432KC_CUST I then ran the following: stewart@stewart-HP-250-G6-Notebook-PC:/data/Nuttx/nuttx$ make distclean stewart@stewart-HP-250-G6

STM Nucleo-32 board - Additional SPI function mapping

2023-09-29 Thread stewart
am not using the STM Nucleo-32 board in Arduino nano pinout compatibility mode, as I want to use all possible pins. Should updates to any source files be backwards compatible at the .config file level? At the ./tools/configure.sh level? Kind regards Stewart Charnell

Re: STM Nucleo-32 board - I2C functionality

2023-09-26 Thread Stewart Charnell
Hi Daniel, Thanks for PR #10753, yes that fixed the problem for me. I am using a PCB with the ina260 sensor in place of the ina226, similar functionality and  I2C address. I am working on a driver for the ina260 which I can submit once I have completed more tests. Kind regards Stewart

Re: STM Nucleo-32 board - I2C functionality

2023-09-25 Thread Stewart Charnell
Hi Daniel, Sorry for not replying earlier, I was away for the weekend. I will test out PR #10753 tomorrow. Kind regards Stewart On 21/09/2023 15:13, Daniel Pereira Carvalho wrote: Hi Stewart, You are right, there is a mistake regarding pin definitions in the file boards/arm/stm32l4

STM Nucleo-32 board - I2C functionality

2023-09-20 Thread Stewart Charnell
ectively, not PCB pins D4 and D5. These calls to the stm32l4_configgpio functions cause the I2C1 lines to be disabled. Kind regards Stewart Charnell