You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to fix a couple of things in Cariboulite.cpp and CaribouliteStream.hpp to get the project to build on bullseye:
diff --git a/software/libcariboulite/src/caribou_smi/kernel/smi_stream_dev_gen.h b/software/libcariboulite/src/caribou_smi/kernel/smi_stream_dev_gen.h
index 799a525..638510c 100644
--- a/software/libcariboulite/src/caribou_smi/kernel/smi_stream_dev_gen.h
+++ b/software/libcariboulite/src/caribou_smi/kernel/smi_stream_dev_gen.h
@@ -17,22 +17,22 @@ extern "C" {
/*
Time tagging of the module through the 'struct tm' structure
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I had to fix a couple of things in Cariboulite.cpp and CaribouliteStream.hpp to get the project to build on bullseye:
diff --git a/software/libcariboulite/src/caribou_smi/kernel/smi_stream_dev_gen.h b/software/libcariboulite/src/caribou_smi/kernel/smi_stream_dev_gen.h
index 799a525..638510c 100644
--- a/software/libcariboulite/src/caribou_smi/kernel/smi_stream_dev_gen.h
+++ b/software/libcariboulite/src/caribou_smi/kernel/smi_stream_dev_gen.h
@@ -17,22 +17,22 @@ extern "C" {
/*
struct tm smi_stream_dev_date_time = {
.tm_year = 124, / +1900 */
};
/*
uint8_t smi_stream_dev[] = {
0x7F, 0x45, 0x4C, 0x46, 0x02, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
diff --git a/software/libcariboulite/src/iir b/software/libcariboulite/src/iir
--- a/software/libcariboulite/src/iir
+++ b/software/libcariboulite/src/iir
@@ -1 +1 @@
-Subproject commit fc8634d15b470a00ba4859915fec0047bb486dd4
+Subproject commit fc8634d15b470a00ba4859915fec0047bb486dd4-dirty
diff --git a/software/libcariboulite/src/soapy_api/Cariboulite.cpp b/software/libcariboulite/src/soapy_api/Cariboulite.cpp
index bee19e0..be0e4b0 100644
--- a/software/libcariboulite/src/soapy_api/Cariboulite.cpp
+++ b/software/libcariboulite/src/soapy_api/Cariboulite.cpp
@@ -246,7 +246,7 @@ void Cariboulite::setSampleRate( const int direction, const size_t channel, cons
if (std::fabs(rate - (666000.0)) < 1)
{
fs = cariboulite_radio_rx_sample_rate_666khz;
if (std::fabs(rate - (2000000.0/3)) < 1) fs = cariboulite_radio_rx_sample_rate_666khz;
if (std::fabs(rate - (800000.0)) < 1) fs = cariboulite_radio_rx_sample_rate_800khz;
@@ -254,7 +254,7 @@ void Cariboulite::setSampleRate( const int direction, const size_t channel, cons
if (std::fabs(rate - (1333000.0)) < 1) fs = cariboulite_radio_rx_sample_rate_1333khz;
{
fs = cariboulite_radio_rx_sample_rate_1333khz;
if (std::fabs(rate - (4000000.0/3)) < 1) fs = cariboulite_radio_rx_sample_rate_1333khz;
if (std::fabs(rate - (2000000.0)) < 1) fs = cariboulite_radio_rx_sample_rate_2000khz;
diff --git a/software/libcariboulite/src/soapy_api/CaribouliteStream.hpp b/software/libcariboulite/src/soapy_api/CaribouliteStream.hpp
index 42abe51..d61ec88 100644
--- a/software/libcariboulite/src/soapy_api/CaribouliteStream.hpp
+++ b/software/libcariboulite/src/soapy_api/CaribouliteStream.hpp
@@ -103,7 +103,7 @@ public:
cariboulite_channel_dir_en getInnerStreamType(void);
void setInnerStreamType(cariboulite_channel_dir_en dir);
void setDigitalFilter(DigitalFilterType type);
Beta Was this translation helpful? Give feedback.
All reactions