zephyr/subsys
Meng xianglin 79df2b032d power: allow external definition of core devices
When try to enable CONFIG_DEVICE_POWER_MANAGEMENT for a board,
the #error directive in subsys/power/device.c requires that
"MAX_PM_DEVICE" and "core_devices[]" must be defined exactly in that
file, or a compile error will come up.
For flexibility, this patch move "PM_MAX_DEVICE" to Kconfig and define
a weak version of "z_mp_core_devices[]", so any board or SOC can define
these varibles in their own module.

Signed-off-by: Meng xianglin <xianglinx.meng@intel.com>
2020-09-09 21:21:45 -04:00
..
bluetooth Bluetooth: controller: Scanning with unreserved window 2020-09-07 15:11:33 +02:00
canbus subsys: canopen: Add a wrapper to avoid passing device to CO_init 2020-09-02 13:48:13 +02:00
console device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
cpp cpp: Fixed compile warning with extern array declaration 2020-06-09 14:42:16 +02:00
debug debug: gdbstub: Send an error code when accessing invalid memory 2020-09-02 20:54:57 -04:00
dfu dfu: img_util: Add flash integrity check 2020-09-03 17:56:02 +02:00
disk disk: sdhc: use the multiple block transfer for writing 2020-09-05 11:07:04 +02:00
emul device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
fb device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
fs fs: allow setting max file name explicitly 2020-09-03 21:49:34 +02:00
jwt Kconfig: cleanup subsystems 2020-08-24 10:24:30 +02:00
logging subsys: logging: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
mgmt ec_host_cmd: add ec host command handler framework 2020-09-04 14:50:45 -04:00
net net: sockets: tls: Fix invalid variable initialization 2020-09-09 14:10:29 +03:00
power power: allow external definition of core devices 2020-09-09 21:21:45 -04:00
random random: rand32_ctr_drbg: Fix missed device constify change 2020-09-08 14:03:01 +02:00
settings Kconfig: settings 2020-08-24 10:24:30 +02:00
shell shell: fix printing from other threads 2020-09-03 21:54:47 +02:00
stats Kconfig: cleanup subsystems 2020-08-24 10:24:30 +02:00
storage storage: flash_map: use const struct device 2020-09-03 14:28:22 -05:00
testsuite tests: timestamp: minor cleanup 2020-09-05 13:28:38 -05:00
timing timing: introduce timing functions as a generic feature 2020-09-05 13:28:38 -05:00
tracing device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
usb usb: Fix for is_ep_valid 2020-09-07 16:44:54 +02:00
CMakeLists.txt emul: Create an emulation implementation 2020-09-01 14:30:46 -04:00
Kconfig timing: introduce timing functions as a generic feature 2020-09-05 13:28:38 -05:00