File tree Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ .. _getting-barbican :
2
+
1
3
Getting Barbican
2
4
================
3
5
@@ -16,6 +18,7 @@ virtualenv).
16
18
pip install [--user] outpost-barbican
17
19
18
20
.. note ::
21
+
19
22
Do not install for user in a virtualenv.
20
23
21
24
.. tip ::
Original file line number Diff line number Diff line change
1
+ HowTo
2
+ =====
3
+
4
+ Sample project build
5
+ --------------------
6
+
7
+ Environment setup
8
+ ^^^^^^^^^^^^^^^^^
9
+
10
+ Python environment
11
+ """"""""""""""""""
12
+ Barbican supports python 3.10+ and can be install from PyPI or github repository.
13
+ For use as Integration Kit, `tools ` extra dependencies must be installed.
14
+
15
+ .. code-block :: console
16
+
17
+ pip install [--user] outpost-barbican[tools]
18
+
19
+ .. seealso ::
20
+
21
+ :ref: `Getting Barbican <getting-barbican >` Section.
22
+
23
+ C environment
24
+ """""""""""""
25
+
26
+ A GCC compiler is required w/ at least C11 support and `binutils ` 2.39 as the linker needs
27
+ to support `--package-metadata option <https://systemd.io/ELF_PACKAGE_METADATA/ >`_.
28
+ Pre built C toolchain for arm Cortex-M cores can be found
29
+ `here <https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads >`_.
30
+
31
+ .. tip ::
32
+
33
+ ARM developer toolchain version 12+ are mandatory, prior to 12.x, the `binutils `
34
+ packaged version does not meet requirements.
35
+
36
+
37
+ .. todo ::
38
+
39
+ Barbican will provide C toolchain in SDK in next major releases
40
+
41
+
42
+ Rust environment
43
+ """"""""""""""""
44
+
45
+ One may use `rustup <https://www.rust-lang.org/tools/install >`_ for rust environment setup.
46
+ The following targets are supported and might be installed:
47
+ - thumbv7em-none-eabi
48
+ - thumbv8m.main-none-eabi
49
+
50
+ The minimum required version is 1.82
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Welcome to barbican documentation!
10
10
:caption: Contents:
11
11
12
12
gettingstarted.rst
13
+ howto.rst
13
14
commands/barbican.rst
14
15
commands/internals.rst
15
16
reference_manual/index.rst
You can’t perform that action at this time.
0 commit comments