Skip to content

Commit

Permalink
tests: udc: get UDC driver skeleton tested on native_posix_64
Browse files Browse the repository at this point in the history
Get UDC driver skeleton tested on native_posix_64.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
  • Loading branch information
jfischer-no committed May 10, 2023
1 parent e1f89b0 commit 9d4352b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/drivers/udc/boards/native_posix_64.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_UDC_BUF_POOL_SIZE=32768
15 changes: 15 additions & 0 deletions tests/drivers/udc/boards/native_posix_64.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2023 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

/delete-node/ &zephyr_udc0;

/ {
zephyr_udc0: udc_skeleton0 {
compatible = "zephyr,udc-skeleton";
num-bidir-endpoints = <8>;
maximum-speed = "high-speed";
};
};
4 changes: 3 additions & 1 deletion tests/drivers/udc/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ tests:
tags:
- usb
- drivers
platform_allow: nrf52840dk_nrf52840
platform_allow:
- nrf52840dk_nrf52840
- native_posix_64

0 comments on commit 9d4352b

Please sign in to comment.