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 <jordan.yates@data61.csiro.au>
This commit is contained in:
parent
e66864e088
commit
523cd60a77
8
tests/drivers/build_all/modem/modem_esp_at.conf
Normal file
8
tests/drivers/build_all/modem/modem_esp_at.conf
Normal file
|
@ -0,0 +1,8 @@
|
|||
CONFIG_TEST=y
|
||||
CONFIG_TEST_RANDOM_GENERATOR=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_NETWORKING=y
|
||||
CONFIG_NET_SOCKETS=y
|
||||
CONFIG_NET_IPV4=y
|
||||
CONFIG_WIFI=y
|
||||
CONFIG_WIFI_ESP_AT=y
|
|
@ -27,3 +27,14 @@ tests:
|
|||
extra_configs:
|
||||
- CONFIG_GSM_MUX=y
|
||||
- CONFIG_UART_MUX=y
|
||||
drivers.modem.esp_at.build:
|
||||
extra_args: CONF_FILE=modem_esp_at.conf
|
||||
platform_exclude: ip_k66f
|
||||
filter: CONFIG_SERIAL
|
||||
min_ram: 36
|
||||
drivers.modem.esp_at.async.build:
|
||||
extra_args: CONF_FILE=modem_esp_at.conf
|
||||
filter: CONFIG_SERIAL and CONFIG_QEMU_TARGET
|
||||
min_ram: 36
|
||||
extra_configs:
|
||||
- CONFIG_MODEM_IFACE_UART_ASYNC=y
|
||||
|
|
|
@ -56,3 +56,8 @@ test_gsm_ppp: gsm_ppp {
|
|||
compatible = "zephyr,gsm-ppp";
|
||||
label = "gsm_ppp";
|
||||
};
|
||||
|
||||
test_esp_at: esp_at {
|
||||
compatible = "espressif,esp-at";
|
||||
label = "espressif,esp-at";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue