meson: Add ft4222_spi
Forgot to update Meson when adding the new FT4222
programmer driver. Fix that.
Change-Id: I967715b31291e5221326d9cc0ce620ab59e775b3
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/241
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/meson.build b/meson.build
index 408b87a..171cd0c 100644
--- a/meson.build
+++ b/meson.build
@@ -242,6 +242,12 @@
'srcs' : files('ft2232_spi.c' ),
'flags' : [ '-DCONFIG_FT2232_SPI=1' ],
},
+ 'ft4222_spi' : {
+ 'deps' : [ libusb1 ],
+ 'groups' : [ group_usb, group_ftdi, group_external ],
+ 'srcs' : files('ft4222_spi.c' ),
+ 'flags' : [ '-DCONFIG_FT4222_SPI=1' ],
+ },
'gfxnvidia' : {
'systems' : systems_hwaccess,
'cpu_families' : [ cpus_raw_mem ],
diff --git a/meson_options.txt b/meson_options.txt
index 2143705..53dd9b5 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -9,7 +9,8 @@
'group_internal', 'group_external',
'group_ftdi', 'group_i2c', 'group_jlink', 'group_pci', 'group_serial', 'group_usb',
'atahpt', 'atapromise', 'atavia', 'buspirate_spi', 'ch341a_spi', 'ch347_spi', 'dediprog', 'developerbox_spi',
- 'digilent_spi', 'dirtyjtag_spi', 'drkaiser', 'dummy', 'ft2232_spi', 'gfxnvidia', 'internal', 'it8212',
+ 'digilent_spi', 'dirtyjtag_spi', 'drkaiser', 'dummy', 'ft2232_spi', 'ft4222_spi',
+ 'gfxnvidia', 'internal', 'it8212',
'jlink_spi', 'linux_gpio_spi', 'linux_mtd', 'linux_spi', 'mediatek_i2c_spi', 'mstarddc_spi', 'nic3com',
'nicintel', 'nicintel_eeprom', 'nicintel_spi', 'nicnatsemi', 'nicrealtek', 'ogp_spi', 'parade_lspcon',
'pickit2_spi', 'pony_spi', 'raiden_debug_spi', 'rayer_spi', 'realtek_mst_i2c_spi', 'satamv',