Skip to content

openocd on raspberry pi #4

@yschaeff

Description

@yschaeff

I'm trying to compile openocd on a raspberry pi and I'm hitting this issue:

rtos_freertos_stackings.c: In function 'rtos_freertos_esp108_stack_read_voluntary':
rtos_freertos_stackings.c:375:22: error: cast increases required alignment of target type [-Werror=cast-align]
uint32_t *stackregs=(uint32_t *)stack_data; //alias so we can read/write entire words. Little-endian hosts only!

Which make sense since the code mentions it doesn't work on big endian machines. I'd like to use a raspberry pi as JTAG adapter but I can't get it to compile.

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