• Cristian Maglie's avatar
    Added tests and ifx for board options available only under particular OS · 5a095784
    Cristian Maglie authored
    See: https://github.com/arduino/arduino-cli/pull/67#issuecomment-429919298
    
    quote:
    There are some options without label (did not parsed well) for upload speed on different OS:
    
    Option:     Upload Speed                             UploadSpeed
                115200                                  UploadSpeed=115200
                9600                                     UploadSpeed=9600
                57600                                    UploadSpeed=57600
                230400                                   UploadSpeed=230400
                                                         UploadSpeed=256000
                460800                                   UploadSpeed=460800
                                                         UploadSpeed=512000
                921600                                   UploadSpeed=921600
    
    Cause boards.txt contains:
    
    generic.menu.UploadSpeed.115200=115200
    generic.menu.UploadSpeed.115200.upload.speed=115200
    generic.menu.UploadSpeed.9600=9600
    generic.menu.UploadSpeed.9600.upload.speed=9600
    generic.menu.UploadSpeed.57600=57600
    generic.menu.UploadSpeed.57600.upload.speed=57600
    generic.menu.UploadSpeed.230400.linux=230400
    generic.menu.UploadSpeed.230400.macosx=230400
    generic.menu.UploadSpeed.230400.upload.speed=230400
    generic.menu.UploadSpeed.256000.windows=256000
    generic.menu.UploadSpeed.256000.upload.speed=256000
    generic.menu.UploadSpeed.460800.linux=460800
    generic.menu.UploadSpeed.460800.macosx=460800
    generic.menu.UploadSpeed.460800.upload.speed=460800
    generic.menu.UploadSpeed.512000.windows=512000
    generic.menu.UploadSpeed.512000.upload.speed=512000
    generic.menu.UploadSpeed.921600=921600
    generic.menu.UploadSpeed.921600.upload.speed=921600
    5a095784
board.go 4.51 KB