Skip to content

Commit 6368e52

Browse files
Jamie SmithChris Snow
andauthored
ESP32 Wi-Fi driver support (#423)
* Add ESP-32 driver * Resolve header issues * Allow smaller blocks * reset timeout can take 2s * Documentation & style fixes * quick JSON update * Augh fix style again * Astyle you are trippin --------- Co-authored-by: Chris Snow <[email protected]>
1 parent 42d24a8 commit 6368e52

File tree

19 files changed

+4218
-7
lines changed

19 files changed

+4218
-7
lines changed

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
2222
# Build the HTML documentation
2323
- name: Doxygen Action
24-
uses: mattnotmitt/[email protected].5
24+
uses: mattnotmitt/[email protected].8
2525
with:
2626
doxyfile-path: ./doxyfile_options
2727

connectivity/drivers/wifi/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,8 @@ if("COMPONENT_ESPRESSIF_ESP8266=1" IN_LIST MBED_TARGET_DEFINITIONS)
3636
add_subdirectory(COMPONENT_ESPRESSIF_ESP8266)
3737
endif()
3838

39+
if("COMPONENT_ESPRESSIF_ESP32=1" IN_LIST MBED_TARGET_DEFINITIONS)
40+
create_mbed_wifi_target()
41+
add_subdirectory(COMPONENT_ESPRESSIF_ESP32)
42+
endif()
43+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Copyright (c) 2020 ARM Limited. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
target_sources(mbed-wifi
5+
PRIVATE
6+
./ESP32Interface.cpp
7+
./ESP32InterfaceAP.cpp
8+
./ESP32Stack.cpp
9+
./ESP32/ESP32.cpp
10+
)
11+
12+
target_include_directories(mbed-wifi
13+
PUBLIC
14+
./
15+
./ESP32/
16+
)
17+
18+
# Link override object file coming from static library anyway
19+
#
20+
# NOTE: This linker option is to pretend undefined symbol and won't cause
21+
# undefined symbol error even though the override object file actually
22+
# doesn't provide such symbol definition.
23+
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
24+
target_link_options(mbed-wifi
25+
INTERFACE
26+
LINKER:--undefined=LINK_ESP32INTERFACE_CPP
27+
)
28+
endif()

0 commit comments

Comments
 (0)