1. 04 Aug, 2023 1 commit
  2. 03 Aug, 2023 3 commits
  3. 02 Aug, 2023 1 commit
  4. 24 Jul, 2023 2 commits
    • MatteoPologruto's avatar
    • per1234's avatar
      Explain usage of `monitor --config` in command help (#2249) · 78d19fa1
      per1234 authored
      The `--config` flag of the `arduino-cli monitor` command is used to configure the communication port used by the
      monitor.
      
      Previously the command line help did not provide any guidance for the usage of this flag, which might lead the users to
      wonder:
      
      - How can the configuration options available for use via the flag be determined?
      - What is the format for the configuration option argument?
      
      The information is provided in the FAQ page of the documentation, but that is not as convenient a source of information
      as the command line help and the user may not even be aware of its existence.
      
      The command help is hereby adjusted to provide the user with this information:
      
      - Create a conceptual linkage between the `--config` and `--describe` flags by using the "communication port settings"
        terminology in the references of both.
      - Document the argument format.
      
      In addition to the comma-separated list format I documented here, an alternative usage of passing multiple `--config`
      flags is also supported. I chose the former because I felt that the descriptions of the latter in either command line
      notation (e.g., `[--config <ID>=<value>]...`) or in prose (e.g., "The format is <ID>=<value>. Can be used multiple times
      for multiple settings.") were less clear.
      78d19fa1
  5. 21 Jul, 2023 2 commits
  6. 20 Jul, 2023 2 commits
  7. 06 Jul, 2023 1 commit
  8. 04 Jul, 2023 1 commit
  9. 03 Jul, 2023 1 commit
  10. 30 Jun, 2023 1 commit
    • Cristian Maglie's avatar
      Disable DTR clearing on 1200-bps touch (only on Windows) (#2234) · fe6d7499
      Cristian Maglie authored
      The reason why it was originally introduced:
      https://github.com/arduino/Arduino/pull/2709/commits/a6909bdb49d99253b4e684365e72e5dce31a49a7
      
      Why we are removing it now?
      * Windows does preserve the state of the RTS/DTR bits on successive
        opening of the serial port.
      * The serial library used in the Arduino IDE 1.8.x has a bug when trying
        to set DTR=false, on successive opening of the port the DTR line is
        set back high by the USB serial driver. This works differently from
        the serial library we use in the Arduino CLI, that sets DTR=false for
        good and this change is preserved on the successive opening of the
        port.
      * Having the serial port left in a state with DTR=false may cause
        problems to tools uploading later.
      
      It may probably completely removed, but for now, to reduce the testing
      surface, it will be disabled only for Windows.
      fe6d7499
  11. 27 Jun, 2023 3 commits
  12. 21 Jun, 2023 3 commits
  13. 20 Jun, 2023 2 commits
  14. 19 Jun, 2023 1 commit
  15. 16 Jun, 2023 1 commit
    • Cristian Maglie's avatar
      Automatically download indexes, if missing, in gRPC `Init` call (#2119) · 82e6f5d7
      Cristian Maglie authored
      * Created core.PlatformList implementaion follow gRPC naming
      
      Previously it was named GetPlatforms with a different return type than
      the one defined in gRPC API .proto files.
      
      * Added test for #1529
      
      * Perform first-update automatically in gRPC Init
      
      * Made cli.instance.Create function private
      
      * Extract function to compute index file name
      
      * Auto-download 3rd party indexes as part of the Init
      82e6f5d7
  16. 15 Jun, 2023 2 commits
  17. 14 Jun, 2023 1 commit
  18. 13 Jun, 2023 2 commits
  19. 08 Jun, 2023 1 commit
    • Cristian Maglie's avatar
      [skip-changelog] legacy: some simple refactorings (#2206) · 8cd72974
      Cristian Maglie authored
      * Factored a method in library.List
      
      * Fixed lint check
      
      * Moved ResolveLibrary function in the correct source file
      
      * Rename variable 'includes' -> 'includeFolders'
      
      * Rename variables to use snakeCase (golang idiomatic)
      
      * Rename variable 'include' -> 'missingIncludeH'
      
      * Use pointers for SourceFile queues
      
      * Clean up implementation of UniqueSourceFileQueue
      8cd72974
  20. 06 Jun, 2023 1 commit
  21. 01 Jun, 2023 2 commits
    • Alessio Perugini's avatar
      [skip-changelog] Update protobuf deps (#2196) · f3ee0a83
      Alessio Perugini authored
      * upgrade protoc to v23.2
      * protoc-gen-go to v1.30.0
      * protoc-gen-go-grpc to v1.3.0
      * bump buf tooling to v1.20.0
      * bump grpc and protobuf go deps
      f3ee0a83
    • Cristian Maglie's avatar
      [skip-changelog] legacy: Arduino preprocess subroutine refactorization (part 5) (#2195) · 46557b27
      Cristian Maglie authored
      * Moved CTags parser out of legacy
      
      * Moved CTags preprocess subroutine in proper place
      
      * Factored all c++ source lines parsers
      
      * Removed useless builderCtx field SketchSourceAfterCppPreprocessing
      
      * Removed useless builderCtx field SketchSourceAfterArduinoPreprocessing
      
      * Removed useless builderCtx field SketchSourceMerged
      
      * Moved ctag preprocessor into proper location
      
      * Moved ctags parser shenanigans into `internal` package
      
      * Fixed linter warnings
      46557b27
  22. 31 May, 2023 6 commits