Skip to content

Commit

Permalink
Enable build for c3, change default board
Browse files Browse the repository at this point in the history
  • Loading branch information
gminn committed Sep 11, 2024
1 parent 9fea391 commit ba4fcba
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

# Default board
set(BOARD esp32c3_devkitm)
set(BOARD esp32s3_devkitm/esp32s3/procpu)

cmake_minimum_required(VERSION 3.20.0)

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ This sample app is based on the Zephyr `samples/net/wifi` example. It
demonstrates a Zephyr + ESP32 integration with the Memfault SDK. It has been
tested on the following boards:

- `esp32c3_devkitm` (default board)
- `esp32s3_devkitm/esp32s3/procpu`
- `esp32s3_devkitm/esp32s3/procpu` (default board)
- `esp32c3_devkitm`*

\* _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).

## Getting Started

Expand Down
10 changes: 9 additions & 1 deletion boards/esp32c3_devkitm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,12 @@ CONFIG_NET_IPV4=y
CONFIG_NET_DHCPV4=y
CONFIG_ESP32_WIFI_STA_AUTO_DHCPV4=y

CONFIG_NET_LOG=y
# Override selections from prj.conf to save space on this chip
CONFIG_LOG=y
CONFIG_NET_LOG=n
CONFIG_MEMFAULT_LOGGING_ENABLE=n
CONFIG_NET_SHELL=n

# TODO: Add support for TLS on this chip
# Removed to free up RAM and allow build check to succeed.
CONFIG_MBEDTLS_HEAP_SIZE=0
1 change: 1 addition & 0 deletions prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ CONFIG_MBEDTLS_HEAP_SIZE=30000
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=4096
CONFIG_MBEDTLS_MEMORY_DEBUG=y
CONFIG_MBEDTLS_SHELL=y
CONFIG_MBEDTLS_AES_ROM_TABLES=y

# More verbose Memfault component logs
CONFIG_MEMFAULT_LOG_LEVEL_DBG=y
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ manifest:
- name: memfault-firmware-sdk
url: https://github.com/memfault/memfault-firmware-sdk
path: modules/lib/memfault-firmware-sdk
revision: 1.11.2
revision: 1.11.4

0 comments on commit ba4fcba

Please sign in to comment.