Skip to content

Multipe versions of vgaboard.h #755

Open
@Memotech-Bill

Description

@Memotech-Bill

It would be useful if there were three different versions of the vgaboard,h board definition file for the Pimoroni VGA Demo board:

  • vgaboard_serial.h - For when the SD card is not being used. This would not define any of the PICO_SD macros.

  • vgaboard_sd.h - For when the SD card is being used. This would not define any of the PICO_DEFAULT_UART macros.

  • vgaboard_cut.h - For when the tracks between the Pico and SD Data 1 & 2 have been cut (or the links on the prototype board removed). This would define both the PICO_DEFAULT_UART and PICO_SD macros, but with PICO_DAT_PIN_COUNT=1.

This would make it easier to write code which has to be able to compile for any of these configurations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions