Rev 5 | Rev 7 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 5 | Rev 6 | ||
|---|---|---|---|
| Line 3... | Line 3... | ||
| 3 | # NOTE: Can be overridden externally. |
3 | # NOTE: Can be overridden externally. |
| 4 | # |
4 | # |
| 5 | 5 | ||
| 6 | # Compiler options here. |
6 | # Compiler options here. |
| 7 | ifeq ($(USE_OPT),) |
7 | ifeq ($(USE_OPT),) |
| 8 | USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16 |
8 | USE_OPT = -Og -g -ggdb -fomit-frame-pointer -falign-functions=16 |
| 9 | endif |
9 | endif |
| 10 | 10 | ||
| 11 | # C specific options here (added to USE_OPT). |
11 | # C specific options here (added to USE_OPT). |
| 12 | ifeq ($(USE_COPT),) |
12 | ifeq ($(USE_COPT),) |
| 13 | USE_COPT = |
13 | USE_COPT = |
| Line 80... | Line 80... | ||
| 80 | SSD1306INC = SSD1306_lib |
80 | SSD1306INC = SSD1306_lib |
| 81 | 81 | ||
| 82 | IGNSRC = src/hardware.c |
82 | IGNSRC = src/hardware.c |
| 83 | IGNSRC += src/spiInterface.c |
83 | IGNSRC += src/spiInterface.c |
| 84 | IGNSRC += src/ap_math.c |
84 | IGNSRC += src/ap_math.c |
| - | 85 | IGNSRC += src/timer2.c |
|
| - | 86 | IGNSRC += src/useAdc.c |
|
| 85 | 87 | ||
| 86 | IGNINC = inc |
88 | IGNINC = inc |
| 87 | 89 | ||
| 88 | # C sources that can be compiled in ARM or THUMB mode depending on the global |
90 | # C sources that can be compiled in ARM or THUMB mode depending on the global |
| 89 | # setting. |
91 | # setting. |