From 37e82f16627babb18ace63cbeda67c95212fc014 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 10 Oct 2024 02:07:15 +0800 Subject: [PATCH] add ticktimer ref to cramium-hal this is needed for delays in Xous mode - the camera requires some dead-reckoned delays between i2c writes and reads --- libs/cramium-hal/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/cramium-hal/Cargo.toml b/libs/cramium-hal/Cargo.toml index 0c332d808..e6586e606 100644 --- a/libs/cramium-hal/Cargo.toml +++ b/libs/cramium-hal/Cargo.toml @@ -7,6 +7,7 @@ edition = "2021" [dependencies] xous-api-names = { version = "0.9.63", optional = true } +xous-api-ticktimer = { version = "0.9.61", optional = true } log = { version = "0.4.14", optional = true } utralib = { version = "0.1.25", default-features = false, features = [ "cramium-soc", @@ -33,6 +34,6 @@ board-dabao = [] # Dev board form factor compress-entropy = [] magic-manual = [] -std = ["log", "xous-api-names", "usb-device"] +std = ["log", "xous-api-names", "usb-device", "xous-api-ticktimer"] derive-rkyv = ["rkyv"] default = ["board-baosec"]