chore: cleanup some hal.h entries in favor of JSON (#7722)

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com>
This commit is contained in:
3djc
2026-08-30 10:06:59 +10:00
committed by GitHub
co-authored by Claude Sonnet 5 Peter Feerick
parent 90bbce1763
commit db18294f78
12 changed files with 23 additions and 540 deletions
+11
View File
@@ -0,0 +1,11 @@
//
// WARNING: DO NOT EDIT THIS FILE
// This file has been generated from the target's JSON hardware description
//
#pragma once
{% set pwm_sticks = adc_inputs.inputs | selectattr('type', '==', 'STICK') | selectattr('pwm_channel', 'ne', none) | list %}
{% for gpio, inputs in pwm_sticks | groupby('gpio') %}
#define PWM_{{ gpio }}_PINS ({{ inputs | map(attribute='pin') | join(' | ') }})
{% endfor %}