Skip to content

Commit fa491b4

Browse files
committed
README.rst: spell out gcc version requirements
.. the text was adapted from ports/stm32 and a conversation with Dan Halbert.
1 parent bf42611 commit fa491b4

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

ports/atmel-samd/README.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,29 @@ PB03 **Yes** **Yes** **Yes** **Yes**
115115

116116
Setup
117117
-----
118-
Install required compiler packages:
118+
119+
An ARM compiler is required for the build, along with the associated binary
120+
utilities. On Ubuntu, these can be installed as follows:
119121

120122
.. code-block:: shell
121123
122124
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
123125
sudo apt-get install gcc-arm-embedded
124126
127+
On Arch Linux the compiler is available for via the package
128+
``arm-none-eabi-gcc``.
129+
130+
For other systems, the `GNU Arm Embedded Toolchain <https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads>`_
131+
may be available in binary form.
132+
133+
The latest available package from team-gcc-arm-embedded is used to produce the
134+
binaries shipped by AdaFruit. Other compiler versions, particularly older
135+
ones, may not work properly. In particular, the ``gcc-arm-none-eabi`` package
136+
in Debian Stretch is too old.
137+
138+
The compiler can be changed using the ``CROSS_COMPILE`` variable when invoking
139+
``make``.
140+
125141
Building
126142
--------
127143

0 commit comments

Comments
 (0)