Comments (5)
I ended up building from source, which worked fine for me. I did just download the Mac x86-64 binary and it appears to work as well.
The only issue I see is the install.sh script errors because getFile returns no binary for macOS arm64. So either hosting a binary for the macOS arm64 download path or modifying the install.sh script would provide support for M1 devices in my mind.
from arduino-lint.
I ended up building from source, which worked fine for me. I did just download the Mac x86-64 binary and it appears to work as well.
I'm very glad to hear this!
the install.sh script errors because getFile returns no binary for macOS arm64
Thanks so much for bringing this to our attention. Although the installation script is automatically tested, including on a macOS x86-64 machine, the GitHub Actions system used for the test does not currently have M1 runners, so that is a gap in the test coverage.
The installation script is maintained in a separate repository, so I have opened a dedicated bug report about this problem there:
arduino/tooling-project-assets#207
Once it is resolved upstream, that will be pulled back into this repository as well as the other projects using the script.
Since it seems no action needs to be taken in the code hosted in the Arduino Lint repository, I'll go ahead and close this issue.
Regards, Per
from arduino-lint.
Hello again @colin-pm. I just wanted to share an update that the deficiency in the installation script has now been resolved and it should now be possible to use on M1 machines: #376
from arduino-lint.
Hello yet again @colin-pm. I have some good news. There are now native macOS ARM 64-bit builds of Arduino Lint for the Apple M1-based machines (#409).
There hasn't been a production release of Arduino Lint since the build system was updated, but nightly builds are already available. The link is here if you want to give it a try:
https://arduino.github.io/arduino-lint/dev/installation/#nightly-builds
from arduino-lint.
Hi @colin-pm. I don't own a Mac M1, but my understanding is that the x86-64 build we provide already should work fine on these machines using Rosetta 2 mode.
Have you had problems using Arduino Lint sourced from the "macOS 64 bit" download links shown on the "Installation" page?:
https://arduino.github.io/arduino-lint/latest/installation/#latest-release
from arduino-lint.
Related Issues (20)
- Add "zero-length board ID" rule HOT 4
- Please add check for invalid examples e.g. containing no ino file HOT 3
- Question: Why are library names limited to 16 characters? (low prio) HOT 2
- Add maximum file system size rule for libraries
- Add the ability to mute some rules HOT 1
- Broken link in docs HOT 1
- Strict check on libraries should check for header guards or #pragma once HOT 2
- Consider raising LP048 to error instead of warning HOT 2
- Feature Request: Add ability to exclude certain sub-folders from checks
- Update link LP018 HOT 1
- arduino-lint can't load url from library.properties (http status 503) HOT 3
- New error raised with 1.2.1 while it should not
- My `examples` directory is getting ignored HOT 1
- Change of LP010: Increase character limit for naming Arduino libraries
- Publish Arduino project JSON schemas to "JSON Schema Store"
- Allow test sketches to be outside examples folder HOT 1
- Documentation and linter setup mismatch HOT 1
- Specify link to Github, BitBucket or GitLab as requirement for `url` field HOT 1
- Broken symlinks in libraries results in linter panic HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-lint.