mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-17 23:55:04 +00:00
- Added generic GPS/GNSS support with device detection, configuration, and persistent settings. - Improved device and module lifecycle management. - Added flexible filesystem locking support for displays and storage. - Improved display-idle and keyboard backlight handling. - Updated architecture, driver, module, testing, and licensing documentation. - Removed old HAL device and related code.
25 lines
480 B
C
25 lines
480 B
C
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <gps/gps.h>
|
|
#include <tactility/device.h>
|
|
|
|
/**
|
|
* @brief Devicetree configuration for a generic UART-connected GPS/GNSS receiver.
|
|
*/
|
|
struct GpsConfig {
|
|
uint32_t baud_rate;
|
|
/** GPS_MODEL_UNKNOWN triggers an autoprobe on start(); the detected model is then available via get_model(). */
|
|
enum GpsModel model;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|