PKGS = balance blacktip_dpv refloat tnt vbms32 vbms32_micro
PKGS += lib_files lib_interpolation lib_nau7802 lib_pn532
PKGS += lib_ws2812 logui lib_code_server lib_midi lib_disp_ui
PKGS += vdisp lib_tca9535 vbms_harmony32 vbms_harmony16
PKGS += dash35b vl_bike_39p lib_bq27441 boosted_doctor dash16
PKGS += lib_tca9534 UnleashedCreativityLights wheelie_limiter
PKGS += mt6701_config dash_esc vesc_scooter_support lib_esp_led_strip vl_link_status
PKGS += scooter_dashboard_support legacy_dc_dpv
PKGS += dash_vdisp rmcore_io garmr garmr_lua
PKGS += ant_bms ant_bms_lua jk_bms jk_bms_lua ninebot_bms ninebot_bms_lua surron_dash hub_speed bafang_display motor_temp_est s866_display kt_lcd_display
PKGS += escargot_parts hub_ebike_profile surron_lbx_profile eskate_dual_profile ubox_evg_profile
PKGS += throttle_check throttle_check_lua tone_seq tone_seq_lua lib_canmap lib_oi_sdo
PKGS += ha_mqtt ha_mqtt_lua can_bridge slcan_adapter
# A beta, shipped for a rider to test (siigna, 2026-11-26); not yet run on a
# vehicle, so its name says "(beta)" and it is off until turned on.
PKGS += gesture_reverse
# Not here, and not in res_all.qrc: dash_s3, dash_p4, dash_p4_lua (with
# dash_common and dash_common_lua, which they are built from) while
# unfinished; precharge, precharge_lua, segway_x3_dash and
# xiaomi_leqi_dash until they have run on hardware, since they switch
# contactors or drive the motor; lib_canmap_lua and lib_oi_sdo_lua, which
# are Lua sources a script bundles rather than packages. See CHANGELOG.md.
# can_bridge_uart until it has passed the bench. crsf_input until it has
# driven a motor from a receiver: it drives the motor; cppm_input likewise.
# meshtastic and meshtastic_esc until they have run on a board wired to a
# node.
# gesture_reverse_lua: bldc's Lua engine has no EEPROM, foc_beep or page
# reply, so as installed it does nothing (gesture_reverse, above, is in).

TEST_PKGS = blacktip_dpv

all: vesc_pkg_all.rcc

vesc_pkg_all.rcc: $(PKGS)
	rcc -binary res_all.qrc -o vesc_pkg_all.rcc

test: $(TEST_PKGS)

clean: $(PKGS)

$(PKGS):
	$(MAKE) -C $@ $(MAKECMDGOALS)

.PHONY: all clean test $(PKGS)
