4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 07:43:30 +08:00
GUI f849afb5ca
[DM/FEATURE] Support hardware mailbox (#9599)
* [DM/FEATURE] Support hardware mailbox
* [MAILBOX/PIC] Add PIC Mailbox drivers.

The mailbox device(s) may be instantiated in one of three equivalent way:

Device Tree node, eg.:

```dts
interrupt-controller@0 {
	interrupt-controller;
	#interrupt-cells = <1>;
};

pic_mailbox@10000 {
	compatible = "rt-thread,pic-mailbox";
	reg = <0x10000 0x100>;
	position = <0>;
	interrupts = <34>;
	peer-interrupts = <35>;
	uid = <0>;
	#mbox-cells = <1>;
};
```
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-11-25 11:00:04 +08:00

15 lines
304 B
Plaintext

menuconfig RT_USING_MBOX
bool "Using Hardware Mailbox device drivers"
depends on RT_USING_DM
depends on RT_USING_OFW
default n
config RT_MBOX_PIC
bool "RT-Thread PIC Mailbox"
depends on RT_USING_MBOX
default y
if RT_USING_MBOX
osource "$(SOC_DM_MBOX_DIR)/Kconfig"
endif