-
The USART always sent gibberish even after trying many baudrates and parities.
I adapted the boards.txt and platform.txt to allow using a USB to serial adapter while waiting for a new ST-Link. The …
-
Yesterday I ran into a few problems linking C++ code with libopencm3 and the provided makefiles. One reason was that it used gcc instead of g++ for linking, the other reason was the missing option --s…
-
One common feature of bootloaders is that they try to leave the MCU's state as they found it, turning off interrupts, resetting clock config, etc.
I've tracked some weirdness I'm seeing in user ap…
-
Ubuntu 16
```
ubuntu@ubuntu:~/stm32-vserprog-lpc$ make BOARD=stm32f103-ugly
make[1]: Entering directory '/home/ubuntu/stm32-vserprog-lpc'
git submodule init
git submodule update --remote
CFLAGS=…
-
I've cloned the Git repo:
https://github.com/libopencm3/libopencm3-examples.git
The cloned repo has an empty folder `libopencm3`. So I've cloned the following Git repo in that empty folder:
https…
-
Hi, I've spent few days to figure out that stm32f103 does not work properly with TIM6. Please add some additional information or replace current default timer for example to TIM2.
-
Hello,
there seems to be a problem with how `xPortPendSVHandler` and `vPortSVCHandler` are wrapped in [opencm3.c](https://github.com/ve3wwg/stm32f103c8t6/blob/master/rtos/uart/rtos/opencm3.c) files…
xvuko updated
2 years ago
-
It took me ages to figure out how to get 8 bit transfers working instead of 2 bytes at a time.
```
// spi_xfer(SPI2, s++);
*(unsigned char *) &SPI_DR(SPI2) = s++;
```
The spi_xfer functio…
-
arm-none-eabi-gcc -O3 -Wall -Wextra -Wimplicit-function-declaration -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes -Wundef -Wshadow -I../libopencm3/include -fno-common -mthumb -mcpu=cortex…
-
because of the inline functions ?