Skip to content

Commit 523cd60

Browse files
Jordan Yatescarlescufi
authored andcommitted
tests: build_all: modem: test esp-at
Add build tests for the `espressif,esp-at` driver, together with both the interrupt and async variants of modem_ifact_uart. Only build the async API variant for emulated platforms, as many platforms do not build cleanly when `UART_ASYNC_API` is enabled without custom setup of DMA nodes. Signed-off-by: Jordan Yates <[email protected]>
1 parent e66864e commit 523cd60

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CONFIG_TEST=y
2+
CONFIG_TEST_RANDOM_GENERATOR=y
3+
CONFIG_SERIAL=y
4+
CONFIG_NETWORKING=y
5+
CONFIG_NET_SOCKETS=y
6+
CONFIG_NET_IPV4=y
7+
CONFIG_WIFI=y
8+
CONFIG_WIFI_ESP_AT=y

tests/drivers/build_all/modem/testcase.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,14 @@ tests:
2727
extra_configs:
2828
- CONFIG_GSM_MUX=y
2929
- CONFIG_UART_MUX=y
30+
drivers.modem.esp_at.build:
31+
extra_args: CONF_FILE=modem_esp_at.conf
32+
platform_exclude: ip_k66f
33+
filter: CONFIG_SERIAL
34+
min_ram: 36
35+
drivers.modem.esp_at.async.build:
36+
extra_args: CONF_FILE=modem_esp_at.conf
37+
filter: CONFIG_SERIAL and CONFIG_QEMU_TARGET
38+
min_ram: 36
39+
extra_configs:
40+
- CONFIG_MODEM_IFACE_UART_ASYNC=y

tests/drivers/build_all/modem/uart.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,8 @@ test_gsm_ppp: gsm_ppp {
5656
compatible = "zephyr,gsm-ppp";
5757
label = "gsm_ppp";
5858
};
59+
60+
test_esp_at: esp_at {
61+
compatible = "espressif,esp-at";
62+
label = "espressif,esp-at";
63+
};

0 commit comments

Comments
 (0)