Skip to content

rp2040_1_28 error - common.cpp #29

@jvkorn

Description

@jvkorn

3 errors while building with rp2040_1_28 in the common.cpp file. 2nd and 3rd error seem to be cleaned up by fixing typos but not sure how to fix line 78

  • Line 78 - bool lgfx_gpio_set_function(int_fast16_t pin, enum gpio_function fn)

  • use of enum 'gpio_function' without previous declaration

  • Line 92- volatile iobank0_hw_t *iobank0_regs = reinterpret_cast<volatile iobank0_hw_t *>(IO_BANK0_BASE);

  • error: 'iobank0_hw_t' does not name a type; did you mean 'io_bank0_hw_t'?

  • Line 93 - iobank0_regs->io[pin].ctrl = fn << IO_BANK0_GPIO0_CTRL_FUNCSEL_LSB;

  • 'iobank0_regs' was not declared in this scope; did you mean 'iobank0_hw'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions