Skip to content

Commit 477b130

Browse files
authored
Merge branch 'master' into bugfix/toolchain_path_len
2 parents 8cf213e + 97c98eb commit 477b130

File tree

7 files changed

+13
-10
lines changed

7 files changed

+13
-10
lines changed

Diff for: .github/scripts/update-version.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ cat package.json | sed "s/.*\"version\":.*/ \"version\": \"$ESP_ARDUINO_VERSION
3232

3333
echo "Updating cores/esp32/esp_arduino_version.h..."
3434
cat cores/esp32/esp_arduino_version.h | \
35-
sed "s/#define ESP_ARDUINO_VERSION_MAJOR.*/#define ESP_ARDUINO_VERSION_MAJOR $ESP_ARDUINO_VERSION_MAJOR/g" | \
36-
sed "s/#define ESP_ARDUINO_VERSION_MINOR.*/#define ESP_ARDUINO_VERSION_MINOR $ESP_ARDUINO_VERSION_MINOR/g" | \
37-
sed "s/#define ESP_ARDUINO_VERSION_PATCH.*/#define ESP_ARDUINO_VERSION_PATCH $ESP_ARDUINO_VERSION_PATCH/g" > __esp_arduino_version.h && mv __esp_arduino_version.h cores/esp32/esp_arduino_version.h
35+
sed "s/#define ESP_ARDUINO_VERSION_MAJOR.*/#define ESP_ARDUINO_VERSION_MAJOR $ESP_ARDUINO_VERSION_MAJOR/g" | \
36+
sed "s/#define ESP_ARDUINO_VERSION_MINOR.*/#define ESP_ARDUINO_VERSION_MINOR $ESP_ARDUINO_VERSION_MINOR/g" | \
37+
sed "s/#define ESP_ARDUINO_VERSION_PATCH.*/#define ESP_ARDUINO_VERSION_PATCH $ESP_ARDUINO_VERSION_PATCH/g" > __esp_arduino_version.h && mv __esp_arduino_version.h cores/esp32/esp_arduino_version.h
3838

3939
exit 0

Diff for: boards.txt

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ esp32_family.vid.0=0x303a
4040
esp32_family.pid.0=0x1001
4141
esp32_family.upload_port.0.vid=0x303a
4242
esp32_family.upload_port.0.pid=0x1001
43+
esp32_family.build.board=ESP32_FAMILY
4344

4445
##############################################################
4546

Diff for: cores/esp32/Esp.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ extern "C" {
7171
// REG_SPI_BASE is not defined for S3/C3 ??
7272

7373
#if CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32C3
74-
#ifndef REG_SPI_BASE
75-
#define REG_SPI_BASE(i) (DR_REG_SPI1_BASE + (((i) > 1) ? (((i) * 0x1000) + 0x20000) : (((~(i)) & 1) * 0x1000)))
74+
#ifdef REG_SPI_BASE
75+
#undef REG_SPI_BASE
7676
#endif // REG_SPI_BASE
77+
#define REG_SPI_BASE(i) (DR_REG_SPI1_BASE + (((i) > 1) ? (((i) * 0x1000) + 0x20000) : (((~(i)) & 1) * 0x1000)))
7778
#endif // TARGET
7879

7980
/**

Diff for: cores/esp32/chip-debug-report.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,10 @@ static void printFlashInfo(void) {
113113
#endif
114114
// REG_SPI_BASE is not defined for S3/C3 ??
115115
#if CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32C3
116-
#ifndef REG_SPI_BASE
117-
#define REG_SPI_BASE(i) (DR_REG_SPI1_BASE + (((i) > 1) ? (((i) * 0x1000) + 0x20000) : (((~(i)) & 1) * 0x1000)))
116+
#ifdef REG_SPI_BASE
117+
#undef REG_SPI_BASE
118118
#endif // REG_SPI_BASE
119+
#define REG_SPI_BASE(i) (DR_REG_SPI1_BASE + (((i) > 1) ? (((i) * 0x1000) + 0x20000) : (((~(i)) & 1) * 0x1000)))
119120
#endif // TARGET
120121

121122
chip_report_printf("Flash Info:\n");

Diff for: cores/esp32/esp_arduino_version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extern "C" {
2323
/** Minor version number (x.X.x) */
2424
#define ESP_ARDUINO_VERSION_MINOR 0
2525
/** Patch version number (x.x.X) */
26-
#define ESP_ARDUINO_VERSION_PATCH 0
26+
#define ESP_ARDUINO_VERSION_PATCH 1
2727

2828
/**
2929
* Macro to convert ARDUINO version number into an integer

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "framework-arduinoespressif32",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "Arduino Wiring-based Framework for the Espressif ESP32, ESP32-S and ESP32-C series of SoCs",
55
"keywords": [
66
"framework",

Diff for: platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ESP32 Arduino
2-
version=3.0.0
2+
version=3.0.1
33

44
tools.esp32-arduino-libs.path={runtime.platform.path}/tools/esp32-arduino-libs
55
tools.esp32-arduino-libs.path.windows={runtime.platform.path}\tools\esp32-arduino-libs

0 commit comments

Comments
 (0)