Skip to content

Commit 792fd57

Browse files
hardeepsharma95carlescufi
authored andcommitted
tests: drivers: build_all: Build Altera FPGA driver
Altera FPGA driver should be built on a regular basis to ensure that there are no regressions Signed-off-by: Hardeep Sharma <[email protected]>
1 parent b521bb6 commit 792fd57

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

tests/drivers/build_all/fpga/app.overlay

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,18 @@
3838
#include "spi.dtsi"
3939
};
4040
};
41+
42+
fpga0: bridges {
43+
compatible = "altr,socfpga-agilex-bridge";
44+
status = "okay";
45+
};
46+
47+
sip_smc: smc {
48+
compatible = "intel,socfpga-agilex-sip-smc";
49+
method = "smc";
50+
status = "okay";
51+
zephyr,num-clients = <2>;
52+
};
4153
};
4254

4355
/* Put device specific modifications to properties or disabling of devices

tests/drivers/build_all/fpga/prj.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@ CONFIG_FPGA=y
1111
# iCE40 FPGAs on a single bus to 1.
1212
CONFIG_PINCTRL=n
1313
CONFIG_ICE40_FPGA=y
14+
CONFIG_ALTERA_AGILEX_BRIDGE_FPGA=y
15+
CONFIG_ARM_SIP_SVC_DRIVER=y
16+
CONFIG_ARM_SIP_SVC_SUBSYS=y
17+
CONFIG_ARM_SIP_SVC_SUBSYS_SINGLY_OPEN=y
18+
CONFIG_HEAP_MEM_POOL_SIZE=16384

0 commit comments

Comments
 (0)