Skip to content

Commit 130acd3

Browse files
committed
doc: move CPU porting guide to mdx
1 parent 0569e06 commit 130acd3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

doc/guides/advanced_tutorials/porting_cpus.md renamed to doc/guides/advanced_tutorials/porting_cpus.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: Porting CPUs
33
description: Guide on how to port new CPU families to RIOT-OS
44
---
55

6+
import { FileTree } from '@astrojs/starlight/components';
7+
68
This guide was created during the process of porting a new MCU family
79
(Infineon PSoC-6) to RIOT. It is intended as a practical companion to RIOT's
810
existing board-porting documentation and focuses on the structure of a CPU port.
@@ -32,7 +34,7 @@ A typical CPU port has a file structure similar to the following:
3234
Entries marked with `*` are optional and depend on the CPU family and reuse
3335
strategy. Entries without `*` are typically required for a minimal CPU port.
3436

35-
{% filetree %}
37+
<FileTree>
3638
- cpu/foo
3739
- include
3840
- cpu_conf.h
@@ -51,7 +53,7 @@ strategy. Entries without `*` are typically required for a minimal CPU port.
5153
- Makefile.features*
5254
- Makefile.include
5355
- cpu.c
54-
{% /filetree %}
56+
</FileTree>
5557

5658
Not every subdirectory is mandatory; use the `*` markers above to distinguish
5759
optional components.

0 commit comments

Comments
 (0)