From 0186f9ebd02d2dee675c0311b11150f18e1b1008 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 27 Apr 2018 11:15:20 +0100 Subject: [PATCH] microtest experimenting --- src/spec/microtest.py | 9 +++++---- src/spec/minitest.py | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/spec/microtest.py b/src/spec/microtest.py index 002aac7..4014ade 100644 --- a/src/spec/microtest.py +++ b/src/spec/microtest.py @@ -50,10 +50,11 @@ def pinspec(of): ps = PinSpec(pinbanks, fixedpins, function_names) # Bank A, 0-3 - #ps.gpio("", ('A', 0), 0, 0, 4) - ps.uart("0", ('A', 0), 0) - #ps.uart("1", ('A', 2), 1) - ps.i2c("0", ('A', 1), 1) + ps.gpio("", ('A', 0), 0, 0, 6) + ps.uart("0", ('A', 0), 1) + ps.uart("1", ('A', 2), 1) + ps.i2c("0", ('A', 1), 2) + ps.i2c("1", ('A', 2), 4) minitest = ['UART0', 'TWI0', ] minitest_eint = [] diff --git a/src/spec/minitest.py b/src/spec/minitest.py index 9c2b600..3b70bb5 100644 --- a/src/spec/minitest.py +++ b/src/spec/minitest.py @@ -66,7 +66,7 @@ def pinspec(of): ps.spi("0", ('B', 10), 2) ps.quadspi("", ('B', 4), 2) ps.uart("0", ('B', 16), 2) - ps.i2c("2", ('B', 18), 2) + ps.i2c("1", ('B', 18), 2) ps.pwm("", ('B', 21), 2, 0, 3) ps.sdmmc("0", ('B', 22), 3) ps.eint("", ('B', 0), 3, 0, 4) -- 2.30.2