# See: https://arduino.github.io/arduino-cli/latest/platform-specification/
##############################################################

##################### Ace-Uno 8 Mb #####################
aceUno8Mb.name=Elbear Ace-Uno 8 Mb

# tool for firmware update
aceUno8Mb.upload.tool=elbear_uploader
aceUno8Mb.upload.protocol=elbear_uploader
aceUno8Mb.upload.maximum_size=8388608
aceUno8Mb.upload.maximum_data_size=16384
aceUno8Mb.upload.speed=230400

# tool for bootloader update
aceUno8Mb.bootloader.tool=mik32_upload
aceUno8Mb.bootloader.tool.default=mik32_upload
aceUno8Mb.bootloader.file=elbear/bootloader.hex
aceUno8Mb.bootloader.interface=ftdi/mikron-link.cfg

# build options
aceUno8Mb.build.mcu=MIK32_Amur
aceUno8Mb.build.f_cpu=32000000UL
aceUno8Mb.build.board=ACE_UNO_8MB
aceUno8Mb.build.core=arduino
aceUno8Mb.build.variant=elbear_ace_uno
aceUno8Mb.build.extra_flags=
aceUno8Mb.build.flags=


##################### Ace-Uno 16 Mb #####################
aceUno16Mb.name=Elbear Ace-Uno 16 Mb

# tool for firmware update
aceUno16Mb.upload.tool=elbear_uploader
aceUno16Mb.upload.protocol=elbear_uploader
aceUno16Mb.upload.maximum_size=16777216
aceUno16Mb.upload.maximum_data_size=16384
aceUno16Mb.upload.speed=230400

# tool for bootloader update
aceUno16Mb.bootloader.tool=mik32_upload
aceUno16Mb.bootloader.tool.default=mik32_upload
aceUno16Mb.bootloader.file=elbear/bootloader.hex
aceUno16Mb.bootloader.interface=ftdi/mikron-link.cfg

# build options
aceUno16Mb.build.mcu=MIK32_Amur
aceUno16Mb.build.f_cpu=32000000UL
aceUno16Mb.build.board=ACE_UNO_16MB
aceUno16Mb.build.core=arduino
aceUno16Mb.build.variant=elbear_ace_uno
aceUno16Mb.build.extra_flags=
aceUno16Mb.build.flags=


##################### Ace-Uno 32 Mb #####################
aceUno32Mb.name=Elbear Ace-Uno 32 Mb

# tool for firmware update
aceUno32Mb.upload.tool=elbear_uploader
aceUno32Mb.upload.protocol=elbear_uploader
aceUno32Mb.upload.maximum_size=33554432
aceUno32Mb.upload.maximum_data_size=16384
aceUno32Mb.upload.speed=230400

# tool for bootloader update
aceUno32Mb.bootloader.tool=mik32_upload
aceUno32Mb.bootloader.tool.default=mik32_upload
aceUno32Mb.bootloader.file=elbear/bootloader.hex
aceUno32Mb.bootloader.interface=ftdi/mikron-link.cfg

# build options
aceUno32Mb.build.mcu=MIK32_Amur
aceUno32Mb.build.f_cpu=32000000UL
aceUno32Mb.build.board=ACE_UNO_32MB
aceUno32Mb.build.core=arduino
aceUno32Mb.build.variant=elbear_ace_uno 
aceUno32Mb.build.extra_flags=
aceUno32Mb.build.flags=

##################### Nano #####################
nano.name=Elbear Nano

# tool for firmware update
nano.upload.tool=elbear_uploader
nano.upload.protocol=elbear_uploader
nano.upload.maximum_size=8388608
nano.upload.maximum_data_size=16384
nano.upload.speed=230400

# tool for bootloader update
nano.bootloader.tool=mik32_upload
nano.bootloader.tool.default=mik32_upload
nano.bootloader.file=elbear/bootloader.hex
nano.bootloader.interface=ftdi/mikron-link.cfg

# build options
nano.build.mcu=MIK32_Amur
nano.build.f_cpu=32000000UL
nano.build.board=ELBEAR_NANO
nano.build.core=arduino
nano.build.variant=elbear_nano
nano.build.extra_flags=
nano.build.flags=

##################### Elsomik #####################
elsomik.name=Elsomik

# tool for firmware update
elsomik.upload.tool=elbear_uploader
elsomik.upload.protocol=elbear_uploader
elsomik.upload.maximum_size=8388608
elsomik.upload.maximum_data_size=16384
elsomik.upload.speed=230400

# tool for bootloader update
elsomik.bootloader.tool=mik32_upload
elsomik.bootloader.tool.default=mik32_upload
elsomik.bootloader.file=elsomik/bootloader.hex
elsomik.bootloader.interface=ftdi/mikron-link.cfg

# build options
elsomik.build.mcu=MIK32_Amur
elsomik.build.f_cpu=32000000UL
elsomik.build.board=ELSOMIK
elsomik.build.core=arduino
elsomik.build.variant=elsomik
elsomik.build.extra_flags=
elsomik.build.flags=


##################### START-MIK32-V1 #####################
start-mik32-v1.name=START-MIK32-V1

# tool for firmware update
start-mik32-v1.upload.tool=elbear_uploader
start-mik32-v1.upload.protocol=elbear_uploader
start-mik32-v1.upload.maximum_size=4194304
start-mik32-v1.upload.maximum_data_size=16384
start-mik32-v1.upload.speed=120000

# tool for bootloader update
start-mik32-v1.bootloader.tool=mik32_upload
start-mik32-v1.bootloader.tool.default=mik32_upload
start-mik32-v1.bootloader.file=start-mik32/bootloader.hex
start-mik32-v1.bootloader.interface=start-link.cfg

# build options
start-mik32-v1.build.mcu=MIK32_Amur
start-mik32-v1.build.f_cpu=32000000UL
start-mik32-v1.build.board=START_MIK32_V1
start-mik32-v1.build.core=arduino
start-mik32-v1.build.variant=start
start-mik32-v1.build.extra_flags=
start-mik32-v1.build.flags=