-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
43 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
12 changes: 5 additions & 7 deletions
12
src/boards/LimeSDR_Nano/LimeSDR_Nano.cpp → src/boards/external/AmberSDR/AmberSDR.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#ifndef LIME_EXTERNAL_AMBERSDR_H | ||
#define LIME_EXTERNAL_AMBERSDR_H | ||
|
||
#include "boards/LimeSDR_XTRX/LimeSDR_XTRX.h" | ||
|
||
namespace lime { | ||
|
||
static const float AMBERSDR_DEFAULT_REFERENCE_CLOCK = 26e6; | ||
|
||
// Non LimeSDR board, but with compatible gateware similar to XTRX | ||
|
||
class AmberSDR : public LimeSDR_XTRX | ||
{ | ||
public: | ||
AmberSDR() = delete; | ||
AmberSDR(std::shared_ptr<IComms> spiLMS7002M, | ||
std::shared_ptr<IComms> spiFPGA, | ||
std::shared_ptr<LitePCIe> sampleStream, | ||
std::shared_ptr<ISerialPort> control, | ||
double refClk = AMBERSDR_DEFAULT_REFERENCE_CLOCK); | ||
virtual ~AmberSDR(); | ||
}; | ||
|
||
} // namespace lime | ||
|
||
#endif // LIME_EXTERNAL_AMBERSDR_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
set(AMBERSDR_SOURCES | ||
${CMAKE_CURRENT_LIST_DIR}/AmberSDR.cpp | ||
) | ||
|
||
target_sources(${MAIN_LIBRARY_NAME} PRIVATE ${AMBERSDR_SOURCES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters