mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
fcbe9c41de39fa77316f6254e15b9800f2b62e67
Usually, ubxtool, a python-based tool to drive u-blox devices, connects to a gpsd instance and delegates to it the responsibility to write to and read from the actual device. This is sane, because a serial device can only be opened once, and if gpsd is running, it has that device open. However, in some cases, ubxtool can be used to directly talk to the device, to pre-configure it before gpsd runs, or even in the absence of gpsd altogether. This is not used very often, except when setting up an RTK base, where gpsd is not needed. In that case, ubxtool will directly talk to the serial device. It uses the pyserial python module. Since this is not the traditional way to talk to the device, failure to import the module is ignored, and the error reporting is deferred until it is actually needed, which is why we did not catch the issue earlier. See [1] and [2]. Fixes:f3ef0723cf(package/gpsd: enable python support and modules) [1] https://gitlab.com/gpsd/gpsd/-/blob/release-3.25/clients/ubxtool.py.in#L47 [2] https://gitlab.com/gpsd/gpsd/-/blob/release-3.25/gps/gps.py.in#L36 Signed-off-by: Yann E. MORIN <yann.morin@orange.com> Cc: Bernd Kuhls <bernd@kuhls.net> [Julien: add link to described code portion] Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit5d2f3737a1) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
…
…
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.5%
Python
19%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.1%