Skip to content

Commit aa4f441

Browse files
committed
Merge branch 'master' into core-ble
2 parents 0a394dc + 1b767e5 commit aa4f441

File tree

7 files changed

+8
-2
lines changed

7 files changed

+8
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The basic necesseties are in-place. This means that you can compile and upload c
4040
* Software Serial: ✅
4141

4242
**Apollo3 Specialty Peripherals**
43-
* PDM Microphones / I2S: 🤔
43+
* PDM Microphones / I2S:
4444
* BLE: 🤔
4545
* Multi-bit SPI: 🤔
4646
* I2C/SPI Slave: 🤔

cores/arduino/ard_sup/analog/ap3_analog.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,12 @@ uint8_t _servoWriteBits = 8; // 8-bit by default for writes
125125

126126
uint16_t analogRead(uint8_t pinNumber)
127127
{
128+
static bool ap3_adc_initialized = false;
129+
if(!ap3_adc_initialized){
130+
ap3_adc_setup();
131+
ap3_adc_initialized = true;
132+
}
133+
128134
uint32_t ui32IntMask;
129135
am_hal_adc_sample_t Sample;
130136
uint32_t ui32NumSamples = 1;

cores/arduino/ard_sup/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extern "C" int main(void)
2121

2222
ap3_variant_init();
2323

24-
ap3_adc_setup();
24+
// ap3_adc_setup();
2525

2626
setup();
2727
for (;;)

tools/ambiq/linux/ambiq_bin2board

4.65 KB
Binary file not shown.

tools/ambiq/macosx/ambiq_bin2board

14 MB
Binary file not shown.

tools/artemis/linux/artemis_svl

2.2 KB
Binary file not shown.

tools/artemis/macosx/artemis_svl

257 KB
Binary file not shown.

0 commit comments

Comments
 (0)