lineht *= 0.4
$margin = lineht*2.5
scale = 0.75
fontscale = 1.5
fitwidth = 75
RP2040: [
CORES: [
ARM0: circle\
"ARM-0"\
"NGENeer"\
"Service"\
"Core"\
fit width fitwidth%
move
ARM1: circle\
same\
"ARM-1"\
"NGENeer"\
"Application"\
"Core"\
hubscale = 2.75*ARM0.height
]
down
move
move
PIO: [
PIO1: box "PIO1"\
"Control IO"\
"- Data Transfer"\
fit width fitwidth%\
#at hubscale heading n of PIO0.n
#arrow <-> thin from previous to PIO chop
move
PIO0: box "PIO0"\
"Control IO"\
"- Command"\
"- Response"\
fit width fitwidth%\
#at hubscale heading n of PIO0.n
#arrow <-> thin from previous to PIO chop
]
]