-
Notifications
You must be signed in to change notification settings - Fork 13
/
README.sodaq
36 lines (27 loc) · 1.05 KB
/
README.sodaq
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
To create a bootloader for Sodaq Moja use the following
command:
$ make -C optiboot BAUD_RATE=57600 clean atmega328_pro8
This creates the following two files:
optiboot_atmega328_pro_8MHz_baud57600.hex
optiboot_atmega328_pro_8MHz_baud57600.lst
You can place this two files in your Arduino installation
in this directory:
hardware/arduino/bootloaders/optiboot
And in the boards.txt you can add these lines
##############################################################
SodaqMoja.name=Sodaq Moja
SodaqMoja.upload.protocol=arduino
SodaqMoja.upload.maximum_size=32256
SodaqMoja.upload.speed=57600
SodaqMoja.upload.disable_flushing=true
SodaqMoja.bootloader.low_fuses=0xff
SodaqMoja.bootloader.high_fuses=0xde
SodaqMoja.bootloader.extended_fuses=0x05
SodaqMoja.bootloader.path=optiboot
SodaqMoja.bootloader.file=optiboot_atmega328_pro_8MHz_baud57600.hex
SodaqMoja.bootloader.unlock_bits=0x3F
SodaqMoja.bootloader.lock_bits=0x0F
SodaqMoja.build.mcu=atmega328p
SodaqMoja.build.f_cpu=8000000L
SodaqMoja.build.core=arduino:arduino
SodaqMoja.build.variant=arduino:standard