1. 21 May, 2020 4 commits
    • per1234's avatar
      [skip changelog] Clarify installation instructions for Windows (#706) · a7d7de0b
      per1234 authored
      * [skip changelog] Document the install script's compatibility with Windows
      
      It's already quite clear that the Homebrew installation method is not available for Windows, so the first option for Windows users is the install script, which is also not well supported on Windows.
      
      * [skip changelog] Make the PATH instructions more prominent in the installation docs
      
      Although the installation script does recommend adding Arduino CLI to PATH, I though it worth providing an explanation of why in installation instructions.
      
      I combined the various download sources into sub-headings of a single "Download" installation option section so that the PATH instructions could be provided prominently only once for that installation option.
      a7d7de0b
    • Massimiliano Pippi's avatar
      097212fd
    • Massimiliano Pippi's avatar
      Remove unused import (#715) · c283b0af
      Massimiliano Pippi authored
      * remove unused import
      
      * remove blank line
      c283b0af
    • Massimiliano Pippi's avatar
      Add versioning to docs (#711) · 70c62050
      Massimiliano Pippi authored
      * introduce mike
      
      * use default 'site' dir for output
      
      * install mike and pin material theme
      
      * add task to build&publish docs using Mike
      
      * publish dev and versioned docs
      
      * narrow down env definition
      
      * add build script to handle versioning
      
      * invoke task, not mike directly
      70c62050
  2. 19 May, 2020 3 commits
  3. 15 May, 2020 1 commit
    • Cristian Maglie's avatar
      Compile extract all artifacts in "sketch/build" folder (#687) · ebc28e1b
      Cristian Maglie authored
      * Deprecated exportFile/importFile in favor of exportDir/importDir
      
      * Updated compile/upload cli commands
      
      * Compile now saves artifacts in 'sketch/build/<FQBN>/...' folder
      
      * Upload now uses export folder
      
      * Test fix: use --output-dir option instead of deprecated --output
      
      * Text fix: no more need to check if "extension won't be added if already present"
      
      * Added Debug.ImportDir and deprecated Debug.ImportFile
      
      * Upload now uses export folder
      
      * Fixed GetCommandLine test
      
      * Fixed test_core_install_esp32
      ebc28e1b
  4. 13 May, 2020 5 commits
  5. 08 May, 2020 4 commits
  6. 07 May, 2020 3 commits
    • Cristian Maglie's avatar
      Sketch path can now be specified by folder (path/to/sketch/) or by file... · 6718cf41
      Cristian Maglie authored
      Sketch path can now be specified by folder (path/to/sketch/) or by file (path/to/sketch/sketch.ino) (#690)
      
      * Added test for different cases of sketch path
      
      case 1: /path/to/sketch
      case 2: /path/to/sketch/sketch.ino
      
      in the case 2 a compile+upload combo gives the following error:
      
      Error during Upload: cannot open sketch: stat /tmp/pytest-of-megabug/pytest-35/ArduinoTest1/CompileAndUploadIntegrationTest/CompileAndUploadIntegrationTest.ino/CompileAndUploadIntegrationTest.ino.arduino.samd.mkr1000.bin: not a directory
      
      * Fix sketch loading with different kind of input paths
      
      * Added unit-test for sketches module
      
      * Small test fix for Windows
      
      Paths are converted to \ when extracting Parent().
      
      === RUN   TestSketchLoadingFromFolderOrMainFile
      testdata/Sketch1 == testdata/Sketch1
      testdata\Sketch1 == testdata/Sketch1
      6718cf41
    • Roberto Sora's avatar
      b62c339a
    • Cristian Maglie's avatar
      [skip changelog] Small cleanups (#688) · 422a954b
      Cristian Maglie authored
      * Added FQBN.StringWithoutConfig() method
      
      * Removed useless local variables
      
      * Use fqbn.StringWithoutConfig() specific function
      
      * Added some more verbosity on upload
      422a954b
  7. 04 May, 2020 2 commits
  8. 24 Apr, 2020 1 commit
    • Roberto Sora's avatar
      Enhance "board details" command (#674) · 83d7f6e3
      Roberto Sora authored
      * Add properties to board details printing
      
      * Add usb IdentificationPrefs
      
      * Add more details
      
      * refactor board id
      
      * Add help and Package name
      
      * Inject package URL in package structs
      
      * Add tool release unroll
      
      * Prettify commands code
      
      * Polish struct usage
      
      * Add board details test
      
      * Reformat proto
      
      * Make linter happy
      
      * Add table printing
      
      * Make linter happy again
      
      * Add missing sizes to gold details json test
      
      * Add search for external package tool dependencies
      
      * Add --full flag and test table print comestics
      83d7f6e3
  9. 23 Apr, 2020 3 commits
  10. 22 Apr, 2020 3 commits
  11. 17 Apr, 2020 1 commit
    • per1234's avatar
      [skip changelog] Fix incorrect software specificity/non-specificity in documentation (#652) · 932f0eda
      per1234 authored
      The documentation imported from the arduino/Arduino wiki was mostly written when Arduino's only official development software was the Arduino IDE. This resulted in many statements that mentioned the Arduino IDE specifically, when they actually apply to other development software as well. Conversely, there were Arduino-IDE specific statements which were not qualified as such.
      932f0eda
  12. 16 Apr, 2020 4 commits
  13. 15 Apr, 2020 2 commits
    • per1234's avatar
      f6901230
    • Cristian Maglie's avatar
      Fixed path-relativization error when traversing different partitions (#658) · ad4cb769
      Cristian Maglie authored
      It happened on MacOSX, but I do not exclude it may happen in other OS
      too: when building some large sketch for Arduino Due, the system libsam_xxx.a
      library is transformed to relative path, in particular the path
      
      /Users/cmaglie/Library/Arduino15/packages/arduino/hardware/sam/1.6.12/variants/arduino_due_x/libsam_sam3x8e_gcc_rel.a
      
      is made relative to the build folder
      
      /var/folder/x8/ttjf_wrd63823894128467832/T/arduino_build_988374/
      
      but since both paths resides in different partitions the result is:
      
      ../../../../../../Users/cmaglie/Library/Arduino15/packages/arduino/hardware/sam/1.6.12/variants/arduino_due_x/libsam_sam3x8e_gcc_rel.a
      
      so it traverse from /var/..../arduino_buil_988374 to the root and descend back into /Users
      
      This is bad for two reasons:
      
      1) the resulting "relative" path is longer than the original "absolute"
      path, defeating the purpose of the transformation.
      
      2) for some weird reason gcc is unable to find the libsam file using the
      relative path. It seems that when running inside /var/... it cannot "escape" to
      /Users/...
      
      This patch avoid the situation above by adding a check for the presence
      of ".." in the resulting path (basically avoiding path relativization
      outside of the build folder) and by checking that the resulting path is
      shorter than the original absolute path.
      ad4cb769
  14. 14 Apr, 2020 2 commits
  15. 09 Apr, 2020 1 commit
  16. 08 Apr, 2020 1 commit
    • Cristian Maglie's avatar
      [skip-changelog] legacy removing: small advances (1st chunk of #481) (#627) · 5b805dda
      Cristian Maglie authored
      * Removed legacy utils.PrettyOSName function
      
      * Removed some constants
      
      Possibly a container structure for build properties may be defined later
      with helper methods (like GetBuildCorePath() ... etc.) to help in
      retrieving these properties.
      
      * Removed unused Context parameter
      
      * upgrade github.com/arduino/go-properties-orderedmap to v1.0.0
      5b805dda