File tree Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 12
12
#include <zephyr/pm/pm.h>
13
13
#include <zephyr/init.h>
14
14
15
- /* ambiq-sdk includes */
16
- #include <soc.h>
17
-
18
15
LOG_MODULE_DECLARE (soc , CONFIG_SOC_LOG_LEVEL );
19
16
20
17
void pm_state_set (enum pm_state state , uint8_t substate_id )
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
#include <zephyr/init.h>
8
-
8
+ #include <zephyr/logging/log.h>
9
9
#include <soc.h>
10
10
11
+ LOG_MODULE_REGISTER (soc , CONFIG_SOC_LOG_LEVEL );
12
+
11
13
extern void ambiq_power_init (void );
12
14
13
15
void soc_early_init_hook (void )
Original file line number Diff line number Diff line change 12
12
#include <zephyr/pm/pm.h>
13
13
#include <zephyr/init.h>
14
14
15
- /* ambiq-sdk includes */
16
- #include <soc.h>
17
-
18
15
LOG_MODULE_DECLARE (soc , CONFIG_SOC_LOG_LEVEL );
19
16
20
17
void pm_state_set (enum pm_state state , uint8_t substate_id )
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
#include <zephyr/init.h>
8
-
8
+ #include <zephyr/logging/log.h>
9
9
#include <soc.h>
10
10
11
+ LOG_MODULE_REGISTER (soc , CONFIG_SOC_LOG_LEVEL );
12
+
11
13
extern void ambiq_power_init (void );
12
14
void soc_early_init_hook (void )
13
15
{
Original file line number Diff line number Diff line change 6
6
7
7
#include <zephyr/init.h>
8
8
#include <zephyr/cache.h>
9
+ #include <zephyr/logging/log.h>
9
10
#include "soc.h"
10
11
12
+ LOG_MODULE_REGISTER (soc , CONFIG_SOC_LOG_LEVEL );
13
+
11
14
#define SCRATCH0_OEM_RCV_RETRY_MAGIC 0xA86
12
15
13
16
void soc_early_init_hook (void )
You can’t perform that action at this time.
0 commit comments