Add pybstick26_rp2040 support #636
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 assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-raspberrypi/pico-sdk!636
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?
@ -0,0 +1,85 @@/*This line needs updating 😉 (should be "boards/pybstick26_rp2040.h")
@ -0,0 +1,85 @@/*Could you make a similar change to this please? https://github.com/raspberrypi/pico-sdk/pull/619/commits/c682e3c6974f1bdbbf45c513ad80343498e2b222
(Assuming of course that none of your boards are produced with RP2040 B0)
@ -0,0 +1,85 @@/*ooops. you're right.
@ -0,0 +1,85 @@/*ok, thanks for the update.
Did not git since a while, sorry ;)
Corrections should be ok now.
@ -0,0 +1,85 @@/*Sorry, looking at the other files in the
src/boards/include/boards/directory, I now realise that it's probably better to get rid of this line entirely.@ -0,0 +79,4 @@// All boards have B1 RP2040#ifndef PICO_RP2040_B0_SUPPORTED#define PICO_RP2040_B0_SUPPORTED 0#endifThis
#endifmatches up with#ifndef PICO_RP2040_B0_SUPPORTED, but you seem to have lost the final#endifthat matches up with the#ifndef _BOARDS_PYBSTICK26_RP2040_H?TLDR: you need another
#endifline at the bottom 😉@ -0,0 +79,4 @@// All boards have B1 RP2040#ifndef PICO_RP2040_B0_SUPPORTED#define PICO_RP2040_B0_SUPPORTED 0#endifAlso right. I double check and compile a firmware. Seens to be ok now.
Thanks.
@ -0,0 +1,85 @@/*yup. i'm assuming no one has a reason to include this board in another one
@ -0,0 +1,85 @@/*@garatronic can you remove this line real quick
@kilograham
This is (hopefully) done in third commit
bd6b8c7bddof my pull requestDe: "Graham Sanderson" @.>
À: "raspberrypi/pico-sdk" @.>
Cc: "Frédéric Pierson" @.>, "Mention" @.>
Envoyé: Dimanche 31 Octobre 2021 00:33:21
Objet: Re: [raspberrypi/pico-sdk] Add pybstick26_rp2040 support (PR #636)
@kilograham commented on this pull request.
In [ https://github.com/raspberrypi/pico-sdk/pull/636#discussion_r739723130 | src/boards/include/boards/pybstick26_rp2040.h ] :
+// -----------------------------------------------------
+// NOTE: THIS HEADER IS ALSO INCLUDED BY ASSEMBLER SO
+// SHOULD ONLY CONSIST OF PREPROCESSOR DIRECTIVES
+// -----------------------------------------------------
+
+// This header may be included by other board headers as "boards/pybstick26_rp2040.h"
[ https://github.com/garatronic | @garatronic ] can you remove this line real quick
—
You are receiving this because you were mentioned.
Reply to this email directly, [ https://github.com/raspberrypi/pico-sdk/pull/636#discussion_r739723130 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AHNK7YSZ7XORYH45UBDUSXLUJRXDDANCNFSM5GZ3CQ5A | unsubscribe ] .
Triage notifications on the go with GitHub Mobile for [ https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 | iOS ] or [ https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub | Android ] .