@@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 :)
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.
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?
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?
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
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) ☺️
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.
hi Sayanee :)
A huge thank you on behalf of Arduino Tooling Team, we're loving this tutorial
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!
@@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 :)
Thank you very much for your work. Watched your videos with interest. Command line is great. No new videos. Waiting for it.
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.
Great information. I love the command line, so this is inspirational.
This is the best tutorial for Arduino CLI!!
Your working area is awesome
A very productive presentation. Thanks.
Good introduction. Thx. And now, on to Part II, please!!
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?
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?
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
@@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)/
@@ami6packs Uh yes, build-property is another common one too! Glad you figured it out.
Hello very informative, i cant find detaild arduino gRPC video, Any chance of making a video like this?
Thank you :)
Wow...I hit gold today
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) ☺️
As always a very informativ and educational video - may thanks for sharinge your knowledge.
You are so inspiring 😊
Thank you!
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.
Please make tutuorial about stm32 f4 and f7 series MCU
Do you have any info about installing CLI on Ubuntu? ... its not working for me.
Not anything more than this information here arduino.github.io/arduino-cli/latest/installation/#download
@@sayanee :(
@@sayanee I make a post in arduino CLI forum ... hope anyone could help me.
@@franciscoignacio3741 Yes that's a good place it seems 👏🏻 forum.arduino.cc/index.php
Hope you get it sorted out! Don't worry :)
@@sayanee Solved! :D