aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Goger <klaus.goger@theobroma-systems.com>2023-11-28 12:22:29 +0100
committerQuentin Schulz <quentin.schulz@theobroma-systems.com>2023-11-28 16:21:47 +0000
commit89e1de8412728a418356cdf881b088235ad1cc16 (patch)
tree25b1f82e81d8c2951d8f9bc8d106e18a6bd70de4
parent78b8c41cef467d76d7b19c305b554c219414e6d8 (diff)
mule-attiny: bitbang_updi_reset: Remove Makefile
Everything in place to use meson exclusively and we can finally remove the Makefile. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
-rw-r--r--mule-attiny/bitbang_updi_reset/Makefile38
1 files changed, 0 insertions, 38 deletions
diff --git a/mule-attiny/bitbang_updi_reset/Makefile b/mule-attiny/bitbang_updi_reset/Makefile
deleted file mode 100644
index 919411c..0000000
--- a/mule-attiny/bitbang_updi_reset/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# updi-reset makefile
-# date : 15/02/2023
-
-# Support building from outside of directory (via e.g. `make -C <path>`
-# taken from <https://stackoverflow.com/a/23324703>
-MAKE_PATH = $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
-
-CROSS_COMPILE ?=
-CC = $(CROSS_COMPILE)gcc
-
-CFLAGS ?= -Wall -Werror
-
-# Executable
-EXEC = $(MAKE_PATH)/updi_reset
-
-# For testing purposes
-ifeq ($(findstring reset,${MAKECMDGOALS}), reset)
-ifndef RST_GPIOCHIP_IDX
-$(error RST_GPIOCHIP_IDX is not set)
-endif
-ifndef RST_GPIO_IDX
-$(error RST_GPIO_IDX is not set)
-endif
-endif
-
-.PHONY: reset build clean
-
-build: $(EXEC)
-$(EXEC): *.c *.h Makefile
- $(CC) serial_emu.c updi_emu.c updi_reset.c -lgpiod $(CFLAGS) -o $(EXEC)
-
-# For testing purposes
-reset: $(EXEC)
-# Give this script the highest scheduling priority (-20) To avoid extra intra-packet sampling delays.
- nice --20 $(EXEC) $(RST_GPIOCHIP_IDX) $(RST_GPIO_IDX)
-
-clean:
- rm -f $(EXEC)