nuttx/boards/arm
Michał Łyszczek 4e5d8aca3d nucleo-wl55jc: add buttons and gpio interrupt support
This patch adds to the nucleo-wl55jc previously implemented EXTI support.
Button support with nuttx's button driver is added.

I've written small example to show how to use GPIO EXTI. B3 button can be
used (selectable via Kconfig) to toggle Red LED.

I've added new defconfig for demo purposes. I've included there config
and enabled example programs that are meant to demonstrate functions of
the board and does not really have a place in real world project. Like
Red LED can be toggled with B3 button, or LED example that flashes LEDS,
or button example to show which button has been pressed.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>

--
v1 -> v2:
Suggested by: Petro Karashchenko
- Change (1 << 0) to (1 << BUTTON1_BIT (and similar)

v2 -> v3:
- Fix invalid BUTTON3_BIT value

v3 -> v4:
Suggested by: Petro Karashchenko
- Change 0/1 to false/true
2022-06-13 20:21:20 +08:00
..
a1x/pcduino-a10 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
am335x/beaglebone-black Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
c5471/c5471evm boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
cxd56xx boards: spresense: defconfig: enable ISX019 camera driver 2022-05-31 19:52:33 +08:00
dm320/ntosd-dm320 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
efm32 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
eoss3/quickfeather Move "-nostartfiles -nodefaultlibs" from Make.defs to Toolchian.defs 2022-05-18 08:26:02 -04:00
imx6/sabre-6quad arch: imx6: add support kernel build and smp 2022-05-27 01:31:58 +08:00
imxrt Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
kinetis boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
kl boards: arm: kl: keep cfmconfig sections in linker script 2022-05-21 00:03:03 +08:00
lc823450/lc823450-xgevk boards/xxx: Remove CONFIG_SCHED_ATEXIT/ONEXIT from all defconfigs 2022-05-25 15:28:43 +08:00
lpc17xx_40xx boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
lpc31xx Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
lpc43xx boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
lpc54xx/lpcxpresso-lpc54628 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
lpc214x boards/arm: Remove "LDFLAGS += -g" whichi is already added by Toolchain.defs 2022-05-16 11:17:08 +03:00
lpc2378/olimex-lpc2378 boards/arm: Remove "LDFLAGS += -g" whichi is already added by Toolchain.defs 2022-05-16 11:17:08 +03:00
max326xx/max32660-evsys Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
moxart/moxa boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
nrf52 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
nuc1xx/nutiny-nuc120 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
phy62xx/phy6222 boards/arm: Remove "LDFLAGS += -g" whichi is already added by Toolchain.defs 2022-05-16 11:17:08 +03:00
rp2040 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
s32k1xx Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
sam34 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
sama5 Change dpends on SCHED_[L|H]PWORK to SCHED_WORKQUEUE 2022-05-28 18:41:51 +03:00
samd2l2 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
samd5e5 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
samv7 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
stm32 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
stm32f0l0g0 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
stm32f7 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
stm32h7 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
stm32l4 Correct code formatting 2022-06-07 03:20:57 +08:00
stm32l5 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
stm32u5 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
stm32wl5/nucleo-wl55jc nucleo-wl55jc: add buttons and gpio interrupt support 2022-06-13 20:21:20 +08:00
str71x/olimex-strp711 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
tiva boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
tlsr82/tlsr8278adk80d arm/tlsr82: gpio driver bug fix and optimize. 2022-06-07 22:26:36 +08:00
tms570 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
xmc4 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00