|
1 | 1 | /* |
2 | | - * SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD |
| 2 | + * SPDX-FileCopyrightText: 2020-2025 Espressif Systems (Shanghai) CO LTD |
3 | 3 | * |
4 | 4 | * SPDX-License-Identifier: Apache-2.0 |
5 | 5 | */ |
|
22 | 22 | * x 0`, it's still a risk.) |
23 | 23 | * |
24 | 24 | * ECO & exceptions: |
25 | | - * For ECO-ed booleans, `#define x "Not determined"` for them. This will cause error when used by |
26 | | - * `#if x` and `#if !x`, making these missing definitions more obvious. |
| 25 | + * For ECO-ed booleans, `#define x "Not determined" // [gen_soc_caps:ignore]` for them. This will cause error when used by |
| 26 | + * `#if x` and `#if !x`, making these missing definitions more obvious. Ignore pragma ensures those values are not converted into config options. |
27 | 27 | * |
28 | 28 | * These defines are parsed and imported as kconfig variables via the script |
29 | 29 | * `tools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py` |
|
148 | 148 |
|
149 | 149 | #define SOC_CPU_BREAKPOINTS_NUM 2 |
150 | 150 | #define SOC_CPU_WATCHPOINTS_NUM 2 |
151 | | -#define SOC_CPU_WATCHPOINT_MAX_REGION_SIZE 64 // bytes |
| 151 | +#define SOC_CPU_WATCHPOINT_MAX_REGION_SIZE 0x40 // bytes |
152 | 152 |
|
153 | 153 | /*-------------------------- DAC CAPS ----------------------------------------*/ |
154 | 154 | #define SOC_DAC_CHAN_NUM 2 |
|
329 | 329 | #define SOC_MEMSPI_SRC_FREQ_20M_SUPPORTED 1 |
330 | 330 |
|
331 | 331 | /*-------------------------- SYSTIMER CAPS ----------------------------------*/ |
332 | | -#define SOC_SYSTIMER_COUNTER_NUM 1 // Number of counter units |
| 332 | +#define SOC_SYSTIMER_COUNTER_NUM (1U) // Number of counter units |
333 | 333 | #define SOC_SYSTIMER_ALARM_NUM 3 // Number of alarm units |
334 | 334 | #define SOC_SYSTIMER_BIT_WIDTH_LO 32 // Bit width of systimer low part |
335 | 335 | #define SOC_SYSTIMER_BIT_WIDTH_HI 32 // Bit width of systimer high part |
|
349 | 349 | /*-------------------------- TOUCH SENSOR CAPS -------------------------------*/ |
350 | 350 | #define SOC_TOUCH_SENSOR_VERSION (2) /*!< Hardware version of touch sensor */ |
351 | 351 | #define SOC_TOUCH_SENSOR_NUM (15) /*!< 15 Touch channels */ |
352 | | -#define SOC_TOUCH_MIN_CHAN_ID (1) /*!< Touch minimum channel number, (0 is internal denoise channel) */ |
| 352 | +#define SOC_TOUCH_MIN_CHAN_ID (1U) /*!< Touch minimum channel number, (0 is internal denoise channel) */ |
353 | 353 | #define SOC_TOUCH_MAX_CHAN_ID (14) /*!< Touch maximum channel number */ |
354 | 354 | #define SOC_TOUCH_SUPPORT_BENCHMARK (1) /*!< Touch sensor supports benchmark configuration */ |
355 | 355 | #define SOC_TOUCH_SUPPORT_SLEEP_WAKEUP (1) /*!< Touch sensor supports sleep awake */ |
|
0 commit comments