Files
charge-controller-firmware/tests/drivers/half_bridge/app.overlay
T
Martin JägerandClaude Opus 5.5 749c84eee1 drivers: half_bridge: add emulated driver and tests
Add an emulated half-bridge driver for tests on native_sim. It behaves
like an edge-aligned STM32 timer, similar to the dummy registers used
in the unit tests so far.

The driver API is tested in a new ztest suite, which can be run with
twister:

    west twister -T tests/drivers -p native_sim

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 20:36:07 +02:00

15 lines
266 B
Plaintext

/*
* Copyright (c) The Libre Solar Project Contributors
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
halfbridge: half-bridge {
compatible = "libresolar,half-bridge-emul";
clock-frequency = <24000000>;
frequency = <70000>;
deadtime-ns = <300>;
};
};