# 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.driver_option=--no-driver
aceUno8Mb.bootloader.file=elbear/bootloader.hex
aceUno8Mb.bootloader.interface=ftdi/mikron-link.cfg
aceUno8Mb.bootloader.params.verbose=

# 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.driver_option=--no-driver
aceUno16Mb.bootloader.file=elbear/bootloader.hex
aceUno16Mb.bootloader.interface=ftdi/mikron-link.cfg
aceUno16Mb.bootloader.params.verbose=

# 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.driver_option=--no-driver
aceUno32Mb.bootloader.file=elbear/bootloader.hex
aceUno32Mb.bootloader.interface=ftdi/mikron-link.cfg
aceUno32Mb.bootloader.params.verbose=

# 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=

##################### ACE-NANO #####################
aceNano.name=ELBEAR ACE-NANO

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

# tool for bootloader update
aceNano.bootloader.tool=mik32_upload
aceNano.bootloader.tool.default=mik32_upload
aceNano.bootloader.driver_option=--no-driver
aceNano.bootloader.file=elbear/bootloader.hex
aceNano.bootloader.interface=ftdi/mikron-link.cfg
aceNano.bootloader.params.verbose=

# build options
aceNano.build.mcu=MIK32_Amur
aceNano.build.f_cpu=32000000UL
aceNano.build.board=ACE_NANO
aceNano.build.core=arduino
aceNano.build.variant=elbear_ace_nano
aceNano.build.extra_flags=
aceNano.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.driver_option=--no-driver
elsomik.bootloader.file=elsomik/bootloader.hex
elsomik.bootloader.interface=ftdi/mikron-link.cfg
elsomik.bootloader.params.verbose=

# 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.driver_option=
start-mik32-v1.bootloader.file=start-mik32/bootloader.hex
start-mik32-v1.bootloader.interface=start-link.cfg
start-mik32-v1.bootloader.params.verbose=

# 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=