コード例 #1
0
 @Test
 public void testBoard() {
   BoardDescriptor boardid =
       BoardsManager.getBoardID(
           this.mJsonFileName, this.mPackageName, this.mPlatform, this.mBoardID, this.myOptions);
   if (boardid == null) {
     fail(
         "Board "
             + this.mJsonFileName
             + " "
             + " "
             + this.mPackageName
             + " "
             + this.mPlatform
             + " "
             + this.mBoardID
             + " not found");
     return;
   }
   BuildAndVerify(boardid);
 }
コード例 #2
0
 public static void installAdditionalBoards() {
   String[] packageUrlsToAdd = {
     "http://arduino.esp8266.com/stable/package_esp8266com_index.json",
     "http://clkdiv8.com/download/package_clkdiv8_index.json",
     "http://digistump.com/package_digistump_index.json",
     "http://download.labs.mediatek.com/package_mtk_linkit_index.json",
     "http://download.labs.mediatek.com/package_mtk_linkit_smart_7688_index.json",
     "http://downloads.konekt.io/arduino/package_konekt_index.json",
     "http://downloads.sodaq.net/package_sodaq_index.json",
     "http://drazzy.com/package_drazzy.com_index.json",
     "http://hidnseek.github.io/hidnseek/package_hidnseek_boot_index.json",
     "http://navspark.mybigcommerce.com/content/package_navspark_index.json",
     "http://panstamp.org/arduino/package_panstamp_index.json",
     "http://rfduino.com/package_rfduino_index.json",
     "http://talk2arduino.wisen.com.au/master/package_talk2.wisen.com_index.json",
     "http://www.dwengo.org/sites/default/files/package_dwengo.org_dwenguino_index.json",
     "http://www.leonardomiliani.com/repository/package_leonardomiliani.com_index.json",
     "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json",
     "https://ardhat.github.io/ardhat-board-support/arduino/package_ardhat_index.json",
     "https://arduboy.github.io/board-support/package_arduboy_index.json",
     "https://dl.dropboxusercontent.com/u/2807353/femtoCore/package_femtocow_attiny_index.json",
     "https://github.com/Ameba8195/Arduino/raw/master/release/package_realtek.com_ameba_index.json",
     "https://github.com/chipKIT32/chipKIT-core/raw/master/package_chipkit_index.json",
     "https://github.com/IntoRobot/IntoRobotPackages-ArduinoIDE/releases/download/1.0.0/package_intorobot_index.json",
     "https://github.com/ms-iot/iot-utilities/raw/master/IotCoreAppDeployment/ArduinoIde/package_iotcore_ide-1.6.6_index.json",
     "https://lowpowerlab.github.io/MoteinoCore/package_LowPowerLab_index.json",
     "https://mcudude.github.io/MegaCore/package_MCUdude_MegaCore_index.json",
     "https://mcudude.github.io/MicroCore/package_MCUdude_MicroCore_index.json",
     "https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json",
     "https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json",
     "https://per1234.github.io/Ariadne-Bootloader/package_codebendercc_ariadne-bootloader_index.json",
     "https://raw.githubusercontent.com/akafugu/akafugu_core/master/package_akafugu_index.json",
     "https://raw.githubusercontent.com/AloriumTechnology/Arduino_Boards/master/package_aloriumtech_index.json",
     "https://raw.githubusercontent.com/carlosefr/atmega/master/package_carlosefr_atmega_index.json",
     "https://raw.githubusercontent.com/CytronTechnologies/Cytron-Arduino-URL/master/package_cytron_index.json",
     "https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json",
     "https://raw.githubusercontent.com/DFRobot/DFRobotDuinoBoard/master/package_dfrobot_index.json",
     // https://raw.githubusercontent.com/DFRobot/DFRobotDuinoBoard/master/package_dfrobot_iot_mainboard.json
     // clearly a shameless copy of esp package Do not support
     "https://raw.githubusercontent.com/eightdog/laika_arduino/master/IDE_Board_Manager/package_project_laika.com_index.json",
     // "https://raw.githubusercontent.com/ElektorLabs/arduino/master/package_elektor-labs.com_ide-1.6.5_index.json",
     "https://raw.githubusercontent.com/ElektorLabs/arduino/master/package_elektor-labs.com_ide-1.6.6_index.json",
     "https://raw.githubusercontent.com/feilipu/feilipu.github.io/master/package_goldilocks_index.json",
     "https://raw.githubusercontent.com/geolink/opentracker-arduino-board/master/package_opentracker_index.json",
     "https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json",
     "https://raw.githubusercontent.com/mikaelpatel/Cosa/master/package_cosa_index.json",
     "https://raw.githubusercontent.com/NicoHood/HoodLoader2/master/package_NicoHood_HoodLoader2_index.json",
     "https://raw.githubusercontent.com/OLIMEX/Arduino_configurations/master/AVR/package_olimex_avr_index.json",
     "https://raw.githubusercontent.com/OLIMEX/Arduino_configurations/master/PIC/package_olimex_pic_index.json",
     "https://raw.githubusercontent.com/OLIMEX/Arduino_configurations/master/STM/package_olimex_stm_index.json",
     "https://raw.githubusercontent.com/oshlab/Breadboard-Arduino/master/avr/boardsmanager/package_oshlab_breadboard_index.json",
     "https://raw.githubusercontent.com/RiddleAndCode/RnCAtmega256RFR2/master/Board_Manager/package_rnc_index.json",
     "https://raw.githubusercontent.com/Seeed-Studio/Seeeduino-Boards/master/package_seeeduino_index.json",
     "https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json",
     "https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/master/STM32/package_stm_index.json",
     "https://raw.githubusercontent.com/ThamesValleyReprapUserGroup/Beta-TVRRUG-Mendel90/master/Added-Documents/OMC/package_omc_index.json",
     "https://raw.githubusercontent.com/TKJElectronics/Balanduino/master/package_tkj_balanduino_index.json",
     "https://rawgit.com/hunianhang/nufront_arduino_json/master/package_tl7788_index.json",
     "https://redbearlab.github.io/arduino/package_redbear_index.json",
     "https://redbearlab.github.io/arduino/package_redbearlab_index.json",
     "https://s3.amazonaws.com/quirkbot-downloads-production/downloads/package_quirkbot.com_index.json",
     "https://raw.githubusercontent.com/avandalen/SAM15x15/master/package_avdweb_nl_index.json",
     // "https://sourceforge.net does not work
     // "https://sourceforge.net/projects/simba-arduino/files/avr/package_simba_avr_index.json",
     // "https://sourceforge.net/projects/simba-arduino/files/esp/package_simba_esp_index.json",
     // "https://sourceforge.net/projects/simba-arduino/files/sam/package_simba_sam_index.json",
     "https://thomasonw.github.io/ATmegaxxM1-C1/package_thomasonw_ATmegaxxM1-C1_index.json",
     "https://www.mattairtech.com/software/arduino/package_MattairTech_index.json",
     "https://zevero.github.io/avr_boot/package_zevero_avr_boot_index.json",
     "https://udooboard.github.io/arduino-board-package/package_udoo_index.json"
   };
   BoardsManager.addPackageURLs(new HashSet<>(Arrays.asList(packageUrlsToAdd)), true);
   BoardsManager.installAllLatestPlatforms();
   BoardsManager.referenceLocallInstallation(Shared.teensyInstall);
 }