Skip to content

Commit ddaa252

Browse files
committed
Enable build for c3, change default board
1 parent 9fea391 commit ddaa252

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22

33
# Default board
4-
set(BOARD esp32c3_devkitm)
4+
set(BOARD esp32s3_devkitm/esp32s3/procpu)
55

66
cmake_minimum_required(VERSION 3.20.0)
77

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ This sample app is based on the Zephyr `samples/net/wifi` example. It
44
demonstrates a Zephyr + ESP32 integration with the Memfault SDK. It has been
55
tested on the following boards:
66

7-
- `esp32c3_devkitm` (default board)
8-
- `esp32s3_devkitm/esp32s3/procpu`
7+
- `esp32s3_devkitm/esp32s3/procpu` (default board)
8+
- `esp32c3_devkitm`*
9+
10+
\* _NOTE: Currently does not have support for data upload. Export chunks to memfault with `mflt export` and upload via the [chunks debug log](https://mflt.io/chunks-debug).
911

1012
## Getting Started
1113

boards/esp32c3_devkitm.conf

+8-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,11 @@ CONFIG_NET_IPV4=y
1111
CONFIG_NET_DHCPV4=y
1212
CONFIG_ESP32_WIFI_STA_AUTO_DHCPV4=y
1313

14-
CONFIG_NET_LOG=y
14+
# Override selections from prj.conf to save space on this chip
15+
CONFIG_LOG=y
16+
CONFIG_NET_LOG=n
17+
CONFIG_MEMFAULT_LOGGING_ENABLE=n
18+
19+
# TODO: Add support for TLS on this chip
20+
# Removed to free up RAM and allow build check to succeed.
21+
CONFIG_MBEDTLS_HEAP_SIZE=0

prj.conf

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ CONFIG_NET_TCP=y
2828
CONFIG_NET_LOG=y
2929
CONFIG_INIT_STACKS=y
3030

31-
CONFIG_NET_SHELL=y
32-
3331
CONFIG_NET_STATISTICS=y
3432
CONFIG_NET_STATISTICS_PERIODIC_OUTPUT=n
3533

@@ -60,6 +58,7 @@ CONFIG_MBEDTLS_HEAP_SIZE=30000
6058
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=4096
6159
CONFIG_MBEDTLS_MEMORY_DEBUG=y
6260
CONFIG_MBEDTLS_SHELL=y
61+
CONFIG_MBEDTLS_AES_ROM_TABLES=y
6362

6463
# More verbose Memfault component logs
6564
CONFIG_MEMFAULT_LOG_LEVEL_DBG=y

west.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ manifest:
1313
- name: memfault-firmware-sdk
1414
url: https://github.com/memfault/memfault-firmware-sdk
1515
path: modules/lib/memfault-firmware-sdk
16-
revision: 1.11.2
16+
revision: 1.11.4

0 commit comments

Comments
 (0)