1. 18 Nov, 2020 1 commit
    • Cristian Maglie's avatar
      Implemented json output in 'compile' command (#1065) · f954d7ad
      Cristian Maglie authored
      * Added Compile json output
      
      * Factored out methods to convert Libraries into their rpc counterpart
      
      * Give some more info in compiler json output
      
      * Added simple smoke-test for compile --format json
      
      * Output in json even in case of error
      
      * Added binary size to compile json output
      
      * lib list: always output rows in table output, even if the "library.Release" field is not set
      f954d7ad
  2. 17 Nov, 2020 1 commit
  3. 16 Nov, 2020 3 commits
  4. 13 Nov, 2020 2 commits
  5. 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
  6. 11 Nov, 2020 1 commit
  7. 09 Nov, 2020 1 commit
  8. 05 Nov, 2020 2 commits
  9. 04 Nov, 2020 1 commit
  10. 03 Nov, 2020 6 commits
  11. 02 Nov, 2020 4 commits
  12. 28 Oct, 2020 1 commit
  13. 27 Oct, 2020 1 commit
  14. 20 Oct, 2020 3 commits
  15. 19 Oct, 2020 1 commit
  16. 16 Oct, 2020 3 commits
  17. 15 Oct, 2020 1 commit
  18. 14 Oct, 2020 3 commits
  19. 12 Oct, 2020 2 commits
    • per1234's avatar
      Fix platform tool dependency determination (#1020) · 10d07906
      per1234 authored
      * Fix platform tool dependency determination
      
      The platform tool dependency check was giving false negatives due to comparing pointers instead of version values.
      
      This caused tools to be removed during platform uninstallation even when another installed platform had a dependency on
      that tool.
      
      * Add integration test for tool removal during platform uninstall
      
      Tool dependency by `arduino-cli core uninstall` is somewhat complex because it must only uninstall the tools that no
      other platforms have a dependency on. If it doesn't, it breaks the other platform and the cause of this breakage would
      likely not be obvious to the user.
      
      So it's important to test to ensure this functionality continues to work correctly.
      10d07906
    • Silvano Cerza's avatar
      Revert "Add --dest-file flag to config init command (#957)" (#1026) · 37ba57e3
      Silvano Cerza authored
      This reverts commit 900654f4.
      37ba57e3