-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from couchbaselabs/ESP32
ESP32 embedded platform support
- Loading branch information
Showing
111 changed files
with
5,346 additions
and
1,154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
libs/ | ||
build_cmake/ | ||
sdkconfig.old |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
from typing import Callable | ||
|
||
import pytest | ||
from pytest_embedded_idf.dut import IdfDut | ||
from pytest_embedded_qemu.dut import QemuDut | ||
|
||
|
||
@pytest.mark.supported_targets | ||
@pytest.mark.generic | ||
def test_hello_world(dut: IdfDut, log_minimum_free_heap_size: Callable[..., None]) -> None: | ||
dut.expect('Hello world!') | ||
log_minimum_free_heap_size() | ||
|
||
|
||
@pytest.mark.esp32 # we only support qemu on esp32 for now | ||
@pytest.mark.host_test | ||
@pytest.mark.qemu | ||
def test_hello_world_host(dut: QemuDut) -> None: | ||
dut.expect('Hello world!') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.