Wykres commitów

406 Commity (main)

Autor SHA1 Wiadomość Data
David Michaeli f98c85d732 bugfix instanciation of cpp api 2024-01-31 15:34:39 +02:00
David Michaeli 8ca8b6ac9f added synchronous api for reading and writing in cpp api
changed internal complexint to std::complex<short>
2024-01-29 22:08:04 +02:00
David Michaeli 43c505db2d sighandler explicit function 2024-01-29 16:24:13 +02:00
David Michaeli 5ca7c52d81 signal caught segfault fix 2024-01-29 15:50:45 +02:00
David Michaeli 35e832e25d io ctrl button polarity change 2024-01-29 11:25:26 +02:00
David Michaeli 0ed53aa3ff IO control from API c and CPP
Flush control on I/Q streams
2024-01-29 10:50:06 +02:00
unixpunk 524808c1b4
Fix issues adding Ubuntu users to dialout, root groups
the echo in the first half of 'if' had back-ticks causing execution instead of just text, but the whole statement isn't needed because re-adding the user to the group is a no-op, anyway.  space within the usermod command was causing it to fail also.
2024-01-22 12:17:33 -06:00
David Michaeli 4d993d25ef Added of flushing to rx buffer.
bug fix in cpp api
2024-01-21 14:09:51 +02:00
David Michaeli b16d470fe4 Merge branch 'main' of https://github.com/cariboulabs/cariboulite 2024-01-11 00:19:41 +02:00
David Michaeli acaed4836f driver changes - channel switching, sema timeout reduction, api frequency ranges bugfix for hif 2024-01-11 00:18:30 +02:00
David Michaeli aea80428aa
Merge pull request #162 from Paulo-D2000/main
[EXPERIMENTAL] CW TX working with SoapySDR API / Fixed Wrong streamWrite function…
2024-01-10 16:15:55 +02:00
Paulo-D2000 2d78b27ff7 CW TX working with SoapySDR API / Fixed Wrong streamWrite function overload 2023-12-08 12:15:20 -03:00
David Michaeli b1ca9bf3ca
Merge pull request #147 from sergeyvfx/driver
Fix detection of linux headers on Raspberry Pi OS
2023-12-05 15:22:38 +02:00
David Michaeli 9e13cf7999
Merge pull request #146 from sergeyvfx/fix_shared_ptr
Fix compilation error with undefined shared_ptr
2023-12-05 15:22:14 +02:00
David Michaeli b5f8400456
Merge pull request #158 from 3B85A591/main
Fix driver's install.sh + warn not in use
2023-12-05 15:20:43 +02:00
3B85A591 403d8eb717
NC 2023-12-04 12:28:06 -08:00
3B85A591 89a04f0bae
Add warning if it isn't installing to the currently used kernel 2023-12-04 12:09:26 -08:00
3B85A591 3c3800e5eb
Update install.sh 2023-12-04 11:56:52 -08:00
3B85A591 912ac9a7ea
Fix install sh 2023-12-04 11:55:34 -08:00
David Michaeli 6e4ceac60b Update installation.md 2023-11-27 02:26:49 +02:00
David Michaeli c200516a52 Update installation.md 2023-11-27 02:21:19 +02:00
David Michaeli 87753c8eaf Update installation.md 2023-11-27 02:20:11 +02:00
David Michaeli 3e0c7b7c75 Update installation.md 2023-11-27 02:18:17 +02:00
David Michaeli 745ad28703 update the full workaround install process
Install process in: ./installation.md
2023-11-27 02:06:33 +02:00
David Michaeli b07ff0338c New RPI distro bookworm kernel install issues solving
reverted to 6.1.21-v8+
added ldconfig to install script
2023-11-27 00:45:25 +02:00
Sergey Sharybin 168cc11ba2 Fix detection of linux headers on Raspberry Pi OS
On the Raspberry Pi OS the Linux headers are split into multiple packages and
directories under /usr/src: the configuration and actual header files are in
different packages. Presumably, this is done this way to allow re-using the
header files of the same kernel by all Raspberry Pi kernel flavors.

This made the logic before this change to not consider valid linux headers
directory be so: /usr/src/linux-headers-${KERNEL_RELEASE} does not contain
include/linux/user.h.

Tweak the code so that it additionally considers directories which contains
include/generated/autoconf.h to be kernel headers directory. This file is
checked by the linux header's directory Makefile and it is not found the kernel
configuration is considered invalid. This path sees to be hardcoded, so it
should be the same on all platforms.
2023-10-21 14:27:22 +02:00
Sergey Sharybin a6a8a005a2 Fix compilation error with undefined shared_ptr
`std::shared_ptr` requires `<memory>` header. Without it being
included explicitly some compilers might fail to compile (while
others might have been using the header indirectly).

Fixes compilation error with GCC 12 on Raspberry Pi OS.
2023-10-21 12:37:35 +02:00
David Michaeli 72946535f8 no change 2023-10-01 23:20:24 +00:00
David Michaeli 15fa286dc6 smi read arbitrary size vector read 2023-10-01 23:19:11 +00:00
David Michaeli e33f2f2cd7 added rx handlers to cpp api
cpp_api example
2023-10-01 22:55:52 +00:00
David Michaeli de00f43614 added c++ native api wrapping the c api 2023-10-01 18:39:04 +00:00
David Michaeli 4228a07223 added float control on bandwidth and sample rate in the API
fixed enums of bandwidth
2023-09-28 15:11:01 +00:00
David Michaeli 6016e3c1e2 added hat detection api 2023-09-28 11:16:11 +00:00
David Michaeli 70ba2bdf69 1. added channel definitions to main API
2. minor channel naming changes (enums)
3. frequency limits definitions in main API
2023-09-28 10:22:05 +00:00
David Michaeli 9b008ac591 exmaple 2023-09-27 13:22:49 +00:00
David Michaeli b2d43a17ef library pkg-config for c library installation and usage example
ustimer removed from library
bugfixes
2023-09-27 13:13:01 +00:00
David Michaeli ebbf12e363 radio & setup changes to separate internal and exported functions
added h/c files for external general api
added pkg-config
2023-09-26 22:57:26 +00:00
David Michaeli a698dcf02a Kernel Driver: module timeout issue when switching streaming channels. caused due to waiting to a timeout on the previous channel. That
stream stopped thus the buffer never filled up. solved by aboting the waiting semaphore on channel switch
SMI: fixed low sample rate timeouts and a function for timeout calculation on read
Radio: FPGA soft reset on start caused faulty operation. needs investigation.
Radio: removed redundant sleeps
Various bug fixes.
2023-09-26 17:29:23 +00:00
David Michaeli 774f1862d1
Merge pull request #136 from sjkelly/sjk/install1
Some install improvements for ubuntu
2023-09-26 00:59:45 +03:00
Steve Kelly c7ff261015 remove `cat | grep` idiom, rather grep directly on the file 2023-09-01 16:40:34 +00:00
Steve Kelly 384e6151d2 improve `apt install` on ubuntu
The raspi header packages are named differently on ubuntu than raspian,
leading to failure to install cmake, et. al.
which leads to confusing errors later in the build.
2023-09-01 16:38:55 +00:00
David Michaeli 000ecd7aaa
Merge pull request #128 from sergeyvfx/soapy_fix
Fix swapped S1G and HiF channels in SoapySDR API
2023-07-18 07:44:20 +03:00
David Michaeli 7430f7527c trying to eliminate timeouts in fast channel transitions 2023-07-09 13:13:04 +00:00
David Michaeli 395c484a62 sphoradic fpga programming issue 2023-07-09 11:33:37 +00:00
Sergey Sharybin 57079b923a Fix swapped S1G and HiF channels in SoapySDR API 2023-07-08 18:19:14 +02:00
David Michaeli 5840d627ce less verbosity
fixed soapysdr radio reference issue
2023-07-06 07:18:44 +00:00
David Michaeli 0105e1baf0 freq conv octave 2023-07-04 20:35:59 +03:00
David Michaeli 495234d3cf freq conversion change for low frequencies - high side instead of lo side 2023-07-04 17:33:33 +00:00
David Michaeli 2c8da45e51 mixer bug fix
added synthesizer lo output from mixer
2023-07-04 16:24:07 +00:00
David Michaeli c684e7c439 update and adapted firmware for tx 2023-07-03 12:20:50 +00:00