1. 15 Dec, 2020 3 commits
    • Cristian Maglie's avatar
      Always set the versioned runtime.tool property for all installed tools (#1106) · cbb9d191
      Cristian Maglie authored
      For example if we have bossac 1.7.1 and 1.9.0 installed, this will
      result in the following properties available during upload:
      
      {runtime.tools.bossac-1.7.0-arduino3.path} => /path/to/bossac/1.7.0
      {runtime.tools.bossac-1.9.0-arduino3.path} => /path/to/bossac/1.9.0
      {runtime.tools.bossac.path} => /path/to/bossac/1.9.0
      
      some platforms fails to correctly specify the version of the tool in the
      package_index.json but they do the correct specification in the recipes.
      This patch allows to not fail in this latter case.
      cbb9d191
    • Cristian Maglie's avatar
      Fixed odd width of tables in command outputs (#1080) · e20cbc16
      Cristian Maglie authored
      Fix #1040
      e20cbc16
    • Cristian Maglie's avatar
      Add support for compile_command.json output (#1081) · 441f8ebf
      Cristian Maglie authored
      * Draft: Support generating a compile_commands.json file
      
      This is still very rough and unfinished.
      
      * Added compile flag to produce only the compilation database
      
      * Save compilation database inside build path
      
      * Removed 'Writing compilation database...' message
      
      Also slightly refactore code
      
      * Added missing (c) header
      
      * Renamed some functions, did some small cleanups
      
      * compilation database: made some fields public
      
      * compilation database: added LoadCompilationDatabase method
      
      * Added unit tests for compilation_database
      Co-authored-by: default avatarMatthijs Kooijman <matthijs@stdin.nl>
      441f8ebf
  2. 10 Dec, 2020 1 commit
    • per1234's avatar
      [skip changelog] Improve wording of FAQ re: boards w/o dedicated VID/PID (#1097) · bf7a3194
      per1234 authored
      * [skip changelog] Improve wording of FAQ re: boards w/o dedicated VID/PID
      
      Some minor wording improvements for readability/correct terminology.
      
      * [skip changelog] Mention Nano in FAQ re: boards w/o dedicated VID/PID
      
      The classic Nano is the sole active official board without a custom VID/PID, so it's especially important to mention it
      in this FAQ.
      bf7a3194
  3. 09 Dec, 2020 3 commits
  4. 07 Dec, 2020 1 commit
  5. 03 Dec, 2020 2 commits
  6. 02 Dec, 2020 3 commits
  7. 01 Dec, 2020 2 commits
  8. 30 Nov, 2020 2 commits
  9. 26 Nov, 2020 1 commit
  10. 24 Nov, 2020 1 commit
    • Roberto Sora's avatar
      Bump workflows actions versions (#1078) · 8d026edd
      Roberto Sora authored
      * Bump actions/cache to v2
      
      * Bump actions/checkout to v2
      
      * Pin actions/create-release to v1
      
      * Bump actions/download-artifact to v2 and maitain compatibility
      
      * Bump actions/github-scripts to v3
      
      * Bump actions/upload-artifact to v2
      
      * Bump peter-evans/create-pull-request to v3
      
      * Bump svenstaro/upload-release-action to v2
      
      * Fix issue with actions/checkout@v2
      
      In certain workflows we use a custom Docker image for cross-compilation,
      this image is old and unmaintained so it has an old version of git and
      the latest version actions/checkout doesn't support it.
      This causes the action to fallback to the Github API to download the
      files but that doesn't create a git repository, thus the history is lost
      but goreleaser needs it to generate the changelog so it fails.
      
      So we use the older version of the action in certain cases to avoid
      this failures.
      Co-authored-by: default avatarSilvano Cerza <silvanocerza@gmail.com>
      8d026edd
  11. 18 Nov, 2020 2 commits
  12. 17 Nov, 2020 1 commit
  13. 16 Nov, 2020 3 commits
  14. 13 Nov, 2020 2 commits
  15. 12 Nov, 2020 3 commits
    • Cristian Maglie's avatar
      Show if debugging is supported in board details command (#1067) · 8bd0d0fd
      Cristian Maglie authored
      * Improved comments
      
      * Show if debugging is supported in board details command
      
      * Update i18n
      
      * Added test for 'debugging_supported' field
      8bd0d0fd
    • Cristian Maglie's avatar
      [skip-changelog] Some small refactoring on legacy package (#1064) · df9f204f
      Cristian Maglie authored
      * legacy: output --preprocess result on ExecStdout
      
      * legacy: removed redundant argument filters
      
      * legacy: moving path-relativization code out of PrepareCommand
      
      * legacy: removed i18n on unneded message
      
      * legacy: replacing ParseCommandLine with the equivalent library call
      
      * legacy: removed parameter that happens to be always false
      
      * legacy: removed constants.MSG_PATTERN_MISSING from i18n
      
      * Let ExecRecipe return the command executed
      
      This prepares for building a compilation database later. The returned
      command is not currently used anywhere yet, so this commit should not
      change behaviour.
      
      * Fixed typo
      Co-authored-by: default avatarMatthijs Kooijman <matthijs@stdin.nl>
      df9f204f
    • Cristian Maglie's avatar
      builder: use ar-chives for linking big sketches (was: use the @ syntax to... · bb42ebec
      Cristian Maglie authored
      builder: use ar-chives for linking big sketches (was: use the @ syntax to reduce command line length if needed) (#961)
      
      * Small cosmetic changes
      
      * Create an archive file if the number of object files is too big
      
      This should fix the command line too big issue on Windows.
      
      * fixed comments
      
      * When exploiting ar-chives make a .a file for each soruce subfolder
      
      This is required because gcc-ar checks if an object file is already
      in the archive by looking ONLY at the filename WITHOUT the path, so
      it may happens that, for example, an object file named "subdir/spi.o",
      already inside the archive, may be overwritten by an object file in
      "anotherdir/spi.o" only because they are both named spi.o and even if
      they are compiled on different directories.
      
      * using paths.PathList to keep objectFileList
      bb42ebec
  16. 11 Nov, 2020 1 commit
  17. 09 Nov, 2020 1 commit
  18. 05 Nov, 2020 2 commits
  19. 04 Nov, 2020 1 commit
  20. 03 Nov, 2020 5 commits