mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-16 21:10:10 +00:00
OpenBSD has explicitly declined[1] to support 'wordexp' on their platform,
which just leaves glob(3) for expanding strings according to shell-like rules.
The API is similar, but -- notably -- does not support environment variable
expansion (for instance, the string "/home/${USER_NAME}/" will be left
unchanged, whereas wordexp(3) would expand it).
However, OpenBSD supports the well understood but non-POSIX extension to glob,
'GLOB_TILDE', which will allow for user directory expansion, such as
'~user/.ssh/authorized_keys' or '~/bin/*.sh'.
This is a fairly large difference between OpenBSD and other supported
platforms, but one that will at least enable libuhd to be built, but users
may need to be careful with filepaths, since they'll behave slightly
differently on OpenBSD than Windows, Linux or OSX.
```
sugartoad# uhd_find_devices
[INFO] [UHD] OpenBSD 1; Clang version 13.0.0 ; Boost_108000; UHD_4.4.0.0-68-g02558b69
[INFO] [B200] Loading firmware image: /usr/local/share/uhd/images/usrp_b200_fw.hex...
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
serial: XXXXXXX
name: MyB210
product: B210
type: b200
```
[1]: https://www.mail-archive.com/tech@openbsd.org/msg02325.html
|
||
|---|---|---|
| .. | ||
| cal | ||
| convert | ||
| deps | ||
| experts | ||
| extension | ||
| features | ||
| ic_reg_maps | ||
| include | ||
| rc | ||
| rfnoc | ||
| transport | ||
| types | ||
| usrp | ||
| usrp_clock | ||
| utils | ||
| build_info.cpp | ||
| CMakeLists.txt | ||
| device.cpp | ||
| device_python.cpp | ||
| device_python.hpp | ||
| error_c.cpp | ||
| exception.cpp | ||
| image_loader.cpp | ||
| property_tree.cpp | ||
| property_tree_python.cpp | ||
| property_tree_python.hpp | ||
| stream.cpp | ||
| stream_python.hpp | ||
| uhd.rc.in | ||
| version.cpp | ||
| version_c.cpp | ||