Skip to content

Commit d889031

Browse files
feat(soc): Adds core_num definition for Linux target
Closes #15758
1 parent 1de6060 commit d889031

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

components/soc/linux/include/soc/Kconfig.soc_caps.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ config SOC_EFUSE_KEY_PURPOSE_FIELD
1111
bool
1212
default y
1313

14+
config SOC_CPU_CORES_NUM
15+
int
16+
default 1
17+
1418
config SOC_GPIO_IN_RANGE_MAX
1519
int
1620
default 65535

components/soc/linux/include/soc/soc_caps.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
#define SOC_EFUSE_SUPPORTED (1)
2626
#define SOC_EFUSE_KEY_PURPOSE_FIELD (1)
2727

28+
/*-------------------------- CPU CAPS ----------------------------------------*/
29+
#define SOC_CPU_CORES_NUM (1U)
30+
2831
/*-------------------------- GPIO CAPS ---------------------------------------*/
2932
#define SOC_GPIO_IN_RANGE_MAX (65535)
3033
#define SOC_GPIO_OUT_RANGE_MAX (65535)

0 commit comments

Comments
 (0)