Skip to content

Commit 01d7490

Browse files
committed
Artemis Plus (Apollo 3 Blue Plus) support
1 parent 9f3dc4d commit 01d7490

File tree

199 files changed

+125
-7951
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+125
-7951
lines changed

boards.txt

Lines changed: 33 additions & 350 deletions
Large diffs are not rendered by default.

cores/arduino/sdk/core-implement/CommonPulse.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ unsigned long indexPulseIn(pin_size_t index, uint8_t state, unsigned long timeou
2424
// Enable FastGPIO
2525
am_hal_gpio_fastgpio_disable(pinNumber);
2626
am_hal_gpio_fastgpio_clr(pinNumber);
27-
am_hal_gpio_fast_pinconfig((uint64_t)0x1 << pinNumber, g_AM_HAL_GPIO_OUTPUT_WITH_READ, 0);
27+
AM_HAL_GPIO_MASKCREATE(GpioMask); //3p
28+
AM_HAL_GPIO_MASKBIT(pGpioMask, pinNumber);//3p
29+
am_hal_gpio_fast_pinconfig(pGpioMask, g_AM_HAL_GPIO_OUTPUT_WITH_READ, 0);
2830

2931
uint32_t t_start = micros();
3032
uint32_t t_stop = 0;

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "framework-arduinoapollo3",
3-
"description": "An mbed-os enabled Arduino core for Ambiq Apollo3 based boards",
4-
"version": "2.2.1",
5-
"url": "https://github.com/sparkfun/Arduino_Apollo3"
2+
"name": "framework-arduinoapollo3plus",
3+
"description": "An mbed-os enabled Arduino core for Ambiq Apollo3 Plus based boards",
4+
"version": "1.0.0",
5+
"url": "https://github.com/SapphireCircuits/Arduino_Apollo3Plus"
66
}
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"packages": [
3+
{
4+
"name": "SapphireCircuits",
5+
"maintainer": "",
6+
"websiteURL": "https://sapphirecircuits.com",
7+
"email": "",
8+
9+
"platforms": [
10+
{
11+
"name": "Sapphire Circuits Apollo3 Plus Boards",
12+
"architecture": "apollo3p",
13+
"version": "1.0.0",
14+
"category": "Contributed",
15+
"url": "https://github.com/SapphireCircuits/Arduino_Apollo3Plus/releases/download/v2.2.1/Arduino_Apollo3_plus.tar.gz",
16+
"archiveFileName": "Arduino_Apollo3_plus.tar.gz",
17+
"checksum": "SHA-256:c8bfa1b505b327121454198c43158a9efffb0cd4180d9e5e6b5be325dd52205b",
18+
"size": "83800542",
19+
"help": {
20+
"online": "https://"
21+
},
22+
"boards": [
23+
{ "name": "BlueBoard Artemis Plus ATP" }
24+
25+
],
26+
"toolsDependencies": [
27+
{ "packager": "SapphireCircuits", "name": "arm-none-eabi-gcc", "version": "8-2018-q4-major" }
28+
]
29+
}
30+
],
31+
32+
"tools": [
33+
{
34+
"name": "arm-none-eabi-gcc",
35+
"version": "8-2018-q4-major",
36+
"systems": [
37+
{
38+
"host": "x86_64-apple-darwin",
39+
"url": "https://static.sparkfun.com/large/gcc-arm-none-eabi-8-2018-q4-major-mac.tar.bz2",
40+
"checksum": "SHA-256:0b528ed24db9f0fa39e5efdae9bcfc56bf9e07555cb267c70ff3fee84ec98460",
41+
"archiveFileName": "gcc-arm-none-eabi-8-2018-q4-major-mac.tar.bz2",
42+
"size": "111430151"
43+
},
44+
{
45+
"host": "i386-apple-darwin11",
46+
"url": "https://static.sparkfun.com/large/gcc-arm-none-eabi-8-2018-q4-major-mac.tar.bz2",
47+
"checksum": "SHA-256:0b528ed24db9f0fa39e5efdae9bcfc56bf9e07555cb267c70ff3fee84ec98460",
48+
"archiveFileName": "gcc-arm-none-eabi-8-2018-q4-major-mac.tar.bz2",
49+
"size": "111430151"
50+
},
51+
{
52+
"host": "i686-linux-gnu",
53+
"url": "https://static.sparkfun.com/large/gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2",
54+
"checksum": "SHA-256:fb31fbdfe08406ece43eef5df623c0b2deb8b53e405e2c878300f7a1f303ee52",
55+
"archiveFileName": "gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2",
56+
"size": "107253352"
57+
},
58+
{
59+
"host": "x86_64-pc-linux-gnu",
60+
"url": "https://static.sparkfun.com/large/gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2",
61+
"checksum": "SHA-256:fb31fbdfe08406ece43eef5df623c0b2deb8b53e405e2c878300f7a1f303ee52",
62+
"archiveFileName": "gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2",
63+
"size": "107253352"
64+
},
65+
{
66+
"host": "i686-mingw32",
67+
"url": "https://static.sparkfun.com/large/gcc-arm-none-eabi-8-2018-q4-major-win32-modified.zip",
68+
"checksum": "SHA-256:98f47ed254ce31942408028c3a4a75ad4ee9fe7f318daecafb8c101bc19a6e23",
69+
"archiveFileName": "gcc-arm-none-eabi-8-2018-q4-major-win32-modified.zip",
70+
"size": "135448870"
71+
}
72+
]
73+
}
74+
]
75+
}
76+
]
77+
}

package_sparkfun_apollo3_index.json

Lines changed: 0 additions & 279 deletions
This file was deleted.

0 commit comments

Comments
 (0)