Commit Graph

94 Commits

Author SHA1 Message Date
Michał Leśniewski 0b611a529c
Merge 37bd0aa36a into 777f8e5264 2026-02-20 00:43:08 -08:00
Christophe Jacquet 777f8e5264 Merge remote-tracking branch 'refs/remotes/origin/master' 2026-02-01 10:52:33 +00:00
Christophe Jacquet c8b775423a Add support for Raspberry Pi Zero and Zero 2. 2026-02-01 10:47:00 +00:00
Christophe Jacquet cd6d744a94 Fixes to README. Mention using different float-abi values on different distributions. 2025-11-30 18:02:18 +01:00
Christophe Jacquet d068c4572c Update README with latest Raspberry Pi OS instructions. 2025-11-30 16:28:48 +01: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
Michał Leśniewski 37bd0aa36a Allow setting the TA from command line
This commit introduces the -ta command line option to pi_fm_rds, which
specifies whether traffic announcement (TA) mode is enabled on startup
or not.
2025-03-25 16:44:00 +01: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