Commit graph

440 commits

Author SHA1 Message Date
Ha Thach
4336fbe17a
Merge pull request #72 from adafruit/fix-tls-socket
Fix tls socket race condition
2025-07-28 21:48:33 +07:00
hathach
fa599780ee
bump up version, comment out socket reset if not connected in getClientStateTcp().
remove
2025-07-28 14:54:26 +07:00
hathach
91fc6766da
use socket mutex to prevent race condition.
revert gpio0Updater task priority to 1
2025-07-26 18:35:05 +07:00
hathach
28ce73b8a6
change gpio0Updater task priority to 2 (higher than loop task) to prevent race condition when checking socket connected() and available() 2025-07-25 23:38:22 +07:00
hathach
54ee662201
update to esp-idf v5.5 and arduino-esp32 v3.3.0 2025-07-25 23:21:43 +07:00
Ha Thach
36c78d4d4a
Merge pull request #70 from adafruit/idf-5.x
upgrade to Idf v5.3.2, added esp32c6
2025-06-26 22:12:14 +07:00
hathach
81c521d286
use base mac for getMACaddr() if interface is not up 2025-06-10 11:00:40 +07:00
hathach
40b28eae7e
move sdkconfig and board.h to boards folder
update combine.py to take build folder and output filename
run combine.py as postbuild
2025-06-03 11:02:28 +07:00
hathach
662b31ebc2
build need -DBOARD= instead of IDF_TARGET to allow flexible pinout for variant 2025-06-03 02:27:21 +07:00
hathach
74f8e1f93a
fix GPIO0 (esp32) GPIO9 (s6) as wifi available pin due to typo. Make our hook as IRAM and also correct the context where handleWiFiReceive() is called 2025-03-19 12:38:36 +07:00
hathach
07096cd812
add target for combined binary e.g NINA-ADAFRUIT-esp32, upload combined as artifacts and release asseets 2025-03-18 20:08:28 +07:00
hathach
82324914fe
update sketch.ino.cpp as closed as upstream
fix c6 compile issue in release build type
2025-03-18 16:12:42 +07:00
hathach
7f17ca5f40
- parameterize SPIs & UART pin setting
- move SPIS definition to sketch.ino.cpp
- max log level is info, debug will delay the initial boot causing reading CS incorrectly for BT and wifi mode (only available for 750ms)
2025-03-18 15:32:40 +07:00
hathach
f7c4cde6b9
BT works tested with esp32 2025-03-17 22:16:05 +07:00
hathach
5a6b5b3451
separate esp32 and c6 sdkconfig
testing BLE controller
2025-03-17 16:07:39 +07:00
Dan Halbert
1ad988ac30 more precise return value check on beginPacket() 2025-03-16 20:54:10 -04:00
Dan Halbert
a85404884e check WiFi.hostByName() return value properly 2025-03-16 19:27:54 -04:00
Dan Halbert
4d89dd36c2 fix combine.py to handle different bootloader offstes 2025-03-16 11:39:01 -04:00
Dan Halbert
74339a4809 use default root cert bundle provided by ESP-IDF 2025-03-14 14:53:19 -04:00
hathach
309a3ae589
try upload artifact with release/debug build 2025-03-12 12:08:17 +07:00
hathach
fa09a76bf7
wifitest work wwith esp32c6 2025-03-12 11:21:55 +07:00
hathach
85d1d6d8ea
fix esp32c6 compile issue 2025-03-11 22:43:39 +07:00
hathach
633451610d
update ci build 2025-03-11 21:29:10 +07:00
hathach
e1fcb6cbfc
use log_i() (default), log_d() is enabled when CMAKE_BUILD_TYPE=DEBUG is used. Also initial debug is also enable with debug build 2025-03-11 21:13:22 +07:00
hathach
0f3d2efb4f
remove managed_components 2025-03-11 20:59:53 +07:00
Dan Halbert
0cd6ae693f wip: preparing for c6; use sdkconfig.defaults, don't check in sdkconfig 2025-03-06 21:43:55 -05:00
Dan Halbert
1d83f417ed wip: HTTP working 2025-03-06 16:54:36 -05:00
Dan Halbert
1e8cfaad0d wip: compiles; crashes early; debug printing now working 2025-03-04 20:35:43 -05:00
Dan Halbert
a08e8cbb36 wip: restructure to use arduino-esp32 as a component 2025-03-03 23:32:26 -05:00
Dan Halbert
d6cc9859ce wip: use esp32-arduino libraries a lot more 2025-03-02 22:52:37 -05:00
Dan Halbert
14a5007afc wip: cmake conversion 2025-02-22 20:50:27 -05:00
Dan Halbert
dfc0c29971
Merge pull request #62 from adafruit/sync-upstream
Sync with upstream
2025-02-09 15:46:36 -05:00
Dan Halbert
27407c65db update certificates submodule; roots.pem got smaller 2025-02-09 15:23:48 -05:00
Dan Halbert
c432f797d6 allow longer version numbers 2025-02-09 15:23:08 -05:00
Dan Halbert
8638e99752 further reduce sockets to 6 to prevent intermittent failures 2025-02-08 18:57:35 -05:00
Dan Halbert
9b75975e8e revert '-adafruit' suffix on version number; it breaks fetching version 2025-02-06 19:07:54 -05:00
Dan Halbert
086a0a6c19 update to actions/upload-artifact@v4 2025-02-06 16:29:31 -05:00
Dan Halbert
215ece3283 more flexible version numbers; use adafruit suffix; bump to 2.0.0-adafruit 2025-02-06 16:12:16 -05:00
Dan Halbert
43816f100d manual merge of Arduino-specific trust anchors
From https://github.com/arduino/nina-fw/pull/100/files
2025-02-06 13:16:27 -05:00
Dan Halbert
d7fe1b5d8c Reduce sockets to 7 to avoid heap allocation failure; annotate Adafruit changes; add more debugging support
@hathach was using 8, but I got failures with very simple SSL socket use with 8.
Reducing to 7 fixed the problem. This is also dependent on the size of the roots.pem file.
Reducing the size of roots.pem also helps.
2025-02-06 13:05:36 -05:00
Limor "Ladyada" Fried
0ea40d89db
Merge pull request #65 from FoamyGuy/update_actions_version
update actions version
2024-11-07 09:49:20 -05:00
foamyguy
9bb4034f53 update actions version 2024-11-07 07:12:08 -06:00
Dan Halbert
bc73e26780 rerun 2024-05-02 12:19:17 -04:00
hathach
ca322bcb40 correct build ci 2023-12-21 23:21:44 +07:00
hathach
320ad469bb update ci to upload both release and debug bin firmware 2023-12-21 23:14:48 +07:00
hathach
88dac12ddb reduce CONFIG_LWIP_MAX_SOCKETS from 10 to 8 to save sram for ssl connection 2023-12-21 22:12:11 +07:00
hathach
338408fc78 Merge remote-tracking branch 'arduino/master' into sync-upstream
# Conflicts:
#	CHANGELOG
#	README.md
#	arduino/cores/esp32/wiring_digital.h
#	arduino/libraries/WiFi/src/WiFi.cpp
#	arduino/libraries/WiFi/src/WiFi.h
#	arduino/libraries/WiFi/src/WiFiClient.cpp
#	combine.py
#	data/roots.pem
#	main/CommandHandler.cpp
#	main/sketch.ino.cpp
#	sdkconfig
2023-12-20 00:44:36 +07:00
Ha Thach
b1145b466d
Merge pull request #57 from dhalbert/certificates-submodule
get roots.pem from adafruit/certificates repo
2023-12-19 17:52:02 +07:00
Dan Halbert
fc3c7f770b remove leftover debugging print() in combine.py 2023-12-14 12:14:39 -05:00
Dan Halbert
3e6ff08544 fetch submodules 2023-12-14 11:57:23 -05:00