From 8f1f5cf9156fd9890a3439a78c26c331b0527f7d Mon Sep 17 00:00:00 2001 From: 1nct Date: Sat, 6 Aug 2022 13:54:26 +0200 Subject: [PATCH] - added/changed files for documentation - added comment regarding CV array addresses --- core0.c | 2 +- docs/svg/Debug_Connections.svg | 2 +- docs/svg/Wiring_diagram.svg | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 docs/svg/Wiring_diagram.svg diff --git a/core0.c b/core0.c index d0ce556..58466e2 100644 --- a/core0.c +++ b/core0.c @@ -5,7 +5,7 @@ ////////////////////////// #include "core0.h" -// XIP_BASE + FLASH_TARGET_OFFSET = "0x101FF000" +// XIP_BASE + FLASH_TARGET_OFFSET = "0x101FF000" <- This address need to be smaller than __flash_binary_end stored in RP2040-Decoder.elf.map const uint8_t *CV_ARRAY_FLASH = (const uint8_t *) (XIP_BASE + FLASH_TARGET_OFFSET); uint64_t input_bit_buffer = 0; uint16_t level_table[32] = {0}; diff --git a/docs/svg/Debug_Connections.svg b/docs/svg/Debug_Connections.svg index 94cb1c6..42c6b0d 100644 --- a/docs/svg/Debug_Connections.svg +++ b/docs/svg/Debug_Connections.svg @@ -1,4 +1,4 @@ -
Raspberry Pi Pico
Raspberry Pi Pico
GND
GND
GPIO2
GPIO2
GPIO3
GPIO3
VBUS
VBUS
Text is not SVG - cannot display
\ No newline at end of file +
Raspberry Pi Pico
Raspberry Pi Pico
GND
GND
GPIO2
GPIO2
GPIO3
GPIO3
VBUS
VBUS
Text is not SVG - cannot display
\ No newline at end of file diff --git a/docs/svg/Wiring_diagram.svg b/docs/svg/Wiring_diagram.svg new file mode 100644 index 0000000..27a86ea --- /dev/null +++ b/docs/svg/Wiring_diagram.svg @@ -0,0 +1,4 @@ + + + +
Motor0
Motor0
Motor1
Motor1
Track0
Track0
Track1
Track1
Load1
Load1
Load0
Load0
Text is not SVG - cannot display
\ No newline at end of file