Devan Lai

Results 35 comments of Devan Lai

Weak functions work okay if there's only one level of overriding necessary, but IIRC, it's not defined what happens if you provide multiple weak definitions of a symbol to the...

It's not exactly a conscious choice, more of a "it was good enough at the time so I didn't change it". Off the top of my head, the bootloader doesn't...

Hi @dleung18, dapboot just handles installing new firmware through USB DFU. Once you've used it to install your firmware, your application is in control and it's up to your code/firmware...

Hi @danielkucera, can you list the full version of the toolchain you're compiling with? I see that it's using 9.2.1 which is nominally the same version as the CI setup...

Hi, I use a prebuilt copy of the "gnu-rm" toolchain provided by ARM: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm You can see an example of the script I use to download the toolchain for CircleCI...

Hi @Wosamarak, I'm not sure why the final result isn't working, though there are some areas where I could probably make the build and flash process a bit less confusing....

Hmm, well, now I'm even more puzzled. I built a copy of dfu-util from git tag v0.10 and I can't see get the File ID error to reproduce. The file...

I was originally concerned that there might be latent bugs in the source code that might have surfaced when compiling with the newer version of gcc, but since your firmware...

Hi @verjus, the SWD and JTAG pins require special remapping on STM32F1xx parts before they can be reused. You can see the documentation in the libopencm3 docs for this on...

Hi, it is technically possible to add JTAG support, but I haven't spent much time integrating it because I usually don't need full JTAG and from the last time I...