Skip to content

Commit 4695c1c

Browse files
DC-SWATQuzarDC
authored andcommitted
mie: Add an example for polling inputs, analogs, control outputs and calibration
1 parent 1f05b37 commit 4695c1c

2 files changed

Lines changed: 460 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# KallistiOS ##version##
2+
#
3+
# mie/basic/Makefile
4+
# Copyright (C) 2026 Ruslan Rostovtsev
5+
#
6+
7+
TARGET = mie_basic.elf
8+
OBJS = mie_basic.o
9+
10+
all: rm-elf $(TARGET)
11+
12+
include $(KOS_BASE)/Makefile.rules
13+
14+
clean: rm-elf
15+
-rm -f $(OBJS)
16+
17+
rm-elf:
18+
-rm -f $(TARGET)
19+
20+
$(TARGET): $(OBJS)
21+
kos-cc -o $(TARGET) $(OBJS)
22+
23+
run: $(TARGET)
24+
$(KOS_LOADER) $(TARGET)
25+
26+
dist: $(TARGET)
27+
-rm -f $(OBJS)
28+
$(KOS_STRIP) $(TARGET)
29+
$(KOS_OBJCOPY) -R .stack -O binary $(TARGET) $(TARGET).bin

0 commit comments

Comments
 (0)