From 372d1967a310bc1972399370d74a8bb73a8e5b23 Mon Sep 17 00:00:00 2001 From: "Edward A. Lee" Date: Sat, 20 Jan 2024 08:37:13 -0800 Subject: [PATCH 1/3] Added pointer to RP2040 docs --- docs/embedded/rp2040.mdx | 12 ++++++++++++ docs/sidebars.ts | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 docs/embedded/rp2040.mdx diff --git a/docs/embedded/rp2040.mdx b/docs/embedded/rp2040.mdx new file mode 100644 index 000000000..562e40e9e --- /dev/null +++ b/docs/embedded/rp2040.mdx @@ -0,0 +1,12 @@ +--- +title: RP2040 +description: Developing LF Programs for RP2040. +--- +# Overview +Lingua Franca's C-runtime supports the [Raspberry Pi RP2040](https://en.wikipedia.org/wiki/RP2040), +an inexpensive microcontroller that is typically used without an operating system ("bare metal"). +A series of lab excercises have been developed for instructional use, but these also +serve as the best documentation and guide for developing programs for the RP2040. +These lab exercises use the [Pololu 3pi+ 2040 robot](https://www.pololu.com/docs/0J86), +which has an RP2040, but the exercises can be adapted to other robots and RP2040 platforms. +See the [RP2040 lab page](https://lf-lang.org/embedded-lab/) for more information. diff --git a/docs/sidebars.ts b/docs/sidebars.ts index 69372c9e3..997051424 100644 --- a/docs/sidebars.ts +++ b/docs/sidebars.ts @@ -179,6 +179,10 @@ const sidebars: SidebarsConfig = { { "type": "doc", "id": "embedded/zephyr" + }, + { + "type": "doc", + "id": "embedded/rp2040" } ] }, From 5ec899ca8d13cedbfed4d80261c1ef304a7161b8 Mon Sep 17 00:00:00 2001 From: "Edward A. Lee" Date: Sat, 20 Jan 2024 09:43:02 -0800 Subject: [PATCH 2/3] Update website-development.mdx Removed URL which is obsolete (it was valid for the old website). --- docs/developer/website-development.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer/website-development.mdx b/docs/developer/website-development.mdx index 6a48e7f0f..3b891579c 100644 --- a/docs/developer/website-development.mdx +++ b/docs/developer/website-development.mdx @@ -7,7 +7,7 @@ description: Development of the Lingua Franca website. First, for simple changes to the website, such as fixing typos, the easiest way is to scroll to the bottom of the page, follow the link at the bottom to send a pull request, edit the resulting page, and issue a pull request. -For more elaborate changes, including adding new pages, you will need to clone the [GitHub repository](https://github.com/lf-lang/website-lingua-franca). You can then set up your local clone to provide a local copy of the website at http://localhost:8000 by following the instructions in the [README file](https://github.com/lf-lang/website-lingua-franca/blob/main/README.md). This way, you can test your changes before issuing a pull request. +For more elaborate changes, including adding new pages, you will need to clone the [GitHub repository](https://github.com/lf-lang/website-lingua-franca). You can then set up your local clone to provide a local copy of the website by following the instructions in the [README file](https://github.com/lf-lang/website-lingua-franca/blob/main/README.md). This way, you can test your changes before issuing a pull request. ## Editing the Handbook From 3ca2e31dea13f2ea8f7b89191f37642832195721 Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Sat, 20 Jan 2024 10:05:13 -0800 Subject: [PATCH 3/3] Update docs/developer/website-development.mdx --- docs/developer/website-development.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer/website-development.mdx b/docs/developer/website-development.mdx index 3b891579c..be3c66a74 100644 --- a/docs/developer/website-development.mdx +++ b/docs/developer/website-development.mdx @@ -7,7 +7,7 @@ description: Development of the Lingua Franca website. First, for simple changes to the website, such as fixing typos, the easiest way is to scroll to the bottom of the page, follow the link at the bottom to send a pull request, edit the resulting page, and issue a pull request. -For more elaborate changes, including adding new pages, you will need to clone the [GitHub repository](https://github.com/lf-lang/website-lingua-franca). You can then set up your local clone to provide a local copy of the website by following the instructions in the [README file](https://github.com/lf-lang/website-lingua-franca/blob/main/README.md). This way, you can test your changes before issuing a pull request. +For more elaborate changes, including adding new pages, you will need to clone the [GitHub repository](https://github.com/lf-lang/lf-lang.github.io). You can then build the website by following the instructions in the [README file](https://github.com/lf-lang/lf-lang.github.io/blob/main/README.md). This way, you can test your changes before issuing a pull request. ## Editing the Handbook