Commit Graph

1869 Commits

Author SHA1 Message Date
Daniel Egnor
adb01cf0c6
Compile error if CONFIG_FREERTOS_HZ != 1000 (#6955)
* Compile error if CONFIG_FREERTOS_HZ != 1000
* add a check at the CMake level, per feedback
* Set CONFIG_FREERTOS_HZ=1000 in CI test of Arduino-as-component
2022-08-26 11:14:59 +03:00
Paul Price
d22bcb765b
fixed names on the VID and PID for boards (#7144)
somehow had duplicated the same name across all my boards. the PID's and VID's were correct, but the name was the same for all of them. that is fixed now.
2022-08-24 14:20:03 +03:00
Me No Dev
3f69bcfca4
Update get.py to support python 3.10+ (#7166)
* Update get.py to support python 3.10+

* Use try/except to remove version check
2022-08-22 17:33:14 +03:00
Me No Dev
3ebb774463
Update esptool to version 4.2.1 (#7127)
* Update esptool to version 4.2.1

* Fix esptool for MacOS

* Esptool v4.2.1 for CI Platformio (#7147)

to complete the test.

Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
2022-08-22 17:00:42 +03:00
Dr. Christian Kohlschütter
fdf8389ec5
Update .gitignore (#7021)
Add entries to gitignore
2022-08-22 14:16:55 +03:00
Dr. Christian Kohlschütter
4146d27b8f
Enable configuring target variants (#7019)
This change enables picking the right board configuration from the
variants/ folder. Previously, we would always pick the default
configuration (e.g., "esp32" instead of "heltec_wifi_lora_32_V2").
2022-08-22 14:16:38 +03:00
Rodrigo Garcia
fe1d9e00d5
Fixes Cookie Case Sensitivity (#7112)
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-08-16 12:07:24 +02:00
Tomáš Pilný
d9ac65f291
Fixed CHANNEL in ESPNow example (#7104)
Co-authored-by: Vojtěch Bartoška <76958047+VojtechBartoska@users.noreply.github.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-08-16 09:58:22 +02:00
Jan Procházka
7bcba17ba9
FIX: Added erase flash menu to all boards (#7129)
* Added erase flash menu to all boards

* fixed typo in board name
2022-08-16 09:44:23 +02:00
Jan Procházka
190db72820
Fix partition names in board.txt (#7120)
* typo edit: 8M flash (FAT to SPIFFS) + FAT to FATFS

* more precize fatfs size in 16M flash partition

* Revert size in 8M with spiffs partition
2022-08-16 09:05:10 +02:00
Tinyu
35978812b2
Create M5Station pins_arduino.h and M5Station Board (#7101)
* Create M5Station pins_arduino.h

* Update pins_arduino.h

* Update boards.txt

* add EraseFlash menu option

* Update boards.txt

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-08-15 20:45:47 +02:00
Jan Procházka
ac7879c683
Added NVS test sketch + test script (#6885)
* Added NVS test sketch + test script

* Added cfg.json with multiple fqbns

* cfg.json missing commas fix

* Changed OPI PSRAM to QSPI accordind to new HW setup.

* disabled PSRAM for ESP32S3

* Reverting PSRAM changes

* Remove Octal flash test

Octal flash needs to be tested locally before each release.
2022-08-15 14:47:07 +02:00
WebDust21
0260cd66a3
WebServer: rename & expose internal 'contentLength' variable for POST… (#7012) 2022-08-11 08:44:22 -03:00
Rodrigo Garcia
0130856b2a
Improves time for setting touch interrupt (#7099)
* Improves time for setting touch interrupt

* Fixes Interrupt Touchpad initialization

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-08-11 10:18:36 +02:00
Gareth Coleman
3e65a5721a
tested new partition, revised max flash & ram in boards.txt (#7109) 2022-08-10 14:57:53 -03:00
vortigont
46478092ec
UpdateClass - speedup flash erase/writes (#7002)
- on flash writes try to use large block erase
 - skip writing empty blocks of data after erase
 - more accurate block calculations
2022-08-10 13:28:46 -03:00
Tomáš Pilný
3cb73dccd0
Add erase flash option to Arduino IDE menu (#7043) 2022-08-10 08:23:12 -03:00
20162026
cb3ffd0b44
Add full setsocketoption to WifiClient and WifiClientSecure (#7030) 2022-08-08 16:25:37 -03:00
Paul Price
12169d8586
Added Smart Bee Design Boards (#7093) 2022-08-08 15:10:51 -03:00
Jan Procházka
285e898604
fixed 1bit mode duty (#7079) 2022-08-08 12:26:41 -03:00
WEMOS Electronics
236e8f31ee
add lolin s3 board def (#7094) 2022-08-08 11:57:42 -03:00
ChuckVanzant
7827c53914
Changed Neopixel related static constants to #defines (#7080) 2022-08-08 11:36:52 -03:00
Dryw Wade
f4d910ed8b
Add SparkFun IoT RedBoard (#7085) 2022-08-08 11:21:24 -03:00
Rodrigo Garcia
054e6b3d56
Fixes HardwareSerial::availableForWrite + setTxBufferSize (#6998) 2022-08-08 10:29:09 -03:00
Me No Dev
860b104691
IDF release/v4.4 (#6994) 2022-08-08 09:46:30 -03:00
Rodrigo Garcia
60c4eea0d4
Fixes LwIP INADDR_NONE conflict (#7059) 2022-08-01 10:15:47 -03:00
Rodrigo Garcia
852ea39ab1
Adds default Wire1 pins auto-setup (#7034) 2022-08-01 09:58:54 -03:00
Dr. Christian Kohlschütter
943216308d
WiFiClientSecure: Fix warning about missing PSK-based ciphersuites (#7020)
Make the warning actionable by pointing at the right setting in Kconfig.
2022-07-28 10:33:46 -03:00
Rodrigo Garcia
9bceb280e3
Adds Wire::setBufferSize function (#7016) 2022-07-28 10:15:31 -03:00
ZYJ
178aee8334
Update WiFiGeneric.cpp (#7044)
Changes WiFi Static TX Cache Buffer Number to 4 in order to avoid issues with sending more than 1 packet at the same time.
2022-07-28 00:13:04 -03:00
Ha Thach
e10b5282cf
add makeboards.py & update_tinyuf2.py scripts for adafruit (#7025) 2022-07-27 06:13:06 -03:00
Abdelatif Guettouche
4b64cde102
./.github/scripts: When only when skecth is built, the build directory (#7037)
should default to "build".
2022-07-26 13:36:00 -03:00
Ryan Downing
fef932c1a0
added http code param to WebServer.streamFile (#6899) (#6995) 2022-07-26 13:06:07 -03:00
Michael Ammann
e67bc02034
WifiGeneric.cpp FIX ifdef should match function call (#7004)
otherwise the compiler will complain about unused variable event

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-07-26 17:40:06 +02:00
Rodrigo Garcia
c996036e61
Adds an error message to HardwareSerial::setPins() (#7040)
* Adds an error message to HardwareSerial::setPins() 
In order to avoid problems if the user tries to setPins() before initializing the Serial port with begin()
2022-07-26 10:41:04 -03:00
Alex Brudner
03e2ad9b90
Add new variant ESP32 Thing Plus C. Update boards file. (#7038)
* Publish new board file for upcoming release.
* Add RGB capabilites.
2022-07-26 10:01:09 -03:00
Michael Ammann
65d9a2e870
NINA-W1 more menu options (#7008) 2022-07-26 09:43:01 -03:00
Tinyu
cc00cf72ad
Add TXD2 and RXD2 pin definitions (#6989) 2022-07-26 09:23:07 -03:00
Jesse Peterson
a84c77103b
Add the new MiniMain ESP32S2 board created by Department of Alchemy. (#6963) 2022-07-26 09:07:41 -03:00
Rodrigo Garcia
45f4bef989
Fixes Arduino Wire::begin overload (#7000)
Makes Wire::begin() fully compatible with Arduino mainstream (Master/Slave)
2022-07-26 06:53:47 -03:00
Vojtěch Bartoška
aae45633ab
Merge pull request #7036 from espressif/doc/faq_sdkconfig_options
docs: add FAQ entry about modifying sdkconfig options
2022-07-25 14:04:30 +02:00
Ivan Grokhotkov
52160ac6d8
docs: add FAQ entry about modifying sdkconfig options 2022-07-25 10:35:36 +02:00
Tomáš Pilný
5f427c998a
Added #include <vector> into BLEAdvertisedDevice.h (#6990)
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2022-07-20 10:51:58 -03:00
Tomáš Pilný
cc08dd3153
Added keywords.txt with RGB_BUILTIN into libraries/ESP32 (#7015)
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2022-07-20 10:32:22 -03:00
Vasko
cc8f4e5af6
Allow access to the PWM channel assigned to the Pin. Opportunity to change PWM configurations (#6992)
* Get channel assigned to the pin with analogWrite

* Respect coding standard in LEDC source file

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-07-20 14:15:16 +02:00
lbernstone
e55a1bebf0
Fixed instances where qspi has been renamed to qio in boards.txt (#6962)
* Fixed instances where qspi has been renamed to qio in boards.txt
2022-07-18 19:27:13 -03:00
santaimpersonator
05ae83a051
Improve RGB driver in pull #6808; solves #6968 (#6979)
* Improve RGB LED Driver

Replaces the use of the `LED_BUILTIN` variable by creating a new variable called `RGB_BUILTIN`. On boards with both a regular LED and RGB LED, this change provides functionality to control either LED.

The `LED_BRIGHTNESS` variable is changed to `RGB_BRIGHTNESS`, which aligns more closely with the `RGB_BUILTIN` variable name.

`BOARD_HAS_NEOPIXEL` is no longer necessary; it is replaced by `RGB_BUILTIN`.

* Update BlinkRGB example

Update example code for changes with the RGB driver:
- Replace `LED_BUILTIN` and `BOARD_HAS_NEOPIXEL` with `RGB_BUILTIN`
- Replace `LED_BRIGHTNESS` with `RGB_BRIGHTNESS`

* Update board variants

Update board variants for changes with the RGB driver:
- Remove `BOARD_HAS_NEOPIXEL`
- Define `RGB_BUILTIN` pin
- Replace `LED_BRIGHTNESS` with `RGB_BRIGHTNESS` to align with `RGB_BUILTIN` name

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
Co-authored-by: Vojtěch Bartoška <76958047+VojtechBartoska@users.noreply.github.com>
2022-07-18 15:34:01 +02:00
Tomáš Pilný
53a097b098
CameraWebServer example fix (#6993)
* CameraWebServer compilation fix for verbose debug level

* Added missing initializers

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2022-07-18 15:07:48 +02:00
Abdelatif Guettouche
443158222e
tests: Add options. (#6916)
* .github/scripts: Add multiple parameters to the build and test scripts in case a customization is required.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

* sketch_utils.sh: Get options from a JSON file.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

* tests: Add a simple test for the JSON configurations option.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

* tests: Accept multiple FQBNs in the config file.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

* tests/: Run multiple tests if the build contained multiple
configurations.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

* ./github/scripts: Add option to erase the flash before flashing.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

* .github: Fix building chunks and parameters passed from on-push.sh
script.

Multiple arguments and options were not set correctly.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

* sketch_utils.sh: Pass the Windows parameters with the extra options.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

* sketch_utils.sh: Remove the individual flash options and replace them
with only one option take is supposed to take any extra FQBN addition.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

* workflows/hil.yml: Install the jq program on the docker image.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

* tests_run.sh: Fix the erase flash arguments.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

* hil.yml: Fix the chunk matrix generation.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

* tests_build.sh: Add a clean option.  Useful locally for a quick clean
up.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>

Co-authored-by: Vojtěch Bartoška <76958047+VojtechBartoska@users.noreply.github.com>
2022-07-15 17:56:32 +02:00
Neale Petrillo
08f26cc71a
Added dont_mount option to conf initialization (#6953)
With recent compiler update, the following warning is generated: 

packages/esp32/hardware/esp32/2.0.4/libraries/LittleFS/src/LittleFS.cpp:85:5: warning: missing initializer for member 'esp_vfs_littlefs_conf_t::dont_mount' [-Wmissing-field-initializers]

This commit adds the missing identifier.

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-07-15 14:50:02 +02:00