
yNos (Customer) asked a question.
We have a few remote sites with a raspi running node-red pulling data off a P1AM for data acquisition . I'd really like to be able to push new code to the sites w/o going out to them. Bonus points for not having to run a USB cable. So far I've tried a few things from here.
Here is the output from the core install:
- $ arduino-cli core install P1AM-100:samd
- Tool arduino:CMSIS@4.5.0 already installed
- Downloading packages...
- Error during install: Error downloading tool arduino:arm-none-eabi-gcc@4.8.3-2014q1: no versions available for the current OS, try contacting packages@arduino.cc
- me@site1:~/ $
I was able to install the build utils outside of it:
- me@site1:~ $ arm-none-eabi-gcc --version
- arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
- Copyright (C) 2018 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
- me@site1:~ $ arm-none-eabi-g++ --version
- arm-none-eabi-g++ (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
- Copyright (C) 2018 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
I've even got bossac working:
- me@site1:~ $ bossac -h
- Usage: bossac [OPTION...] [FILE]
- Basic Open Source SAM-BA Application (BOSSA) Version 1.7.0
- Flash programmer for Atmel SAM devices.
- .....
Any suggestions would be great.
Looking at that error I believe it's still trying to install the normal P1AM-100 platform using the cached json. You'll want to go into your .arduino15 folder and delete the "package_productivity-P1AM-boardmanagermodule_index.json" and try again.