boards: posix: add dma support to native_posix boards

Like other driver APIs, we can add an `emul` variant to
`native_posix` and `native_posix_64` that should allow us to
simplify applilcation and library development and to also
increase test coverage in CI.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
This commit is contained in:
Christopher Friedt 2023-05-28 12:40:23 -04:00 committed by Chris Friedt
parent 86fc43c939
commit 09ff569c9e
3 changed files with 8 additions and 0 deletions

View file

@ -11,6 +11,7 @@ toolchain:
supported:
- can
- counter
- dma
- eeprom
- netif:eth
- usb_device

View file

@ -11,6 +11,7 @@ toolchain:
supported:
- can
- counter
- dma
- eeprom
- netif:eth
- usb_device

View file

@ -216,4 +216,10 @@
#io-channel-cells = <1>;
status = "okay";
};
dma: dma {
compatible = "zephyr,dma-emul";
#dma-cells = <1>;
stack-size = <4096>;
};
};