|
12 | 12 | #warning "Building divider_hardware.S on a platform with no SIO divider hardware" |
13 | 13 | #endif |
14 | 14 |
|
15 | | -// PICO_CONFIG: PICO_DIVIDER_DISABLE_INTERRUPTS, Disable interrupts around division such that divider state need not be saved/restored in exception handlers, default=0, group=pico_divider |
| 15 | +// PICO_CONFIG: PICO_DIVIDER_DISABLE_INTERRUPTS, Disable interrupts around division such that divider state need not be saved/restored in exception handlers, default=0, type=bool, group=pico_divider |
| 16 | +#if 0 // make tooling checks happy |
| 17 | +#define PICO_DIVIDER_DISABLE_INTERRUPTS 0 |
| 18 | +#endif |
16 | 19 |
|
17 | | -// PICO_CONFIG: PICO_DIVIDER_CALL_IDIV0, Whether 32 bit division by zero should call __aeabi_idiv0, default=1, group=pico_divider |
| 20 | +// PICO_CONFIG: PICO_DIVIDER_CALL_IDIV0, Whether 32 bit division by zero should call __aeabi_idiv0, default=1, type=bool, group=pico_divider |
18 | 21 | #ifndef PICO_DIVIDER_CALL_IDIV0 |
19 | 22 | #define PICO_DIVIDER_CALL_IDIV0 1 |
20 | 23 | #endif |
21 | 24 |
|
22 | | -// PICO_CONFIG: PICO_DIVIDER_CALL_IDIV0, Whether 64 bit division by zero should call __aeabi_ldiv0, default=1, group=pico_divider |
| 25 | +// PICO_CONFIG: PICO_DIVIDER_CALL_LDIV0, Whether 64 bit division by zero should call __aeabi_ldiv0, default=1, type=bool, group=pico_divider |
23 | 26 | #ifndef PICO_DIVIDER_CALL_LDIV0 |
24 | 27 | #define PICO_DIVIDER_CALL_LDIV0 1 |
25 | 28 | #endif |
26 | 29 |
|
27 | 30 | pico_default_asm_setup |
28 | 31 |
|
29 | | -// PICO_CONFIG: PICO_DIVIDER_IN_RAM, Whether divider functions should be placed in RAM, default=0, group=pico_divider |
| 32 | +// PICO_CONFIG: PICO_DIVIDER_IN_RAM, Whether divider functions should be placed in RAM, default=0, type=bool, group=pico_divider |
| 33 | +#if 0 // make tooling checks happy |
| 34 | +#define PICO_DIVIDER_IN_RAM 0 |
| 35 | +#endif |
30 | 36 | .macro div_section name |
31 | 37 | #if PICO_DIVIDER_IN_RAM |
32 | 38 | .section RAM_SECTION_NAME(\name), "ax" |
|
0 commit comments