Commit graph

23 commits

Author SHA1 Message Date
Martin Braun
876d4150aa uhd: Apply clang-format against all .cpp and .hpp files in host/
Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of
files that clang-format gets applied against.
2020-03-03 08:51:32 -06:00
Martin Braun
3c977dcecc dboard_eeprom: Remove trace logs for EEPROM readout 2019-08-25 18:58:57 -07:00
Martin Braun
4f706e9631 dboard eeprom: Demote byte sum message to TRACE 2018-03-30 14:22:33 -07:00
Martin Braun
ae5211d71d uhd: Update license headers
All copyright is now attributed to "Ettus Research, a National
Instruments company".

SPDX headers were also updated to latest version 3.0.
2018-02-19 16:54:52 -08:00
Martin Braun
4f948e2c8b Move all license headers to SPDX format. 2017-12-22 10:45:51 -08:00
Martin Braun
47cdd6319c uhd: Replaced many lexical_cast with appropriate C++11 equivalents 2017-06-29 13:40:07 -07:00
Andrej Rode
21aad77c9c utils: introduce new logging API and remove msg API 2017-02-20 17:13:15 -08:00
Andrej Rode
26cc20847c uhd: replace BOOST_FOREACH with C++11 range-based for loop
Note: This is the first commit that uses for-range, and range-based
for-loops are now usable for UHD development.
2017-02-10 16:44:33 -08:00
Martin Braun
99c2730bc9 Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types)
- Also removes all references to boost/cstdint.hpp and replaces it with
  stdint.h (The 'correct' replacement would be <cstdint>, but not all of our
  compilers support that).
2016-11-08 08:02:22 -08:00
Nicholas Corgan
988c597026 Consolidated byte_vector common code into single file 2015-03-27 14:44:26 -07:00
Josh Blum
da8a6ff1ee usrp: added revision field to the dboard id class 2011-10-10 17:18:14 -07:00
Josh Blum
5aab802b60 usrp: populate a tree from a subdev 2011-06-27 20:26:52 -07:00
Josh Blum
c8dca30d72 uhd: replaced many conditional prints with UHD_LOG usage 2011-05-04 15:27:11 -07:00
Josh Blum
16f08844d7 uhd: renamed the assert header to assert has
only the assert has implementation is in this header

uhd assert throw moved to the exception header

updated code base includes to match
2011-02-24 14:54:24 -08:00
Josh Blum
4066b1f8fd uhd: added a bunch of custom exceptions, not used yet 2011-02-24 14:07:11 -08:00
Josh Blum
de35e125bc uhd: simplify dboard eeprom code by passing iface into load/store 2011-02-22 10:57:53 -08:00
Josh Blum
814a5c40c6 uhd: added 9 byte serial to dboard eeprom class 2011-02-22 10:19:09 -08:00
Josh Blum
4d5df2376b Expanded the dboard id API to create dboard id types from strings and ints.
And created utility functions to go between representations.
Created to_pp_string for pretty print strings for dboard ids and device addrs.
Minor changes to the various classes that call these utilities.
2010-05-03 01:20:11 -07:00
Josh Blum
1ba93e70a6 fixed windows warnings 2010-04-26 21:25:00 -07:00
Josh Blum
90ed2e3a80 prefixed the ASSERT_THROW macro with UHD for the sake of namespace 2010-04-26 14:42:32 -07:00
Josh Blum
1217b8d67c Got eeprom read/write dboard ids working.
Moved named prop implementation into cpp,
and made named prop a struct (tuples are trouble).
2010-04-26 12:16:37 -07:00
Josh Blum
300ddf7807 set dboard eeprom from dboard properties 2010-04-24 10:46:12 -07:00
Josh Blum
039eceb4b2 Moved reading the eeprom (dboard ids) onto the host.
Created a eeprom parser for the format in the dboard.
Removed the support from the microblaze code.
2010-04-23 19:21:47 -07:00