0
0
mirror of https://github.com/ChristopheJacquet/PiFmRds synced 2025-10-06 00:02:53 +02:00

88 Commits

Author SHA1 Message Date
Christophe Jacquet
dca154692c 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 10:08:36 +02: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
a1e08d1298 Add more executables to .gitignore. 2024-02-22 22:05:01 +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
ChristopheJacquet
dd2859ac22 Update README. Fix a few broken links. 2024-02-17 17:40:17 +00:00
ChristopheJacquet
b0f253232b Merge pull request #133 from markondej/master
Add Raspberry Pi 4 support.
2019-09-24 20:07:48 +02: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
3f8ebae11d Merge pull request #114 from OliverParoczai/master
State that the program is compatible with the Raspberry Pi 3+.
2019-08-01 00:15:15 +02:00
ChristopheJacquet
6854d819e0 Merge pull request #117 from Martchus/aarch64
Fix compilation for aarch64
2019-08-01 00:05:26 +02:00
ChristopheJacquet
d4ae81cfe5 Merge branch 'master' into aarch64 2019-08-01 00:04:43 +02:00
Christophe Jacquet
79fb005576 A few updates to README, namely around the executable file missing. 2019-07-31 21:43:32 +00:00
Christophe Jacquet
47f960035a Improve formatting in mailbox.c 2019-07-31 21:25:40 +00:00
ChristopheJacquet
0b2d907b05 Merge pull request #125 from skylarmt/master
Fix compile error on Buster
2019-07-31 23:18:44 +02: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
Olika120
b9b396bca2 New Raspberry Pi is out, and it supports PiFmRds 2018-10-19 20:54:41 +02:00
Christophe Jacquet
e4e246e8d8 Mention Raspberry Pi 3 in the README 2016-11-26 22:34:56 +00:00
Christophe Jacquet
5abd56c042 Improve Makefile 2016-11-26 22:21:59 +00:00
Christophe Jacquet
0fd4c1c030 Add tip to README 2016-02-07 16:05:29 +01: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
001ecb3e09 Fixes 2015-09-04 20:02:05 +02:00
Christophe Jacquet
2d316cf121 Fixes 2015-09-04 20:01:10 +02:00
Christophe Jacquet
c0e9095c87 Clarification: what PiFmRds is not, legal aspects. 2015-09-04 19:59:02 +02: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
ChristopheJacquet
0bf57f9ce0 Merge pull request #10 from Stealthii/float-ppm
Have ppm use float precision
2014-09-21 12:06:28 +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
c67306ea9b More documentation fixes 2014-05-04 18:21:40 +02:00
Christophe Jacquet
0ac16eff52 Documentation fixes 2014-05-04 18:20:49 +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
921d60b0de Fix the README 2014-04-28 19:28:06 +02:00
Christophe Jacquet
bf21074ca4 Fix the README 2014-04-28 19:21:42 +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