Skip to content

Instantly share code, notes, and snippets.

@dkaser
Created March 4, 2023 07:02
Show Gist options
  • Save dkaser/f6c4c8fc8b62f1d100ad244f8e2d37ed to your computer and use it in GitHub Desktop.
Save dkaser/f6c4c8fc8b62f1d100ad244f8e2d37ed to your computer and use it in GitHub Desktop.
Klipper Regression Test Dictionary - HC32F460 Trigorilla
{"build_versions":"gcc: (15:10.3-2021.07-4) 10.3.1 20210621 (release) binutils: (2.38-3ubuntu1+15build1) 2.38","commands":{"allocate_oids count=%c":8,"buttons_ack oid=%c count=%c":42,"buttons_add oid=%c pos=%c pin=%u pull_up=%c":44,"buttons_query oid=%c clock=%u rest_ticks=%u retransmit_count=%c invert=%c":43,"clear_shutdown":2,"config_analog_in oid=%c pin=%u":32,"config_buttons oid=%c button_count=%c":45,"config_counter oid=%c pin=%u pull_up=%c":52,"config_digital_out oid=%c pin=%u value=%c default_value=%c max_duration=%u":17,"config_endstop oid=%c pin=%c pull_up=%c":26,"config_hd44780 oid=%c rs_pin=%u e_pin=%u d4_pin=%u d5_pin=%u d6_pin=%u d7_pin=%u delay_ticks=%u":41,"config_neopixel oid=%c pin=%u data_size=%hu bit_max_ticks=%u reset_min_ticks=%u":50,"config_pwm_out oid=%c pin=%u cycle_ticks=%u value=%hu default_value=%hu max_duration=%u":35,"config_st7920 oid=%c cs_pin=%u sclk_pin=%u sid_pin=%u sync_delay_ticks=%u cmd_delay_ticks=%u":38,"config_stepper oid=%c step_pin=%c dir_pin=%c invert_step=%c step_pulse_ticks=%u":23,"config_tmcuart oid=%c rx_pin=%u pull_up=%c tx_pin=%u bit_time=%u":47,"config_trsync oid=%c":30,"debug_nop":9,"debug_ping data=%*s":10,"debug_read order=%c addr=%u":12,"debug_write order=%c addr=%u val=%u":11,"emergency_stop":3,"endstop_home oid=%c clock=%u sample_ticks=%u sample_count=%c rest_ticks=%u pin_value=%c trsync_oid=%c trigger_reason=%c":25,"endstop_query_state oid=%c":24,"finalize_config crc=%u":6,"get_clock":5,"get_config":7,"get_uptime":4,"hd44780_send_cmds oid=%c cmds=%*s":40,"hd44780_send_data oid=%c data=%*s":39,"identify offset=%u count=%c":1,"neopixel_send oid=%c":48,"neopixel_update oid=%c pos=%hu data=%*s":49,"query_analog_in oid=%c clock=%u sample_ticks=%u sample_count=%c rest_ticks=%u min_value=%hu max_value=%hu range_check_count=%c":31,"query_counter oid=%c clock=%u poll_ticks=%u sample_ticks=%u":51,"queue_digital_out oid=%c clock=%u on_ticks=%u":15,"queue_pwm_out oid=%c clock=%u value=%hu":34,"queue_step oid=%c interval=%u count=%hu add=%hi":22,"reset":53,"reset_step_clock oid=%c clock=%u":20,"set_digital_out pin=%u value=%c":13,"set_digital_out_pwm_cycle oid=%c cycle_ticks=%u":16,"set_next_step_dir oid=%c dir=%c":21,"set_pwm_out pin=%u cycle_ticks=%u value=%hu":33,"st7920_send_cmds oid=%c cmds=%*s":37,"st7920_send_data oid=%c data=%*s":36,"stepper_get_position oid=%c":19,"stepper_stop_on_trigger oid=%c trsync_oid=%c":18,"tmcuart_send oid=%c write=%*s read=%c":46,"trsync_set_timeout oid=%c clock=%u":28,"trsync_start oid=%c report_clock=%u report_ticks=%u expire_reason=%c":29,"trsync_trigger oid=%c reason=%c":27,"update_digital_out oid=%c value=%c":14},"config":{"ADC_MAX":4095,"CLOCK_FREQ":200000000,"MCU":"HC32F460","PWM_MAX":65535,"RECEIVE_WINDOW":192,"RESERVE_PINS_serial":"PA3,PA2","SERIAL_BAUD":250000,"STATS_SUMSQ_BASE":256,"STEPPER_BOTH_EDGE":1},"enumerations":{"pin":{"PA0":[0,16],"PB0":[16,16],"PC0":[32,16],"PD2":[50,1],"PH2":[82,1]},"static_string_id":{"ADC out of range":26,"Already finalized":13,"Can not set soft pwm cycle ticks while updates pending":20,"Can't add signal that is already active":25,"Can't assign oid":11,"Can't reset time when stepper active":22,"Command parser error":7,"Command request":8,"Invalid buttons retransmit count":29,"Invalid command":5,"Invalid count parameter":23,"Invalid move request size":14,"Invalid neopixel data_size":34,"Invalid neopixel update command":33,"Invalid oid type":12,"Max of 8 buttons":31,"Message encode error":6,"Missed scheduling of next digital out event":21,"Missed scheduling of next hard pwm event":28,"Move queue overflow":15,"Not a valid ADC pin":35,"Not a valid PWM pin":36,"Rescheduled timer in the past":37,"Scheduled digital out event will exceed max_duration":19,"Scheduled pwm event will exceed max_duration":27,"Set button past maximum button count":30,"Shutdown cleared when not shutdown":2,"Stepper too far in past":24,"Timer too close":3,"alloc_chunk failed":17,"alloc_chunks failed":16,"config_reset only available when shutdown":9,"oids already allocated":10,"sentinel timer called":4,"tmcuart data too large":32,"update_digital_out not valid with active queue":18}},"responses":{"analog_in_state oid=%c next_clock=%u value=%hu":66,"buttons_state oid=%c ack_count=%c state=%*s":67,"clock clock=%u":59,"config is_config=%c crc=%u is_shutdown=%c move_count=%hu":60,"counter_state oid=%c next_clock=%u count=%u count_clock=%u":70,"debug_result val=%u":62,"endstop_state oid=%c homing=%c next_clock=%u pin_value=%c":64,"identify_response offset=%u data=%.*s":0,"is_shutdown static_string_id=%hu":55,"neopixel_result oid=%c success=%c":69,"pong data=%*s":61,"shutdown clock=%u static_string_id=%hu":56,"starting":54,"stats count=%u sum=%u sumsq=%u":57,"stepper_position oid=%c pos=%i":63,"tmcuart_response oid=%c read=%*s":68,"trsync_state oid=%c can_trigger=%c trigger_reason=%c clock=%u":65,"uptime high=%u clock=%u":58},"version":"v0.11.0-122-ge6ef48cd"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment