Skip to content

Commit ba4fcba

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

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
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

Lines changed: 4 additions & 2 deletions
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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,12 @@ 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+
CONFIG_NET_SHELL=n
19+
20+
# TODO: Add support for TLS on this chip
21+
# Removed to free up RAM and allow build check to succeed.
22+
CONFIG_MBEDTLS_HEAP_SIZE=0

prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ CONFIG_MBEDTLS_HEAP_SIZE=30000
6060
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=4096
6161
CONFIG_MBEDTLS_MEMORY_DEBUG=y
6262
CONFIG_MBEDTLS_SHELL=y
63+
CONFIG_MBEDTLS_AES_ROM_TABLES=y
6364

6465
# More verbose Memfault component logs
6566
CONFIG_MEMFAULT_LOG_LEVEL_DBG=y

west.yml

Lines changed: 1 addition & 1 deletion
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)