-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathMakefile.local
94 lines (75 loc) · 3.19 KB
/
Makefile.local
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#############################################################################
#
# file: bmptk/Makefile.local
#
# Local definitions for the bmptk makefile
#
# If you want to change the definitions below to match
# the situation on your PC:
# COPY THIS FILE TO Makefile.custom AND CHANGE THAT FILE.
# This way you can overwrite the bmptk files without erasing
# your changes when you download a new bmptk over the old tree.
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#
#############################################################################
ifeq ($(OS),Windows_NT)
# WPF32 is the windows directory for 32-bit applications
# depends on the compiler ...
#ARM-EABI ?= arm-none-eabi
ARM-EABI ?= arm-eabi
# 7za command line
# used (only) to create a bmptk zip file - no longer used
# 7za ?= "$(WPF32)/7-Zip/7za"
# the windows toolchain
#GCC-WIN = C:/TDM-GCC-64
#GCC-WIN ?= $(WPF32)/mingw-w64/i686-6.2.0-posix-dwarf-rt_v5-rev1/mingw32
GCC-WIN = C:\Program Files\mingw-w64\x86_64-7.2.0-posix-dwarf-rt_v5-rev1\mingw64
#GCC-WIN = C:\Program Files (x86)\mingw-w64\i686-7.2.0-posix-dwarf-rt_v5-rev1\mingw64
#GCC-WIN = C:\Program Files (x86)\mingw-w64\i686-7.2.0-posix-dwarf-rt_v5-rev1\mingw64
#GCC-WIN ?= C:/MinGW
# select the AVR toolchain: Atmel (=default) or Arduino
GCC-AVR ?= C:/Program Files/avr-gcc-8.2.0-x64-mingw
#GCC-AVR ?= $(WPF32)/Arduino/hardware/tools/avr
#GCC-AVR ?= $(WPF32)/Atmel/Atmel Toolchain/AVR8 GCC/Native/3.4.1061/avr8-gnu-toolchain
# the ARM toolchain
GCC-ARM ?= C:/SysGCC/arm-eabi
#GCC-ARM ?= $(WPF32)/GNU Tools ARM Embedded/5.4 2016q3
#GCC-ARM ?= C:/gcc-arm-none-eabi-4_9-141220
# no alternatives to choose, but maybe a different directory
GCC-MSP430 ?= C:/ti/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_98
STM32LU ?= $(WPF32)/STMicroelectronics/STM32 ST-LINK Utility
MSP430FLASHER ?= C:/ti/MSP430Flasher_1.3.3/MSP430Flasher
# esp8266 stuff
ESPRESSIF ?= C:/Espressif
ESP-SDK ?= $(ESPRESSIF)/ESP8266_SDK
GCC-XTENSA ?= $(ESPRESSIF)/xtensa-lx106-elf-separate
ESP-TOOL ?= $(ESPRESSIF)/xtensa-lx106-elf/bin/esptool
ESP-LOADER ?= $(ESPRESSIF)/utils/esptool.exe
# serial port defaults
uart_port ?= COM4
SERIAL_BAUDRATE ?= 38400
CONSOLE_BAUDRATE ?= 38400
# python interpreter
ifneq ($(wildcard C:/Python36/Python.exe),)
PYTHON ?= C:/Python36/Python.exe
else
PYTHON ?= Python.exe
endif
else
ARM-EABI ?= arm-none-eabi
GCC-AVR ?= avr-
# on Linux the path can in most cases be omitted
GCC-ARM ?=
GCC-AVR ?=
GCC-MSP430 ?=
# serial port defaults
uart_port_DUE := /dev/ttyACM0
uart_port_UNO := /dev/ttyUSB0
uart_port := $(uart_port_UNO)
SERIAL_BAUDRATE ?= 38400
CONSOLE_BAUDRATE ?= 38400
PYTHON ?= python3
endif