Skip to content

Commit c3420d5

Browse files
committed
Add min and max values to PICO_CONFIG comment
1 parent 2fe1e0a commit c3420d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rp2040/pico_platform/include/pico/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
#define PICO_RP2040_B2_SUPPORTED 1
6767
#endif
6868

69-
// PICO_CONFIG: PICO_VECTOR_TABLE_NUM_IRQS, Number of IRQ vectors to include in the vector table, type=int, default=NUM_IRQS, advanced=true, group=pico_platform
69+
// PICO_CONFIG: PICO_VECTOR_TABLE_NUM_IRQS, Number of IRQ vectors to include in the vector table, type=int, min=0, max=NUM_IRQS, default=NUM_IRQS, advanced=true, group=pico_platform
7070
#ifndef PICO_VECTOR_TABLE_NUM_IRQS
7171
#define PICO_VECTOR_TABLE_NUM_IRQS NUM_IRQS
7272
#endif

src/rp2350/pico_platform/include/pico/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
#define PICO_NO_RAM_VECTOR_TABLE 0
5555
#endif
5656

57-
// PICO_CONFIG: PICO_VECTOR_TABLE_NUM_IRQS, Number of IRQ vectors to include in the vector table, type=int, default=NUM_IRQS, advanced=true, group=pico_platform
57+
// PICO_CONFIG: PICO_VECTOR_TABLE_NUM_IRQS, Number of IRQ vectors to include in the vector table, type=int, min=0, max=NUM_IRQS, default=NUM_IRQS, advanced=true, group=pico_platform
5858
#ifndef PICO_VECTOR_TABLE_NUM_IRQS
5959
#define PICO_VECTOR_TABLE_NUM_IRQS NUM_IRQS
6060
#endif

0 commit comments

Comments
 (0)