Skip to content

Commit

Permalink
Merge #19813
Browse files Browse the repository at this point in the history
19813: buildsystem: fix kconfig mismatches r=gschorcht a=maribu

### Contribution description

This adds three commits each addressing a deviation between dependency resolutions done with and without Kconfig. Hopefully, these in combination should fix the nightly builds.

### Testing procedure

For each `$failing_board` and `$failing_app` pair in the latest nightly build, do:

```
make BOARD=$failing_board -C $failing_app TEST_KCONFIG=0 info-modules > ~/without-kconfig
make BOARD=$failing_board -C $failing_app TEST_KCONFIG=1 info-modules > ~/with-kconfig
diff -rupN ~/without-kconfig ~/with-kconfig
```

should yield an empty diff other than the `=== [ATTENTION] Testing Kconfig dependency modelling ===`.

### Issues/PRs references

None

Co-authored-by: Marian Buschsieweke <[email protected]>
  • Loading branch information
bors[bot] and maribu authored Jul 9, 2023
2 parents c19626c + ca07f77 commit 123cce9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions boards/esp32s3-box/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ ifeq (,$(filter stdio_% slipdev_stdio usbus usbus% tinyusb_device,$(USEMODULE)))
# include $(RIOTMAKE)/tools/usb_board_reset.mk
endif

ifneq (,$(filter disp_dev,$(USEMODULE)))
USEMODULE += ili9341
endif

include $(RIOTBOARD)/common/esp32s3/Makefile.dep
include $(RIOTBOARD)/common/makefiles/stdio_cdc_acm.dep.mk
1 change: 1 addition & 0 deletions boards/sipeed-longan-nano/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ menu "Sipeed Longan Nano Board Configuration"

config SIPEED_LONGAN_NANO_WITH_TFT
bool "Board with TFT display"
default y
select HAVE_ST7735
help
Indicates that a Sipeed Longan Nano board with TFT display is used.
Expand Down
9 changes: 6 additions & 3 deletions drivers/st7735/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ config HAVE_ST7735
Indicates that an ST7735 display is present.

config MODULE_ST7789
bool "ST7789 display driver"
select MODULE_ST7735
bool
depends on HAVE_ST7789
default y if MODULE_ST7735
help
ST7789 display driver

config HAVE_ST7789
bool
select MODULE_ST7789 if MODULE_DISP_DEV
select MODULE_ST7735 if MODULE_DISP_DEV
help
Indicates that an ST7789 display is present.

Expand Down

0 comments on commit 123cce9

Please sign in to comment.