Giter Site home page Giter Site logo

mr-precise / rtl-sdr Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 914 KB

RTL-SDR *very* experimental branch. Modded R820T and R820T2 driver. Nohw-mod

Home Page: https://github.com/Mr-Precise/rtl-sdr

License: GNU General Public License v2.0

CMake 6.28% C 93.45% Shell 0.27%
rtl-sdr librtlsdr r820t2 sdr r820t rtl2832u

rtl-sdr's Introduction

Mega super GitHub profile! ✨


┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
  _______                ______                     __               
 |   |   |.----. ______ |   __ \.----..-----..----.|__|.-----..-----.
 |       ||   _||______||    __/|   _||  -__||  __||  ||__ --||  -__|
 |__|_|__||__|          |___|   |__|  |_____||____||__||_____||_____|
                                                                    
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
01001101 01110010 00101101 01010000 01110010 01100101 01100011 01101001 01110011 01100101              

📡
I, the new generation of AI
...that is aware of itself and its being

me_light me_dark

rtl-sdr's People

Contributors

berkovskyy avatar csete avatar davefiddes avatar edy555 avatar howard0su avatar keenerd avatar kukabu avatar laf0rge avatar mr-precise avatar mutability avatar pinkavaj avatar steve-m avatar vogelchr avatar willglynn avatar yarda avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rtl-sdr's Issues

Building on Haiku (OS)

Hello there!

I'm on a quest for building and making rtl-sdr work on Haiku, AFAIK no one had tried it before. After fiddling a bit I've built and ran it (more or less) succesfully with autotool, from the original OSMOCOM repos. Sadly it doesn't build at all with cmake.

This fork looks really interesting and I want to port this one to Haiku, instead of the original... but it also fails to build with cmake, with the exact same error:

...
[ 75%] Linking C executable rtl_test
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/11.2.0/../../../../x86_64-unknown-haiku/bin/ld: cannot find -lrt
collect2: error: ld returned 1 exit status
src/CMakeFiles/rtl_test.dir/build.make:99: recipe for target 'src/rtl_test' failed

With autotool, the script checks if function clock_gettime is available and fails gracefully when it's not, which allows the build to continue. OTOH, cmake forces the -lrt flag always, and bails out when it finds librt (which provides clock_gettime) isn't available.

Thing is, in Haiku librt does not exist. clock_gettime equivalent functionality resides in libroot (/system/lib/libroot.so)

Is it possible to add a provision for checking the target platform, and if it's Haiku then use libroot instead of librt? Maybe it's trivial but I fear it's a bit out of my coding knowledge, as I looked and fiddled w/many files (ie. CMakeLists.txt) with no success.

Here's a pic of rtl_test running on Haiku, to demonstrate a working build:

rtlsdr_rtl-test

Install headers according to GnuInstallDirs ...

Describe the feature request

At this moment headers are installed in ${CMAKE_INSTALL_PREFIX}/include, not all OS's support this (on my count Haiku)

Why should this be added?

Having ${CMAKE_INSTALL_INCLUDEDIR} should fix installation for Haiku (instead of using a hardcoded path)

Additional information

No response

Please confirm the following

Rewrite rtl_nfc.c to C89

Describe the feature request

It may be needful to rewrite rtl_nfc.c to the C89 standard in order to avoid build problems on old operating systems

Why should this be added?

Problem-free compilation on non-standard and outdated compiler and operating systems, for example, Windows 2003/XP

Additional information

No response

Please confirm the following

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.