Skip to content

Pico default xxx impl#3033

Merged
kilograham merged 10 commits into
developfrom
pico-default-xxx-impl
Jun 30, 2026
Merged

Pico default xxx impl#3033
kilograham merged 10 commits into
developfrom
pico-default-xxx-impl

Conversation

@kilograham

Copy link
Copy Markdown
Contributor

No description provided.

1. they can all be overriden
2. like pico_set_xxx_impl they expect to prefix pico_xxx_ to form the library name
3. for backwards compatibility if the value is already prefixed, then the prefix is not added a second time
@kilograham kilograham added this to the 2.3.0 milestone Jun 26, 2026
@kilograham
kilograham requested review from lurch and will-v-pi June 26, 2026 22:32
@kilograham

Copy link
Copy Markdown
Contributor Author

fixes #2912

Comment thread bazel/config/BUILD.bazel Outdated
Comment thread src/CMakeLists.txt Outdated
Comment thread src/rp2_common/pico_int64_ops/CMakeLists.txt Outdated
Comment thread src/rp2_common/pico_bit_ops/CMakeLists.txt Outdated
Co-authored-by: Andrew Scheller <lurch@durge.org>
Comment thread src/rp2_common/pico_double/CMakeLists.txt Outdated
Comment thread src/rp2_common/pico_divider/CMakeLists.txt Outdated
Comment thread src/rp2_common/pico_double/include/pico/double.h Outdated
Comment thread src/rp2_common/pico_double/include/pico/double.h Outdated
Comment thread src/rp2_common/pico_double/include/pico/double.h Outdated
Comment thread src/rp2_common/pico_float/CMakeLists.txt Outdated
Comment thread src/rp2_common/pico_float/include/pico/float.h Outdated
Comment thread src/rp2_common/pico_float/include/pico/float.h Outdated
Comment thread src/rp2_common/pico_printf/CMakeLists.txt Outdated
@lurch

lurch commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

double.h also has a bunch of comments saying

... out of range input except when using `pico_double_compiler`

so I guess that those will all want changing to

... out of range input except when using pico_double `compiler`

?

Comment thread src/rp2_common/pico_double/include/pico/double.h Outdated
Comment thread src/rp2_common/pico_double/include/pico/double.h Outdated
@lurch

lurch commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

src/rp2_common/pico_stdio/stdio.c also has a comment saying:

 // PICO_STDIO_SHORT_CIRCUIT_CLIB_FUNCS=0 when using pico_printf_compiler)

so maybe that needs updating to

 // PICO_STDIO_SHORT_CIRCUIT_CLIB_FUNCS=0 when using pico_printf `compiler`)

?

@will-v-pi

Copy link
Copy Markdown
Contributor

double.h also has a bunch of comments saying

... out of range input except when using `pico_double_compiler`

so I guess that those will all want changing to

... out of range input except when using pico_double `compiler`

?

src/rp2_common/pico_stdio/stdio.c also has a comment saying:

 // PICO_STDIO_SHORT_CIRCUIT_CLIB_FUNCS=0 when using pico_printf_compiler)

so maybe that needs updating to

 // PICO_STDIO_SHORT_CIRCUIT_CLIB_FUNCS=0 when using pico_printf `compiler`)

?

I've pushed a fix for both of these

will-v-pi
will-v-pi previously approved these changes Jun 30, 2026
@kilograham
kilograham merged commit 1d8c273 into develop Jun 30, 2026
17 checks passed
@kilograham
kilograham deleted the pico-default-xxx-impl branch June 30, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants