Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
earlephilhower authored Jun 5, 2024
2 parents 7908854 + f997a9c commit 455fea9
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 18 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
# Features
* Adafruit TinyUSB Arduino (USB mouse, keyboard, flash drive, generic HID, CDC Serial, MIDI, WebUSB, others)
* Bluetooth on the PicoW (Classic and BLE) with Keyboard, Mouse, Joystick, and Virtual Serial
* Bluetooth Classic HID master mode (connect to BT keyboard or mouse)
* Generic Arduino USB Serial, Keyboard, Joystick, and Mouse emulation
* WiFi (Pico W, ESP32-based ESPHost, Atmel WINC1500)
* Ethernet (Wired W5500, W5100, ENC28J60)
Expand All @@ -99,7 +100,7 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
* digitalWrite/Read, shiftIn/Out, tone, analogWrite(PWM)/Read, temperature
* Analog stereo audio in using DMA and the built-in ADC
* Analog stereo audio out using PWM hardware
* Bluetooth A2DP audio source (output) on the PicoW
* Bluetooth A2DP audio source (output) and sink (input) on the PicoW
* USB drive mode for data loggers (SingleFileDrive, FatFSUSB)
* Peripherals: SPI master/slave, Wire(I2C) master/slave, dual UART, emulated EEPROM, I2S audio input/output, Servo
* printf (i.e. debug) output over USB serial
Expand Down
4 changes: 2 additions & 2 deletions cores/rp2040/RP2040Version.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once
#define ARDUINO_PICO_MAJOR 3
#define ARDUINO_PICO_MINOR 9
#define ARDUINO_PICO_REVISION 1
#define ARDUINO_PICO_VERSION_STR "3.9.1"
#define ARDUINO_PICO_REVISION 2
#define ARDUINO_PICO_VERSION_STR "3.9.2"
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
# built documents.
#
# The short X.Y version.
version = u'3.9.1'
version = u'3.9.2'
# The full version, including alpha/beta/rc tags.
release = u'3.9.1'
release = u'3.9.2'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
Binary file modified lib/ota.o
Binary file not shown.
12 changes: 6 additions & 6 deletions libraries/ArduinoOTA/examples/BasicOTA/BasicOTA.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <WiFi.h>
#include <LEAmDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>

Expand All @@ -22,11 +22,11 @@ void setup() {
rp2040.restart();
}

// Port defaults to 8266
// ArduinoOTA.setPort(8266);
// Port defaults to 2040
// ArduinoOTA.setPort(2040);

// Hostname defaults to esp8266-[ChipID]
// ArduinoOTA.setHostname("myesp8266");
// Hostname defaults to pico-[ChipID]
// ArduinoOTA.setHostname("mypico");

// No authentication by default
// ArduinoOTA.setPassword("admin");
Expand Down
4 changes: 2 additions & 2 deletions libraries/ArduinoOTA/examples/OTALeds/OTALeds.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <WiFi.h>
#include <LEAmDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>

Expand Down
1 change: 1 addition & 0 deletions libraries/BluetoothAudio/src/BluetoothAudio.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <_needsbt.h>
#include <BluetoothLock.h>
#include <BluetoothDevice.h>
#include <BluetoothHCI.h>
Expand Down
1 change: 1 addition & 0 deletions libraries/BluetoothHCI/src/BluetoothHCI.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#pragma once

#include <_needsbt.h>
#include <Arduino.h>
#include <list>
#include <memory>
Expand Down
1 change: 1 addition & 0 deletions libraries/BluetoothHCI/src/BluetoothLock.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#pragma once

#include <_needsbt.h>
#include <Arduino.h>

class BluetoothLock {
Expand Down
1 change: 1 addition & 0 deletions libraries/BluetoothHIDMaster/src/BluetoothHIDMaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#pragma once

#include <_needsbt.h>
#include <Arduino.h>
#include <list>
#include <memory>
Expand Down
6 changes: 3 additions & 3 deletions libraries/PWMAudio/src/PWMAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ size_t PWMAudio::write(const uint8_t *buffer, size_t size) {
return writtenSize;
} else {
p++;
size -= 4;
writtenSize += 4;
size -= 2;
writtenSize += 2;
}
}
return writtenSize;
Expand Down Expand Up @@ -288,4 +288,4 @@ void PWMAudio::find_pacer_fraction(int target, uint16_t *numerator, uint16_t *de
last_target = target;
*numerator = bestNum;
*denominator = bestDenom;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "framework-arduinopico",
"version": "1.30901.0",
"version": "1.30902.0",
"description": "Arduino Wiring-based Framework (RPi Pico RP2040)",
"keywords": [
"framework",
Expand Down
2 changes: 1 addition & 1 deletion platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification

name=Raspberry Pi RP2040 Boards
version=3.9.1
version=3.9.2

# Required discoveries and monitors
# ---------------------------------
Expand Down

0 comments on commit 455fea9

Please sign in to comment.