-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdwtk-config.mk
59 lines (43 loc) · 2.04 KB
/
dwtk-config.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
# dwtk-makefile: A generic Makefile for AVR projects using dwtk.
# Copyright (C) 2020 Rafael G. Martins <[email protected]>
#
# This program can be distributed under the terms of the BSD 3-Clause License.
# See https://opensource.org/licenses/BSD-3-Clause.
#
# This is an example configuration. Please check the datasheet of your
# microcontroller and fill the options carefully before uncommenting each
# of them.
### Main settings
# The target AVR microcontroller
#AVR_MCU ?= attiny25
# The frequency of the AVR microcontroller. Must match the actual operating
# clock of the microcontroller, otherwise the delay functions won't work as
# expected.
#AVR_F_CPU ?= 8000000UL
### Fuses (only usable with SPI-capable dwtk-ice hardware)
# Low fuse. Should be configured according to the hardware clock.
#AVR_LFUSE ?= 0xE2
# High fuse. This value must have the SPIEN bit programmed, otherwise it is
# impossible to disable debugWIRE.
#AVR_HFUSE ?= 0xDF
# Extended fuse. Usually not changed. It is safe to keep this commented out.
#AVR_EFUSE ?= 0xFF
# Lock bits. Used to prevent further programming and verification of the chip.
# After programming such bits, it may be necessary to erase the chip to
# unprogram them. Usually not changed. It is safe to keep this commented out.
#AVR_LOCK ?= 0xFF
### Firmware specific settings
# Firmware name. The filename (without extension) of the firmware.
#FIRMWARE_NAME ?= firmware
# Firmware CFLAGS. The CFLAGS needed to build the firmware. Usually contains
# include paths and gcc arguments to disable warnings. The Makefile converts
# any warnings into compilation errors. If some warning must be ignored, the
# specific gcc argument that disables the warning must be added here.
#FIRMWARE_CFLAGS =
# Firmware sources. The source files (C), that should be built into the
# firmware, relative to the directory containing the Makefile.
#FIRMWARE_SOURCES = main.c
# Firmware headers. The source headers (C), that should be built into the
# firmware, relative to the directory containing the Makefile.
#FIRMWARE_HEADERS =