Skip to content

Commit b24a800

Browse files
committed
add missing xip_cache funcs to the combined docs
1 parent fbe5fb2 commit b24a800

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/rp2_common/hardware_xip_cache/include/hardware/xip_cache.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ void xip_cache_invalidate_all(void);
124124
*/
125125
void xip_cache_invalidate_range(uintptr_t start_offset, uintptr_t size_bytes);
126126

127-
#if !XIP_CACHE_IS_READ_ONLY
127+
#if !XIP_CACHE_IS_READ_ONLY || PICO_COMBINED_DOCS
128128

129129
/*! \brief Clean the cache for the entire XIP address space
130130
* \ingroup hardware_xip_cache
@@ -177,7 +177,7 @@ static inline void xip_cache_clean_range(uintptr_t start_offset, uintptr_t size_
177177
}
178178
#endif
179179

180-
#if !PICO_RP2040
180+
#if !PICO_RP2040 || PICO_COMBINED_DOCS
181181

182182
/*! \brief Pin a range of offsets within the XIP address space
183183
* \ingroup hardware_xip_cache

src/rp2_common/pico_bootrom/include/pico/bootrom.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ static inline void rom_flash_enter_cmd_xip(void) {
403403
func();
404404
}
405405

406-
#if !PICO_RP2040
406+
#if !PICO_RP2040 || PICO_COMBINED_DOCS
407407
#ifdef __riscv
408408
/*!
409409
* \brief Give the bootrom a new stack

src/rp2_common/pico_double/include/pico/double.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ double exp10(double x);
6565
void sincos(double x, double *sinx, double *cosx);
6666
double powint(double x, int y);
6767

68-
#if !PICO_RP2040
68+
#if !PICO_RP2040 || PICO_COMBINED_DOCS
6969
double ddiv_fast(double n, double d);
7070
double sqrt_fast(double d);
7171
double mla(double x, double y, double z); // note this is not fused

0 commit comments

Comments
 (0)