mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
Merge #19285
19285: pkg/u8g2: bump version r=gschorcht a=benpicco Co-authored-by: Benjamin Valentin <benpicco@beuth-hochschule.de>
This commit is contained in:
commit
810f8a83eb
@ -1,6 +1,6 @@
|
||||
PKG_NAME=u8g2
|
||||
PKG_URL=https://github.com/olikraus/u8g2
|
||||
PKG_VERSION=2e47ff05e7e7b38057fa875e14c4ecce2fb6a615
|
||||
PKG_VERSION=3500b1056b33999b285387d196c78fe4ab707f79
|
||||
PKG_LICENSE=BSD-2-Clause
|
||||
|
||||
include $(RIOTBASE)/pkg/pkg.mk
|
||||
|
@ -4,11 +4,16 @@ INCLUDES += -I$(RIOTBASE)/pkg/u8g2/contrib
|
||||
DIRS += $(RIOTBASE)/pkg/u8g2/contrib
|
||||
|
||||
# The RIOT-OS interface needs this to store peripheral information.
|
||||
CFLAGS += -DU8X8_WITH_USER_PTR
|
||||
ifneq (native, $(CPU))
|
||||
CFLAGS += -DU8X8_WITH_USER_PTR
|
||||
endif
|
||||
|
||||
# Link SDL if enabled.
|
||||
ifneq (,$(filter u8g2_sdl,$(USEMODULE)))
|
||||
LINKFLAGS += $(shell sdl2-config --libs)
|
||||
endif
|
||||
|
||||
# https://github.com/olikraus/u8g2/pull/2101
|
||||
CFLAGS += -Wno-error=sign-compare
|
||||
|
||||
PSEUDOMODULES += u8g2
|
||||
|
Loading…
Reference in New Issue
Block a user