Author Topic: Arduino build environment in windows 10  (Read 886 times)

markeby

  • Junior Community Member
  • Posts: 6
  • Hero Points: 0
Arduino build environment in windows 10
« on: April 16, 2022, 09:19:31 PM »
Has anybody configured SE for windows 10 to build Arduino?  I tagged all the files correctly but the simplest way to compile and upload was to build a batch file for each processor type and I was building for and then select the appropriate batch file in the tools to build.  If anyone has done anything differently I would like to know about it. I am going to publish on GitHub  the batch files and probably the project and work files with the project that I’m working on when I release it.

SidInNJ

  • Junior Community Member
  • Posts: 5
  • Hero Points: 0
Re: Arduino build environment in windows 10
« Reply #1 on: July 26, 2022, 01:47:21 PM »
Under Project Properties, Tools, Build, Command Line:
Code: [Select]
arduino-cli compile -p COM22 -u -t --fqbn arduino:avr:mega  --warnings more myProject\myProject.ino
My SlickEdit project is located in the folder holding the Arduino project and "libraries" folders. The file arduino-cli.yaml is also in that folder.
Code: [Select]
board_manager:
  additional_urls: []
daemon:
  port: "50051"
directories:
  data: C:\Users\me\AppData\Local\Arduino15
  downloads: C:\Users\me\AppData\Local\Arduino15\staging
  user: .
logging:
  file: ""
  format: text
  level: info
telemetry:
  addr: :9090
  enabled: true

PS. Sorry I didn't see this question sooner....