waveshare RP2040 lcd 1.28 incorrect pin assignments #1527
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#1527
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
src/boards/include/boards/waveshare_rp2040_lcd_1.28.h pin assignments are incorrect. correct pin assignments can be found in DEV_Config.h from waveshare.
specifically I have found that
PICO_DEFAULT_SPI_CSN_PIN, andWAVESHARE_RP2040_LCD_RST_PINare incorrect, but there may be others.if you have a PR to fix, then great
that is my intention. that project has temporarily stalled due to work, but I might have some time for it in the upcoming holidays.
I have discovered the problem is that the board in the pico-sdk is the
WAVESHARE_RP2040_LCDand the board I have is the touch screen variant with a slightly different pin assignment. So I am preparing a pull request to add this board. The schematic for the touch variant lists aW25Q128JVSIQas the flash chip, but the code defines a macro ofPICO_BOOT_STAGE2_CHOOSE_W25Q080. Do I need to do anything special or can I just leave it as is?@kilograham / @Wren6991 I know nothing about the compatibility between different flash chips and different BOOT_STAGE2 files - could you respond to the question in the previous comment please?