Skip to content
Permalink
master

Commits on Mar 5, 2021

  1. Update serial discovery (#1207)

    Serial discovery: now support MacOS 10.11+; improved USB serial number detection on Windows
    cmaglie committed Mar 5, 2021

Commits on Mar 4, 2021

  1. [skip changelog] Fix core integration tests (#1209)

    silvanocerza committed Mar 4, 2021
  2. Add fuzzy search to board listall and more information in its json ou…

    …tput (#1205)
    
    * Add board's platform to board listall json output
    
    * Add fuzzy search to board listall command
    silvanocerza committed Mar 4, 2021

Commits on Mar 1, 2021

  1. [skip changelog] Remove outdated information re: debug config from pl…

    …atform spec (#1203)
    
    Since the time the documentation for the initial experimental debugging configuration system was added to the Arduino
    Platform Specification, the system has changed significantly, resulting in some of the documentation no longer being
    applicable to the current version of Arduino CLI. This only removes the outdated information, leaving the parts that are
    still correct. The new debug system will be fully documented at a later time.
    per1234 committed Mar 1, 2021

Commits on Feb 26, 2021

  1. [skip changelog] Improve wording of docs introduction (#1200)

    The introductory sentence of the documentation homepage is the first thing the user may see when discovering Arduino
    CLI. For this reason, it's important for it to quickly and clearly convey what Arduino CLI is. Toward that goal, the
    following changes are made:
    
    - Use more understandable terms
    - Rearrange features list in the order of typical usage (install dependencies, compile, upload)
    per1234 committed Feb 26, 2021
  2. [skip changelog] Correct library+sketch specifications re: spaces in …

    …folder name (#1194)
    
    The previous mention of spaces as one of the characters allowed in library and sketch folder names was a copy/paste
    error originating in the allowed characters in library.properties `name` properties. This specific part of the `name`
    property specification doesn't apply to folder names. The reason it is allowed in the `name` property is because that
    value is "sanitized" before being used by Library Manager for the library installation folder name by replacing all
    spaces with underscores.
    per1234 committed Feb 26, 2021
  3. [skip changelog] Update Platform Specification link in warning (#1199)

    When a boards platform uses an outdated `recipe.ar.pattern`, Arduino CLI displays a helpful message:
    
    Unable to cache built core, please tell foo:[email protected] maintainers to follow http://goo.gl/QdCUjo
    
    That short link points to the old Arduino Platform Specification page in the arduino/Arduino repository's wiki. The
    platform specification has since been moved to the arduino/arduino-cli repository.
    
    Even though the old page provides a
    link to the new location, this message uses an anchor to direct the developer to the relevant section of the
    specification. When they follow the link from the old page, they will simply end up at the top of the specification and
    may have a hard time finding the information that tells them how to fix the platform. Updating the link restores the
    intended behavior.
    per1234 committed Feb 26, 2021

Commits on Feb 25, 2021

  1. [skip changelog] Update links to troubleshooting guides in sketch ove…

    …rmem error messages (#1197)
    
    When the compiled size of a sketch exceeds the available flash or RAM on the board, the error message includes a link to
    a troubleshooting guide:
    
    Sketch uses 16110 bytes (112%) of program storage space. Maximum is 14336 bytes.
    Global variables use 685 bytes (66%) of dynamic memory, leaving 339 bytes for local variables. Maximum is 1024 bytes.
    Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.
    
    http://www.arduino.cc/en/Guide/Troubleshooting was recently replaced with the Arduino Help Center. Even though that URL
    redirects to the Help Center, it only goes to the home page, leaving the user to hunt for the relevant article.
    per1234 committed Feb 25, 2021
  2. Change core and lib search commands to use fuzzy search (#1193)

    * Change lib search command to use fuzzy search
    
    * Change core search command to use fuzzy search
    
    * Avoid splitting search arguments when doing fuzzy search
    
    * Check ranking when running fuzzy search
    
    * Some other enhancements to fuzzy search
    
    * Fix duplicated results in lib search command
    silvanocerza committed Feb 25, 2021

Commits on Feb 24, 2021

  1. Add flag to skip libraries dependencies installation to gRPC LibraryI…

    …nstall function (#1195)
    silvanocerza committed Feb 24, 2021

Commits on Feb 23, 2021

  1. Updated go.bug.st/serial to v1.1.2 (#1186)

    cmaglie committed Feb 23, 2021
  2. Make archive validation error messages friendlier (#1188)

    * Make archive validation error messages friendlier
    
    * change behaviour a little + fix tests
    ubergesundheit committed Feb 23, 2021

Commits on Feb 18, 2021

  1. Fix some commands crashing when an installed library has invalid vers…

    …ion (#1189)
    
    * librariesindex: Fix nil pointer. Refs #1176
    
    Let the library index return the latest known version,
    if a library without a version is found.
    
    Signed-off-by: Ruben Jenster <[email protected]>
    
    * Remove logging statement from FindLibraryUpdate.
    
    Signed-off-by: Ruben Jenster <[email protected]>
    
    * Add a small comment to the lib.Version nil check.
    
    Signed-off-by: Ruben Jenster <[email protected]>
    
    * Fix some commands failing when an installed library has invalid version
    
    * [skip changelog] Add integration tests
    
    Co-authored-by: Ruben Jenster <[email protected]>
    silvanocerza and r10r committed Feb 18, 2021

Commits on Feb 16, 2021

  1. [skip-changelog] Added flag to disable check for sketch foldername ma…

    …tching sketch name (#1187)
    
    * Added flag to disable check for sketch foldername
    
    This is required to keep backward compatibility for arduino-builder that
    doesn't enforce this check.
    
    * Added missing source doc
    
    * Changed module sketch_test -> sketch
    
    * Fixed test
    
    * Return the detected sketch as part of the error
    cmaglie committed Feb 16, 2021

Commits on Feb 12, 2021

  1. [skip changelog] Update UPGRADING.md for 0.16.0

    silvanocerza committed Feb 12, 2021
  2. Add --all flag to core list command and gRPC interface (#1166)

    Setting that flags return all installed and installable platforms,
    including installed manually by the user in their Sketchbook hardware
    folder.
    silvanocerza committed Feb 12, 2021

Commits on Feb 11, 2021

  1. Better error message for boards without bootloader (#1170)

    cmaglie committed Feb 11, 2021
  2. Do not try to export binaries if --only-compilation-database is set (#…

    …1181)
    
    * Do not try to export binaries if --only-compilation-database is set
    
    otherwise an empty "build/fqbn/..." folder is created if "always-export-binaries"
    option is set via config file.
    
    * slightly simplify function call
    
    * [skip changelog] Add integration test
    
    Co-authored-by: Silvano Cerza <[email protected]>
    cmaglie and silvanocerza committed Feb 11, 2021
  3. [skip changelog] Fix platform loading legacy tests (#1180)

    * [skip changelog] Fix platform loading legacy tests
    
    * [skip changelog] Moved local.txt files used for testing
    silvanocerza committed Feb 11, 2021
  4. Add RootFolderFiles to gRPC LoadSketchResp (#1182)

    silvanocerza committed Feb 11, 2021
  5. [skip changelog] Fix integration tests not deleting folders when test…

    … finishes (#1183)
    silvanocerza committed Feb 11, 2021

Commits on Feb 9, 2021

  1. Fix loading of sketches with folder and main file mismatched casing (#…

    …1179)
    
    * Fix loading of sketches with folder and main file mismatched casing
    
    * [skip changelog] Fix legacy tests
    silvanocerza committed Feb 9, 2021

Commits on Feb 5, 2021

Commits on Feb 4, 2021

  1. [skip changelog] Fix failing legacy testing (#1167)

    silvanocerza committed Feb 4, 2021

Commits on Feb 2, 2021

  1. Fix gRPC interface function to merge configs (#1164)

    * Fix gRPC interface function to merge configs
    
    This fix adds the possibility to set empty values with the Merge gRPC
    function, previously they would have been ignored.
    
    Because of this change I had also to modify the GetValue() function
    since it would first check if the value was set using the
    Viper.InConfig() function that wouldn't check for values set with
    Viper.Set().
    
    * [skip changelog] Add clearer example to client_example
    
    * [skip changelog] Simplified some code and enhance a test
    silvanocerza committed Feb 2, 2021
  2. [skip changelog] Update client_example with proxy (#1162)

    silvanocerza committed Feb 2, 2021

Commits on Feb 1, 2021

  1. [skip changelog] Fix release process (#1163)

    The current release process uses git to get the tag at the current
    commit. It might happen that are are multiple tags when calling that
    command, in cases the rc and the final release are done on the same
    commit, that would make the build process to fail.
    
    This fixes that issue by taking only one tag.
    silvanocerza committed Feb 1, 2021

Commits on Jan 29, 2021

  1. [skip changelog] Update UPGRADING.md for 0.15.0

    silvanocerza committed Jan 29, 2021
  2. Add back support for sketches with .pde extension and deprecate it (#…

    …1157)
    
    * Compile command now works with sketches containing .pde files
    
    * Upload command now works with sketches and builds from .pde files
    
    * Archive command now works with sketches containing .pde files
    
    * [skip changelog] Add test to verify debug command works with pde sketches
    
    * Fix lib examples not showing sketches with .pde files
    
    * [skip changelog] Remove duplicated code and enhance tests
    silvanocerza committed Jan 29, 2021
  3. Always output build path in compile json-output / Always write a vali…

    …d compilation database (#1156)
    
    * Always report buildpath (even in case of build failed)
    
    * Always write a correct compilation database
    
    Even if the Contents field is empty.
    cmaglie committed Jan 29, 2021
  4. [skip changelog] Upgrade workflow ubuntu env (#1159)

    silvanocerza committed Jan 29, 2021

Commits on Jan 26, 2021

  1. Skip dependency detection if library is fully precompiled (#1139)

    * Skip dependency detection if library is fully precompiled
    
    Precompiled bits of a library should not depend on any link time dependency (we cannot assure ABI stability).
    Fixes arduino/ArduinoCore-mbed#119
    
    * Add output when skipping deps detection for precompiled libs
    
    Co-authored-by: Silvano Cerza <[email protected]>
    facchinm and silvanocerza committed Jan 26, 2021
Older