Add board-header for CPB board #3093
No reviewers
Labels
No labels
bazel
bluetooth
board settings
boot_stage2
bug
build
c++
can't reproduce
clang
clib-interface
cmsis
code cleanliness
code size
compiler version issues
cyw43_driver
debug
discussion
documentation
duplicate
dynamic_clock
elf2uf2
enhancement
errata
filesystem
flash layout
floating point
FreeRTOS
hardware_adc
hardware_claim
hardware_clocks
hardware_dma
hardware_exception
hardware_flash
hardware_gpio
hardware_i2c
hardware_irq
hardware_pio
hardware_pwm
hardware_rcp
hardware_rtc
hardware_spi
hardware_sync
hardware_uart
hardware_vreg
hardware_watchdog
hardware_xosc
help wanted
host
IAR
installation
invalid
linker scripts
lto
lwip
mbedtls
missing API
needs reporter detail
networking
newlib
newlib-multicore
non-c
non-cmake
non-gcc
openocd
orphan PR
OS integration
pico_async_context
pico_base
pico_binary_info
pico_flash
picolibc
pico_lwip
pico_malloc
pico_multicore
pico_printf
pico_runtime
pico_stdio
pico_stdio_usb
pico_sync
pico_time
pico_util
pioasm
port
question
review
review2
rtos interop
runtime init
static library
svd
test
tinyusb
vscode
wifi integration
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-raspberrypi/pico-sdk!3093
Loading…
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added CPB.h for CPB board
Could you provide a web-link to more information about this board please, so that we can cross-check that this PR is correct?
https://clintech.net/CPB/
https://www.crowdsupply.com/clintech/clintech-pico-board
Would you be averse to naming this
clintech_cpb.h? (which is the convention that other 3rd-party boards tend to use, and also might make it easier for people to figure out what "CPB" is referring to 🙂 )The https://clintech.net/CPB/CPB3.jpg photo shows that you're using RP2354B0A4 which I think means you could safely set
PICO_RP2350_A2_SUPPORTEDto 0 ?Otherwise this LGTM.
Hi,
Thank you for the recommendations.
I have renamed the file to clintech_cpb.h
I have changed line 84: #define PICO_RP2350_A2_SUPPORTED 0
:)
Kind regards,
Ralle
This line needs fixing 😉
...and so do these two.
...and this.
This also needs to be 0, to match the setting on line 84.
Hello, many thanks for your comments, I have addressed them, I hope correctly.
Would you kindly review and let me know if OK now.
Then, as it seems like the pull request was rejected, do I need to request again?
Thank you.
Ralle.
Hello @rallepalaveev , you've just helped me uncover a bug in the
check_board_header.pyscript 😂 It's rejecting board headers that setPICO_RP2350_A2_SUPPORTEDto 0, which it shouldn't be doing!I'll create a PR to fix that, and we'll need to get that PR merged before we can then merge your PR. (So in the meantime, please set
PICO_RP2350_A2_SUPPORTEDback to 0, don't worry about the failing CI, and then be patient while we fix thecheck_board_header.pyscript.)Hi, I am glad I could help by chance though! Reverted the values.
R.
@rallepalaveev #3100 has now been merged, so if you can rebase your PR on top of the latest version of the
developbranch, the CI checks should now all pass.Hi,
How do I re-base? Do I need to close this PR and create a new one?
R.
That might be the easiest option, yes. But you'll want to sync your
developbranch with ourdevelopbranch first (see https://docs.github.com/en/pull-requests/how-tos/work-with-forks/syncing-a-fork ), and then you'll want to create the new PR from yourdevelopbranch, rather than yourmasterbranch.I did a new fork with all branches, including develop, but now I cannot do a pull request. When I do
developtodevelop, I get an errornothing to compare, although, in mydevelopbranch I have clintech_cpb.h.I don't know what you mean by "did a new fork" - did you create a new fork of your existing fork? (If you did, you'd probably be able to PR from your second fork to your first fork, but only your first fork would be able to PR back to this repo?)
I'm afraid that all I can do is point you at GitHub's documentation.
Pull request closed