forked from ArduinoHannover/Maiskolben
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
70 lines (63 loc) · 1.69 KB
/
platformio.ini
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
;PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
name = soldering-station
description = "Firmware for soldering station based on Weller-Tip"
default_envs = nano
[common]
platform = atmelavr
build_flags = -Wl,-u,v-lm -Os
;build_flags = -Wa,-mmcu=atmega8
; --reduce-memory-overheadopti
;-Wa,--def-sym __4bit__,true
;;build_flags =
;; -Wl,-u,vfprintf -lprintf_flt -lm
;; -Wp,-Os
; -Wa,-D__4BIT__=true
; -Wa,--defsym__4BIT__=1
;; ; -Map,output.map,
;; -Wa, -fverbose-asm -save-temps
; -Wa,-ahls=main.lst -fverbose-asm -save-temps
; -Wa,-mmcu=atmega8
; for MacOSX Intel
upload_port = /dev/tty.SLAB_USBtoUART
;========================================
; for Linux
;upload_port = /dev/cu.usbmodem14201
;========================================
; USB ISP
upload_protocol = stk500v2
;========================================
; Arduino as ISP
;upload_protocol = arduino
upload_speed = 115200
upload_flags =
-C
$PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf
-P
$UPLOAD_PORT
-b
$UPLOAD_SPEED
-c
$UPLOAD_PROTOCOL
-p
m328p
-vv
; $UPLOAD_PROTOCOL
upload_command = /Users/roland/.platformio/packages/tool-avrdude/bin/avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
[env:nano]
platform = atmelavr
board = nanoatmega328new
framework = arduino
;upload_flags = ${common.upload_flags}
; -p
; m328p
; -P
; /dev/tty.SLAB_USBtoUART