diff options
author | Brian Cully <bjc@kublai.com> | 2022-10-25 13:13:02 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2022-10-25 13:13:02 -0400 |
commit | 7118a43e6fba016ac67fdecce44d0f4de5b36fd8 (patch) | |
tree | 75f42a32af964e783b84e6dbd7d56a121e8753a7 | |
parent | 0c4eb964b015961e3c90e45ef498f6c7f89eddba (diff) | |
download | luchie-7118a43e6fba016ac67fdecce44d0f4de5b36fd8.tar.gz luchie-7118a43e6fba016ac67fdecce44d0f4de5b36fd8.zip |
update docs a bit
-rw-r--r-- | README.org | 40 |
1 files changed, 19 insertions, 21 deletions
@@ -1,9 +1,26 @@ -* start rust container +* 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 + +* cirque trackpad +what the fuck did i do with the code i had for this which did the setup and read the spi registers?? +* gd32vf103-start board looks like the start board is a gd32vf103cbt from the tiny print silk-screened on the chip. [[https://www.tme.com/us/en-us/details/gd32vf103c-start/development-kits-others/gigadevice/][TME]] says it's a gd32vf103d6t6 — but [[https://www.gigadevice.com/products/microcontrollers/gd32-development-tools/gd32-mcu-starter-kits/][gigadevice]] says gd32vf103cbt6 which means it has 128k flash and 32k sram and 37(!) gpio pins @@ -20,26 +37,7 @@ according to the user manual (pg 51), at least when waking up, the system boots usb is 2.0 full-speed (12Mbps) -* USART +** USART 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 |