Skip to content

Commit 89d43b6

Browse files
authored
Merge branch 'earlephilhower:master' into lowpower
2 parents 338576b + e16c459 commit 89d43b6

Some content is hidden

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

50 files changed

+872
-124
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
1616
* Raspberry Pi Pico
1717
* Raspberry Pi Pico W
1818
* Raspberry Pi Pico 2
19+
* Raspberry Pi Pico 2W
1920
* 0xCB Helios
2021
* Adafruit Feather RP2040
2122
* Adafruit Feather RP2040 SCORPIO
23+
* Adafruit Floppsy RP2040
2224
* Adafruit ItsyBitsy RP2040
2325
* Adafruit KB2040
2426
* Adafruit Macropad RP2040

boards.txt

Lines changed: 535 additions & 0 deletions
Large diffs are not rendered by default.

cores/rp2040/RP2040Version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#pragma once
22
#define ARDUINO_PICO_MAJOR 4
3-
#define ARDUINO_PICO_MINOR 2
4-
#define ARDUINO_PICO_REVISION 1
5-
#define ARDUINO_PICO_VERSION_STR "4.2.1"
3+
#define ARDUINO_PICO_MINOR 3
4+
#define ARDUINO_PICO_REVISION 0
5+
#define ARDUINO_PICO_VERSION_STR "4.3.0"

cores/rp2040/cyw43_wrappers.h

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@
2323
#include <pico/cyw43_driver.h>
2424

2525
extern bool __isPicoW;
26+
#ifdef __cplusplus
2627
extern "C" {
27-
void init_cyw43_wifi();
28-
void __lockBluetooth();
29-
void __unlockBluetooth();
30-
void cyw43_pinMode(pin_size_t pin, PinMode mode);
31-
void cyw43_digitalWrite(pin_size_t pin, PinStatus val);
32-
PinStatus cyw43_digitalRead(pin_size_t pin);
28+
#endif
29+
void init_cyw43_wifi();
30+
void __lockBluetooth();
31+
void __unlockBluetooth();
32+
void cyw43_pinMode(pin_size_t pin, PinMode mode);
33+
void cyw43_digitalWrite(pin_size_t pin, PinStatus val);
34+
PinStatus cyw43_digitalRead(pin_size_t pin);
35+
#ifdef __cplusplus
3336
}
37+
#endif

cores/rp2040/flash_wrapper.cpp

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

cores/rp2040/malloc-lock.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,13 @@ extern "C" void *pcalloc(size_t count, size_t size) {
7676
#else
7777
// No PSRAM, always fail
7878
extern "C" void *pmalloc(size_t size) {
79+
(void) size;
7980
return nullptr;
8081
}
8182

8283
extern "C" void *pcalloc(size_t count, size_t size) {
84+
(void) count;
85+
(void) size;
8386
return nullptr;
8487
}
8588
#endif

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
# built documents.
5555
#
5656
# The short X.Y version.
57-
version = u'4.2.1'
57+
version = u'4.3.0'
5858
# The full version, including alpha/beta/rc tags.
59-
release = u'4.2.1'
59+
release = u'4.3.0'
6060

6161
# The language for content autogenerated by Sphinx. Refer to documentation
6262
# for a list of supported languages.

include/rp2040/pico_base/pico/version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#define _PICO_VERSION_H
1313

1414
#define PICO_SDK_VERSION_MAJOR 2
15-
#define PICO_SDK_VERSION_MINOR 0
16-
#define PICO_SDK_VERSION_REVISION 1
17-
#define PICO_SDK_VERSION_STRING "2.0.1-develop"
15+
#define PICO_SDK_VERSION_MINOR 1
16+
#define PICO_SDK_VERSION_REVISION 0
17+
#define PICO_SDK_VERSION_STRING "2.1.0"
1818

1919
#endif

include/rp2350/pico_base/pico/version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#define _PICO_VERSION_H
1313

1414
#define PICO_SDK_VERSION_MAJOR 2
15-
#define PICO_SDK_VERSION_MINOR 0
16-
#define PICO_SDK_VERSION_REVISION 1
17-
#define PICO_SDK_VERSION_STRING "2.0.1-develop"
15+
#define PICO_SDK_VERSION_MINOR 1
16+
#define PICO_SDK_VERSION_REVISION 0
17+
#define PICO_SDK_VERSION_STRING "2.1.0"
1818

1919
#endif

lib/core_wrap.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,3 @@
6767
-Wl,--wrap=cyw43_tcpip_link_status
6868
-Wl,--wrap=cyw43_cb_tcpip_init
6969
-Wl,--wrap=cyw43_cb_tcpip_deinit
70-
71-
-Wl,--wrap=flash_range_erase
72-
-Wl,--wrap=flash_range_program
73-
-Wl,--wrap=flash_get_unique_id
74-
-Wl,--wrap=flash_do_cmd

0 commit comments

Comments
 (0)