Thanks to visit codestin.com
Credit goes to github.com

Skip to content

C/C++ documentation: ST7701 Driver, palette has to be aligned on a 1024 byte boundry. #57

@HamAndEggs

Description

@HamAndEggs

Little doumentaion issue :) Love the presto, very nice bit of kit.

Because of how the palette index is used to create the address of the palette entry in the PALETTE PIO the palette has to be aligned on a 1024 byte boundry. This fact needs to be added to documentation.

For anyone else having palette mode issues, you need to do the following.

uint32_t palette[256] attribute((aligned(1024)));

Thanks. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions