Arduino CLI and the art of command line

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024

Комментарии • 31

  • @ubidefeo
    @ubidefeo 4 года назад +2

    hi Sayanee :)
    A huge thank you on behalf of Arduino Tooling Team, we're loving this tutorial

    • @sayanee
      @sayanee  4 года назад +1

      Thanks for adding productivity to my Arduino life :) I'm so looking forward to the future development of this tool with Go / gRPC, etc. Keep it up!

    • @ubidefeo
      @ubidefeo 4 года назад +2

      @@sayanee one small productivity tip for the initial setup:
      you can create a default .yaml config file by using
      arduino-cli config new
      this will contain a lot more things than the basic one including paths, logging output etc.
      you can also view this output with
      arduino-cli config dump
      which you can pipe to your needs or even copy it to another machine.
      I do this all the time because it allows me to quickly transfer all my external URLs from 3rd party cores to new machines :)

  • @DimiEG
    @DimiEG Год назад

    Thank you very much for your work. Watched your videos with interest. Command line is great. No new videos. Waiting for it.

  • @dng88
    @dng88 Месяц назад

    A lot have been changed. I suggest
    a) 3:06 use of Arduino-cli config needed as not sure how this Desktop .yaml file work; the file now rest in /Users//Library/Arduino15/arduino-cli.yaml if you run arduino-cl config init (earlier comment use config new; not sure but no time to try it)
    b) the board has no automation and I think another video will be talking about include etc. that necessary for multiple board same program
    c) the build file is not auto-generated as build (as it is in macOS temp dir). To get this you have to use
    all:
    arduino-cli compile --build-path build/ --fqbn $(BOARD) ./
    d) Tbh not sure about the cpplint. Anyway brew install cpplint on top of earlier brew install Arduino
    e) I note that sometimes the board list may not give you the current board.

  • @ShotokuTech
    @ShotokuTech 4 года назад +1

    Great information. I love the command line, so this is inspirational.

  • @hackaniceday
    @hackaniceday 3 года назад

    This is the best tutorial for Arduino CLI!!

  • @AnandKumar-ji6wb
    @AnandKumar-ji6wb 3 года назад

    Your working area is awesome

  • @michaelangellotti5741
    @michaelangellotti5741 3 года назад

    A very productive presentation. Thanks.

  • @MathaGoram
    @MathaGoram 4 года назад

    Good introduction. Thx. And now, on to Part II, please!!

  • @dng88
    @dng88 Месяц назад

    After 4 years it was live. I wonder though can we automate more. For example most of mone I like the examples here are similar pgm on similar stuff. Just change port or PIN number plus some different names Aon board etc. can this be done?

  • @ami6packs
    @ami6packs Год назад

    Hi, Great tutorial on arduino-cli, probably the best one out there.
    I've a question regarding including one of option provided in arduino ide.
    e.g. in case of enabling ipv6 in esp8266.
    how to do that using arduino-cli?

    • @sayanee
      @sayanee  Год назад +1

      You can query "arduino-cli board details -b [FQBN]" to see all the Arduino IDE menu options.
      And then add it one as part of the FQBN after a colon ":". I recently has to do something similar as well, for example: "esp32:esp32:esp32s3:CDCOnBoot=cdc"
      See the docs here: arduino.github.io/arduino-cli/0.19/commands/arduino-cli_board_details/
      Or post your question in the Arduino ESP forum: www.esp32.com/viewforum.php?f=19

    • @ami6packs
      @ami6packs Год назад

      @@sayanee thanks
      I figured out though.
      arduino-cli compile --verbose --fqbn esp8266:esp8266:$1 --build-property "build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=1" --build-property "build.lwip_include=lwip2/include" --build-property "build.lwip_lib=-llwip6-536-feat" $(pwd)/

    • @sayanee
      @sayanee  Год назад

      @@ami6packs Uh yes, build-property is another common one too! Glad you figured it out.

  • @plazmax
    @plazmax Год назад

    Hello very informative, i cant find detaild arduino gRPC video, Any chance of making a video like this?

  • @RSEmbedded
    @RSEmbedded 2 месяца назад

    Thank you :)

  • @arijitkumarhaldar3197
    @arijitkumarhaldar3197 3 года назад +1

    Wow...I hit gold today

    • @arijitkumarhaldar3197
      @arijitkumarhaldar3197 3 года назад

      Probably you don't remember...but I had contacted you earlier this year when I was just starting with the command line...and I wanted to do my projects the "pro" way. Things are going really smooth...I am much more confident and comfortable now using command line for literally everything. A big thanks to you and your channel...
      (Btw...I completed the research project I had mentioned at that time for which I wanted to try using Linux) ☺️

  • @dl8cy
    @dl8cy 4 года назад

    As always a very informativ and educational video - may thanks for sharinge your knowledge.

  • @krishnawa_
    @krishnawa_ 3 года назад

    You are so inspiring 😊

  • @fasteddy-fd3kr
    @fasteddy-fd3kr 2 года назад

    Thank you!

  • @dazecm
    @dazecm 4 года назад

    On Windows 10, typing arduino-cli board list shows this:
    Port Type Board Name FQBN Core
    COM1 Serial Port Unknown
    .COM3 Serial Port (USB) Unknown
    COM5 Serial Port (USB) Arduino Uno arduino:avr:uno arduino:avr
    COM7 Serial Port (USB) Unknown
    COM7 is an MXChip with the FQBN AZ3166:stm32f4:MXCHIP_AZ3166 and this is installed in the core list. Why is it showing Unknown and only the Arduino board has its FQBN and core name listed? Arduino IDE even lists it properly as MXChip IoT Developer Board.

  • @anandkachale5187
    @anandkachale5187 4 года назад

    Please make tutuorial about stm32 f4 and f7 series MCU

  • @franciscoignacio3741
    @franciscoignacio3741 4 года назад

    Do you have any info about installing CLI on Ubuntu? ... its not working for me.

    • @sayanee
      @sayanee  4 года назад

      Not anything more than this information here arduino.github.io/arduino-cli/latest/installation/#download

    • @franciscoignacio3741
      @franciscoignacio3741 4 года назад

      @@sayanee :(

    • @franciscoignacio3741
      @franciscoignacio3741 4 года назад

      @@sayanee I make a post in arduino CLI forum ... hope anyone could help me.

    • @sayanee
      @sayanee  4 года назад +1

      @@franciscoignacio3741 Yes that's a good place it seems 👏🏻 forum.arduino.cc/index.php
      Hope you get it sorted out! Don't worry :)

    • @franciscoignacio3741
      @franciscoignacio3741 4 года назад

      @@sayanee Solved! :D