Add gpio.{h, c}

This commit is contained in:
Alexander Heldt
2024-07-28 11:42:38 +02:00
parent 9b1e1b6f21
commit a8a5e21b77
14 changed files with 8228 additions and 721 deletions

View File

@@ -8,6 +8,8 @@ CFLAGS += -ffunction-sections -fdata-sections
CFLAGS += -fno-builtin
# "-fno-common ... specifies that the compiler places uninitialized global variables in the BSS section of the object file."
CFLAGS += -fno-common
# Use experimental binary literal gcc extension (to be able to use binary literals; e.g. 0b0101)
CFLAGS += -std=c2x
DEBUG ?= 1
ifeq ($(DEBUG), 0)