Compare commits
2 commits
83a2332495
...
6283ddb7c5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6283ddb7c5 | ||
|
|
9e558b2ae9 |
2 changed files with 4 additions and 3 deletions
|
|
@ -47,7 +47,7 @@ press of the button.
|
||||||
4. enter the command below.
|
4. enter the command below.
|
||||||
|
|
||||||
```ps1
|
```ps1
|
||||||
./avrdude.exe -p t13 -c usbtiny -B 125kHz -U flash:w:.\pre_built\attiny13_6-9Mhz.hex -U lfuse:w:0x6A:m -U hfuse:w:0xFF:m -U lock:w:0xFF:m
|
./avrdude.exe -p t13 -c usbtiny -B 125kHz -U flash:w:.\build\src\main.hex -U lfuse:w:0x6A:m -U hfuse:w:0xFF:m -U lock:w:0xFF:m
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -62,7 +62,7 @@ press of the button.
|
||||||
4. enter the command below.
|
4. enter the command below.
|
||||||
|
|
||||||
```ps1
|
```ps1
|
||||||
./avrdude.exe -p t13 -c usbasp -B 125kHz -U flash:w:.\pre_built\attiny13_6-9Mhz.hex -U lfuse:w:0x6A:m -U hfuse:w:0xFF:m -U lock:w:0xFF:m
|
./avrdude.exe -p t13 -c usbasp -B 125kHz -U flash:w:.\build\src\main.hex -U lfuse:w:0x6A:m -U hfuse:w:0xFF:m -U lock:w:0xFF:m
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,8 @@ set(AVR_MCU attiny13a)
|
||||||
|
|
||||||
#set(F_CPU 16000000UL)
|
#set(F_CPU 16000000UL)
|
||||||
#set(F_CPU 8000000)
|
#set(F_CPU 8000000)
|
||||||
set(F_CPU 4800000)
|
set(F_CPU 9600000)
|
||||||
|
#set(F_CPU 4800000)
|
||||||
|
|
||||||
add_compile_definitions(F_CPU=${F_CPU})
|
add_compile_definitions(F_CPU=${F_CPU})
|
||||||
# add_compile_definitions(MCU=atmega328p)
|
# add_compile_definitions(MCU=atmega328p)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue