Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor changes to make stm32f103 code work #1

Open
stefaandesmet2003 opened this issue Feb 5, 2019 · 1 comment
Open

minor changes to make stm32f103 code work #1

stefaandesmet2003 opened this issue Feb 5, 2019 · 1 comment

Comments

@stefaandesmet2003
Copy link

Hi,
great work on this repo! I had to make 2 minor changes to make the code work on bluepill :

  • generic/config.h : misses #define UF2_FAMILY 0x5ee21072
  • backup.c : not sure what the reason was not to use the BKP registers, but (void)reg;
    (volatile uint32_t)0x2000f000 = value; didn't work on bluepill, because it's addressing non-existing RAM (only 20k), and panics the cortex core. I used the version from devanlai's repo, and all good!

Cheers,

Stefaan

@yuanyanhui
Copy link

@stefaandesmet2003 Does your bluepill work properly with makecode? I tried the uf2 release in the repo as well as a new build according to your changes, however in both cases codes compiled by makecode (maker.makecode.com) cannot run on my board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants