Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
GPIO toggling does not work #31
I tried to run ST the GPIO_IOToggle example project from ST's library STM32Cube_FW_F1_V1.4.0. Everything was okay except that the function HAL_GPIO_TogglePin(LED2_GPIO_PORT, LED2_PIN) in main.c at line 100 does not toggle the GPIO output. I ended up using HAL_GPIO_WritePin(LED2_GPIO_PORT,LED2_PIN, seconds % 2) and this fixed it. I believe this may be a QEMU issue because even direct register access confirmed that the GPIO was not being toggled.
Steps to reproduce (Ubuntu 14.04LTS, Eclipse CDT Neon)
I'm trying to follow the HelloWorld tutorial and QEMU crashes with it. I get a few dialog boxes:
Then the other dialog says:
From the Console, the logs show:
I just downloaded this off the instructions specified with http://gnuarmeclipse.github.io/debug/qemu/ http://gnuarmeclipse.github.io/plugins/packs-manager/ - is there an update to the documentation that is needed to overcome this issue?