aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2022-08-08 13:17:30 -0400
committerBrian Cully <bjc@kublai.com>2022-08-08 13:17:30 -0400
commite84a0d01a0c1633a2cd15bf4bab7eb934f374c68 (patch)
treec145a09cf6af022747b2cad6f13939e3d5bb47fc
parent6871c2fd851171c6eab5353b004c5bd8fb1b91a1 (diff)
downloadluchie-e84a0d01a0c1633a2cd15bf4bab7eb934f374c68.tar.gz
luchie-e84a0d01a0c1633a2cd15bf4bab7eb934f374c68.zip
update doc with current dev setup
-rw-r--r--README.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.org b/README.org
index 9ad9910..b9da1b8 100644
--- a/README.org
+++ b/README.org
@@ -18,3 +18,22 @@ usb is 2.0 full-speed (12Mbps)
On [[https://github.com/tyustli/rt-thread/tree/master/bsp/gd32vf103v-eval][github]] it says that ~uart0~ tx/rx is gpio 9/10 — but that's for the eval board.
See the [[https://github.com/riscv-mcu/GD32VF103_Firmware_Library/tree/master/Examples/USART/Printf][risc-v repository]] for a printf example.
The [[https://docs.zephyrproject.org/latest/boards/riscv/gd32vf103c_starter/doc/index.html][zephyr documentation]] for it indicates the usb is on ~usart0~ with tx/rx pins ~pa9~ / ~pa10~
+
+* dev environment
+** rust
+container definition lives [[file:~/src/MyStuff/docker/luchie/Dockerfile][here]].
+
+*** start container
+#+begin_src shell
+ doas podman run --rm -v /home/bjc/src:/home/bjc/src -it --name luchie -h luchie luchie
+#+end_src
+
+** openocd
+can i make this eshell?
+#+begin_src shell
+ ssh psyduck "cd luchie && ./m openocd"
+#+end_src
+** console
+#+begin_src shell
+ ssh -t psyduck "cd luchie && ./m console"
+#+end_src