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:
co-authored by
Claude Sonnet 5
Peter Feerick
parent
90bbce1763
commit
db18294f78
@@ -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 %}
|
||||
Reference in New Issue
Block a user