Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
TANG617 committed Mar 22, 2024
1 parent 53566a9 commit 17dcab1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 22 deletions.
2 changes: 0 additions & 2 deletions .idea/Pioneer.iml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

2 changes: 1 addition & 1 deletion STM32F103RCTX_FLASH.ld
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ _Min_Stack_Size = 0xF00; /* required amount of stack */
MEMORY
{
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 48K
FLASH (rx) : ORIGIN = 0x8006000, LENGTH = 256K
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 256K
}

/* Sections */
Expand Down
16 changes: 5 additions & 11 deletions stm32f103c8_blue_pill.cfg
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-or-later

# STM32F103C8 "Blue Pill"
# This is an ST NUCLEO F103RB board with a single STM32F103RBT6 chip.
# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259875

# NOTE:
# There is a fair bit of confusion about whether the "Blue Pill" has 128kB or 64kB flash size.
# The most likely cause is that there exist a -C8 and a -CB variant of the STM32F103, where
# the C8 has 64kB, the CB has 128kB as per specification. "Blue Pill" boards are manufactured
# by a lot of different vendors, some may actually use the CB variant but from a cursory look
# it very hard to tell them apart ("C8" and "CB" look very similar). Nevertheless, people have
# tried using the full 128kB of flash on the C8 and found it to be working. Hence this board file
# overrides the internal size detection. Be aware though that you may be using you particular
# board outside of its specification. If in doubt, comment the following line.
set FLASH_SIZE 0x20000
source [find interface/stlink.cfg]

source [find target/stm32f1x.cfg]


0 comments on commit 17dcab1

Please sign in to comment.