1
0
mirror of https://github.com/rfivet/stm32bringup.git synced 2024-09-27 18:45:53 -04:00

Upgrade toolchain to 13.3.

Documentation revision with Firefox.
This commit is contained in:
Renaud 2024-09-20 15:27:09 +08:00
parent 8c464ae090
commit f199ffa8b0
5 changed files with 15 additions and 6 deletions

View File

@ -1,5 +1,5 @@
# Makefile -- stm32bringup
# Copyright © 2020-2023 Renaud Fivet
# Copyright © 2020-2024 Renaud Fivet
### Build environment selection
@ -14,7 +14,8 @@ ifeq (linux, $(findstring linux, $(MAKE_HOST)))
#REVDIR = arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi
#REVDIR = arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi
#REVDIR = arm-gnu-toolchain-12.2.mpacbti-rel1-x86_64-arm-none-eabi
REVDIR = arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi
#REVDIR = arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi
REVDIR = arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi
else
DRIVE = d
ifeq (cygwin, $(findstring cygwin, $(MAKE_HOST)))
@ -38,7 +39,8 @@ endif
#REVDIR = GNU Arm Embedded Toolchain/arm-gnu-toolchain-11.3.rel1-mingw-w64-i686-arm-none-eabi
#REVDIR = GNU Arm Embedded Toolchain/arm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi
#REVDIR = GNU Arm Embedded Toolchain/arm-gnu-toolchain-12.2.mpacbti-rel1-mingw-w64-i686-arm-none-eabi
REVDIR = GNU Arm Embedded Toolchain/arm-gnu-toolchain-13.2.Rel1-mingw-w64-i686-arm-none-eabi
#REVDIR = GNU Arm Embedded Toolchain/arm-gnu-toolchain-13.2.Rel1-mingw-w64-i686-arm-none-eabi
REVDIR = GNU Arm Embedded Toolchain/arm-gnu-toolchain-13.3.rel1-mingw-w64-i686-arm-none-eabi
endif
GCCDIR = $(INSTALLDIR)/$(REVDIR)

View File

@ -11,7 +11,8 @@ Arm maintains a GCC cross-compiler available as binaries that run on Linux and
Windows.<br>It is available on their
<a href="https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm">
arm developer site</a>.
<p>
I want to develop for <b>AArch32 bare-metal target (arm-none-eabi)</b>.
<h2>Installation on Windows</h2>
So far there are only win32 versions available for download either as
<b>.exe</b> installers or <b>.zip</b> archives. File naming convention helps to
@ -37,6 +38,7 @@ CC = $(BINPFX)gcc
version:
$(CC) --version
</pre>
<ul>
<li> <b>GCCDIR</b> holds the path to the folder where the toolchain is installed.
@ -88,6 +90,7 @@ CC = $(BINPFX)gcc
version:
$(CC) --version
</pre>
I use the path prefix <b>$(HOME)/Packages</b> instead of <b>~/Packages</b> when
@ -151,6 +154,7 @@ LD_SCRIPT = $(GCCDIR)/share/gcc-arm-none-eabi/samples/ldscripts/mem.ld
%.elf: %.o
$(LD) -T$(LD_SCRIPT) -o $@ $<
</pre>
<pre>
@ -191,6 +195,7 @@ LD_SCRIPT = $(GCCDIR)/share/gcc-arm-none-eabi/samples/ldscripts/mem.ld
%.hex: %.elf
$(OBJCOPY) -O ihex $< $@
</pre>
Now, if I start in a directory that contains only this <b>Makefile</b> and an
@ -263,6 +268,7 @@ clean:
%.hex: %.elf
@echo $@
$(OBJCOPY) -O ihex $< $@
</pre>
<pre>

View File

@ -299,6 +299,7 @@ clean:
%.hex: %.elf
@echo $@
$(OBJCOPY) -O ihex $< $@
</pre>
<hr>© 2020-2024 Renaud Fivet

View File

@ -6,7 +6,7 @@
<link type="text/css" rel="stylesheet" href="style.css">
</head>
<body>
<h1>STM32 Bringup</h1>
<h1>STM32 Bring Up</h1>
<h2>Introduction</h2>
Getting started with a micro-controller usually means picking up a board,

View File

@ -9,7 +9,7 @@ body {
pre {
background-color: #F3F6FA ;
margin-left: 1% ;
margin-right: 25% ;
margin-right: 24.5% ;
font-size: 120% ;
overflow-x: auto ;
}