This is an experimental platform to allow the use of SparkFun's Arduino framework in PlatformIO.
As this is experimental, it requires a manual install.
Platform-apollo3blue now supports the following:
- Frameworks:
- Arduino - sparkfun/Arduino_Apollo3
- Ambiq Suit SDK - sparkfun/AmbiqSuiteSDK
- Tools:
- Segger JLink with platformio
To specify which framework and version to use, see below or a more detailed example.
Here we document the quickest way to get started using platform-apollo3blue
.
$ pio platform install git+https://github.com/nigelb/platform-apollo3blue
The quickest and easiest way to install Arduino_Apollo3 is to create a project and specify the version as a git repo.
$ mkdir new_project
$ cd new_project
And then either:
$ pio init -b SparkFun_RedBoard_Artemis_ATP -O"platform_packages=framework-arduinoapollo3@https://github.com/sparkfun/Arduino_Apollo3#v2.2.0"
or:
Until the version number is bumped for the core v1 branch, I am maintaining a fork of it here with the required updates.
$ pio init -b SparkFun_RedBoard_Artemis_ATP -O"platform_packages=framework-arduinoapollo3@https://github.com/nigelb/Arduino_Apollo3#v1.2.1_pio"
If you don't want to use my forked repo, or you want to be able to have concurrent projects that use core v1
and core v2
without having platformio reinstall Arduino_Apollo each time, you can manually install both version
of the cores.
See the Manual Installation and Using Multiple Versions of Arduino_Apollo3.