-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
39 lines (32 loc) · 1.12 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
; 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
[env:attiny13a]
platform = atmelavr
board = attiny13a
framework = arduino
upload_protocol = usbasp
upload_flags = -Pusb
-v
-B 4
-F
; I beleive this is actually supported
board_hardware.bod = disabled
; change MCU frequency
;board_build.f_cpu = 9600000L ; works default??
;board_build.f_cpu = 4800000L ; 4.8MHz interal osc
board_build.f_cpu = 1200000L ; 1.2MHz interal osc this seemed to really fuck it...
;board_build.f_cpu = 5000000L ; 5 MHz internal NO
;board_build.f_cpu = 20000000L
;board_build.f_cpu = 8000000L
; these were from the attiny85
; High byte was 0xDD
;board_fuses.hfuse = 0xDF // default FF
;board_fuses.lfuse = 0xE1 // Default 3A
;board_fuses.efuse = 0xFE // default FF