8000 STM32FreeRTOS breaks I2C · Issue #39 · stm32duino/STM32FreeRTOS · GitHub
[go: up one dir, main page]

Skip to content
STM32FreeRTOS breaks I2C #39
Closed
Closed
@andrey-gvrd

Description

@andrey-gvrd

Not a super detailed bug report, but just wanted to raise this issue.

Seems like if the FreeRTOS is included in the project (no FreeRTOS code is even in the binary), I2C or something lower-level than it breaks.

In particular, execution gets stuck in the first call to i2c_master_write() because HAL_GetTick() doesn’t get updated once inside the function, so:

delta = (HAL_GetTick() - tickstart) is stuck at 0.

Screenshot 2021-04-06 141235

I'm using platformio with Nucleo-64 G071 board.
Simply removing stm32duino/STM32duino FreeRTOS@^10.2.1 from library dependencies in platformio.ini fixes the problem.

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

      0