-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (18 loc) · 902 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
######################################################################
# Project Makefile
######################################################################
BINARY = main
SRCFILES = main.c rtos/heap_4.c rtos/list.c rtos/port.c rtos/queue.c rtos/tasks.c rtos/opencm3.c rtos/usbcdc.c
LDSCRIPT = stm32f103c8t6.ld
# DEPS = # Any additional dependencies for your build
# CLOBBER += # Any additional files to be removed with "make clobber"
include ../../Makefile.incl
include ../Makefile.rtos
######################################################################
# NOTES:
# 1. remove any modules you don't need from SRCFILES
# 2. "make clean" will remove *.o etc., but leaves *.elf, *.bin
# 3. "make clobber" will "clean" and remove *.elf, *.bin etc.
# 4. "make flash" will perform:
# st-flash write main.bin 0x8000000
######################################################################