2020-02-18 09:32:47 +01:00
|
|
|
config BR2_PACKAGE_OPENFPGALOADER
|
|
|
|
bool "openfpgaloader"
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi1
|
2020-12-13 16:56:36 +01:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi1 -> libusb
|
2020-08-23 21:51:27 +02:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2020-02-18 09:32:47 +01:00
|
|
|
select BR2_PACKAGE_LIBFTDI1
|
2021-12-04 06:59:43 +01:00
|
|
|
select BR2_PACKAGE_ZLIB
|
2020-02-18 09:32:47 +01:00
|
|
|
help
|
|
|
|
Universal utility for programming FPGA
|
|
|
|
|
|
|
|
https://github.com/trabucayre/openFPGALoader/
|
|
|
|
|
2021-12-09 15:14:10 +01:00
|
|
|
if BR2_PACKAGE_OPENFPGALOADER
|
|
|
|
|
|
|
|
config BR2_PACAKGE_OPENFPGALOADER_CMSIS
|
|
|
|
bool "CMSIS-DAP support"
|
|
|
|
depends on BR2_PACKAGE_HAS_UDEV # hidapi
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi
|
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hidapi -> libusb
|
|
|
|
select BR2_PACKAGE_HIDAPI
|
|
|
|
help
|
|
|
|
openfpgaloader CMSIS-DAP support
|
|
|
|
|
|
|
|
comment "openfpgaloader CMSIS-DAP needs udev /dev management and a toolchain w/ NPTL threads"
|
|
|
|
depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2020-12-13 16:56:36 +01:00
|
|
|
comment "openfpgaloader needs a toolchain w/ threads, C++, gcc >= 4.9"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
|
|
!BR2_INSTALL_LIBSTDCPP || \
|
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|