Hurrison
68e1838dfe
Merge 4a5b769c93 into 777f8e5264
2026-02-07 09:31:08 +05:30
Christophe Jacquet
c8b775423a
Add support for Raspberry Pi Zero and Zero 2.
2026-02-01 10:47:00 +00:00
Christophe Jacquet
277821c146
Switch generate_waveforms.py to Python 3, verify it works with Pydemod's latest commit. As a result, more decimal places in waveforms.c.
2025-08-31 14:00:00 +01:00
Hurrison
4a5b769c93
fix: The error message incorrectly references argv[1] (input file) instead of argv[2] (output file)
...
The error message incorrectly references argv[1] (input file) instead of argv[2] (output file)
2024-04-28 14:19:02 +08:00
ChristopheJacquet
dc5d94be02
Fix pointer cast to 32-bit, which is incorrect in 64-bit.
...
This caused compile warnings, and potentially buggy behavior (although on my RPi 3 / Raspbian 12 it ran fine).
2024-03-02 13:44:11 +00:00
Fabrice Fontaine
8e73879e46
Makefile: use LDFLAGS when linking ( #194 )
...
[Retrieved (and slightly updated) from:
https://git.buildroot.net/buildroot/tree/package/pifmrds/0002-Makefile-use-LDFLAGS.patch ]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-25 10:49:52 +01:00
Fabrice Fontaine
5bb90a931f
Makefile: Fix static linking ( #152 )
...
Since libsndfile uses funtions from libm, the -lm should be specified
after libsndfile for static linking.
[Retrieved (and slightly updated) from:
https://git.buildroot.net/buildroot/tree/package/pifmrds/0003-Makefile-fix-static-link.patch ]
Signed-off-by: "Eric Limpens" <Limpens@gmail.com>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Co-authored-by: Christophe Jacquet <ChristopheJacquet@users.noreply.github.com>
2024-02-24 22:47:22 +01:00
ChristopheJacquet
495757ffce
Open control pipe in blocking mode.
...
Up to now, Pi-FM-RDS was opening the FIFO in non-blocking mode, but with the latest Raspbian, the behavior was: the FIFO had to be opened by the writer before Pi-FM-RDS was started, and not closed after, as pointed out by wmcgrathled. I'm not sure if it was always like this, or if the semantics of opening a FIFO in non-blocking mode changed.
Anyway, it's probably less confusing to open the FIFO in blocking mode, so at Pi-FM-RDS startup, the user is prompted to start the writer process if they haven't done so yet. This commit is changing this.
Fixes #154
2024-02-24 18:12:02 +00:00
ChristopheJacquet
e65776a591
Add licence block to rds_strings_test.
2024-02-22 22:04:25 +00:00
ChristopheJacquet
02b9e3afbb
Support non-ASCII characters.
...
Characters are decoded according to the system's locale.
Thanks to andimik for reporting the feature request.
fixes #187
2024-02-21 22:36:13 +00:00
Marcin Kondej
5ef1dbe32e
Typo fix
...
Co-Authored-By: ChristopheJacquet <ChristopheJacquet@users.noreply.github.com>
2019-09-23 14:14:35 +02:00
Marcin Kondej
d0de6f5b9a
Makefile update for aarch64
2019-09-19 22:33:50 +02:00
Marcin Kondej
0495997622
Raspberry Pi 4 support added
2019-09-12 17:18:07 +02:00
ChristopheJacquet
d4ae81cfe5
Merge branch 'master' into aarch64
2019-08-01 00:04:43 +02:00
Christophe Jacquet
47f960035a
Improve formatting in mailbox.c
2019-07-31 21:25:40 +00:00
Skylar Ittner
612434500b
Fix compile error
...
Fixes `mailbox.c:260: undefined reference to `makedev'` on Raspbian Buster
2019-03-12 22:41:48 -06:00
Martchus
6586b4fa75
Prevent "undefined reference to `makedev'"
2018-12-11 18:31:37 +00:00
Martchus
f4648419ea
Add compile flags for aarch64
2018-12-11 18:31:12 +00:00
Christophe Jacquet
5abd56c042
Improve Makefile
2016-11-26 22:21:59 +00:00
Christophe Jacquet
c0d45323e4
Make the program more resilient to different configurations wrt the mailbox device
2015-09-06 20:02:31 +00:00
Christophe Jacquet
293b8f2000
Frequency range compatible with the Japanese band
2015-09-05 18:45:31 +00:00
Christophe Jacquet
6d8fe70793
Kill the carrier upon exit
2015-09-05 18:38:52 +00:00
Christophe Jacquet
589e825b33
Add fully functional support for the Raspberry Pi 2
2015-09-05 15:39:37 +00:00
Christophe Jacquet
b3de5ab29d
Now compiles on the Raspberry Pi 2, although it does not work
2015-08-31 20:34:25 +00:00
Christophe Jacquet
f8613175ae
Support for toggling the Traffic Announcement (TA) flag at run-time
2014-11-01 12:00:48 +01:00
Christophe Jacquet
aa4d85450d
Cleanly stop the DMA engine even when no file is found. Following the bug report by Github user CRC-Mismatch
2014-10-19 19:41:21 +02:00
Daniel Porter
16c9f1aed8
Have ppm use float precision
2014-08-04 01:21:31 +01:00
Christophe Jacquet
a985b7db02
Remove unnecessary debug display
2014-06-22 22:35:27 +02:00
Eric Limpens
46d81c12fe
Include string.h (not strings.h) to avoid warning about implicit declaration of strcmp
2014-06-22 21:16:11 +02:00
Christophe Jacquet
c73e0a2079
Now generates clock time (CT) information once per minute
2014-06-22 18:58:52 +02:00
Christophe Jacquet
9a819e5001
Safely exits when it is impossible to seek back in the audio file
2014-06-22 18:00:38 +02:00
Christophe Jacquet
20a56c47b0
Add the ability to receive commands on a named pipe
2014-05-04 12:41:28 +02:00
Christophe Jacquet
4fdd59327b
Platform-aware Makefile
2014-04-28 19:38:53 +02:00
Christophe Jacquet
9a6ac7c310
Add support for piping audio data to Pi-FM-RDS' standard input
2014-04-28 19:17:10 +02:00
Christophe Jacquet
d199a74b2a
Add compilation options to use the Pi's FPU and vector unit. This lessens CPU usage greatly
2014-04-19 23:25:13 +02:00
Christophe Jacquet
b6ba9fb12a
Better stereo sample file
2014-04-14 18:28:28 +02:00
Christophe Jacquet
7efee690b3
Fix 19kHz stereo pilot level
2014-04-14 18:27:02 +02:00
Christophe Jacquet
93fc47c555
pi_fm_rds.c now uses fm_mpx.c, but stereo not yet functional
2014-04-14 18:11:36 +02:00
Christophe Jacquet
dad13529a3
Better handling of command line in rds_wav.c
2014-04-14 17:32:04 +02:00
Christophe Jacquet
e758ee63a0
Functional rds_wav that generates stereo multiplex signals
2014-04-14 17:26:56 +02:00
Christophe Jacquet
e1defb48e6
Started working on generating a complete FM multiplex
2014-04-14 01:03:32 +02:00
Christophe Jacquet
7897110a82
Documentation++
2014-04-06 21:39:33 +02:00
Christophe Jacquet
e474651aee
Work on README
2014-04-06 20:04:31 +02:00
Christophe Jacquet
a9a15c9a81
Parse command line arguments
2014-04-06 18:44:25 +02:00
Christophe Jacquet
202af335d2
Merge branch 'master' of github.com:ChristopheJacquet/PiFmRds
2014-04-06 17:39:03 +02:00
Christophe Jacquet
36c588d9d9
Fixes: functional code
2014-04-06 17:38:47 +02:00
Christophe Jacquet
a2f902b69a
Remove unused plot
2014-04-06 17:38:00 +02:00
Christophe Jacquet
8f35b00bce
Add sound sample
2014-04-06 17:23:27 +02:00
Christophe Jacquet
f4ffbf6c7c
Pulse and generator
2014-04-06 16:39:41 +02:00
Christophe Jacquet
93aed2e712
Functional version, with adapted levels
2014-04-06 16:18:15 +02:00