zephyr/samples/boards
Piotr Zięcik c45961daae power: Rework OS <-> Application interface
This commit simplifies OS <-> Application interface controlling power
management. In the previous approach application-based PM required
overriding sys_suspend() and sys_resume() functions. As these functions
actually implemented power state change, in such case application
basically had to provide own implementation of all PM-related stuff,
which was not portable and hard to maintain.

This commit changes this scheme: The sys_suspend() and sys_resume()
are now system functions while the application could either use
built-in power management policies or provide its own. All details
of power mode switching are now handled by the OS.

Also, this commit cleans up the Kconfig options related to system-level
power management grouping them under common CONFIG_SYS_PM_ prefix.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
2019-02-19 13:25:36 -05:00
..
96b_argonkey doc: fix misspellings in docs 2019-02-07 22:06:14 -05:00
altera_max10
arduino_101
bbc_microbit
intel_s1000_crb doc: intel_s1000: 2-Way audio sample documentation 2019-02-19 10:43:52 -05:00
nrf52 power: Rework OS <-> Application interface 2019-02-19 13:25:36 -05:00
olimex_stm32_e407
reel_board/mesh_badge include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
up_squared/gpio_counter
boards.rst