2017-08-15 04:11:19 -04:00
|
|
|
/* Console example — various system commands
|
|
|
|
|
|
|
|
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, this
|
|
|
|
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
|
|
CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
*/
|
|
|
|
|
2023-03-24 08:50:48 -04:00
|
|
|
|
2018-09-20 07:26:14 -04:00
|
|
|
#include "cmd_system.h"
|
2018-01-31 01:04:40 -05:00
|
|
|
#include "sdkconfig.h"
|
|
|
|
|
2020-04-30 10:52:39 -04:00
|
|
|
void register_system(void)
|
|
|
|
{
|
|
|
|
register_system_common();
|
2024-02-01 05:28:28 -05:00
|
|
|
|
|
|
|
#if SOC_LIGHT_SLEEP_SUPPORTED
|
|
|
|
register_system_light_sleep();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if SOC_DEEP_SLEEP_SUPPORTED
|
|
|
|
register_system_deep_sleep();
|
|
|
|
#endif
|
2022-06-21 11:14:08 -04:00
|
|
|
}
|