Silvano Seva
71c144d426
core: battery: split configurations for battery chemistry and cells number
2025-07-05 14:05:49 +02:00
Silvano Seva
03d1ae5546
Updated year in copyright headers
2025-04-04 21:15:39 +02:00
Silvano Seva
cea48f8d57
Linux: added Module17 hardware info flags to allow compilation of UI emulator
2024-06-23 09:46:13 +02:00
Silvano Seva
dc930f4a4b
Added CONFIG_M17 macro to enable M17 support on each target
2024-02-01 11:07:20 +01:00
Silvano Seva
cc27cc28a4
Using Kconfig-style #defines for battery type description.
2024-02-01 11:07:20 +01:00
Silvano Seva
0f4290cdfe
Using Kconfig-style #defines for display parameters' description.
2024-02-01 11:07:20 +01:00
Silvano Seva
0feb8f9075
Moved GPIO mappings out of hwconfig.h to a dedicated header file
2024-02-01 11:07:20 +01:00
marco
7a31dfba3d
Configured linux target for Module17 emulation similar to a Module17 rev. 0.1e
2024-01-09 12:36:23 +01:00
k5jae
c1a9db22b7
Made Brightness setting optional based on HW capabilities
2023-08-16 20:46:25 +02:00
Silvano Seva
a89a7523cb
Updated year in copyright headers
2023-02-08 16:33:02 +01:00
Silvano Seva
2fc89bf583
Renamed 'HAS_GPS' and 'HAS_RTC' to, respectively, 'GPS_PRESENT' and 'RTC_PRESENT'
2022-07-02 10:28:28 +02:00
Silvano Seva
fda0fed5e7
Moved constant specifying sample rate for M17 baseband decoding from hwconfig.h files to M17Demodulator class
2022-05-27 21:48:47 +02:00
Niccolò Izzo
f9c23452bc
Add plotting function to graphics library
...
Added plotting function to graphics library which is native C++, so
refactored the graphics source file to allow that, consequently adapted
the hwconfig header files to be included also in C++ sources.
Propagated compile flags also to C++ sources, including asan what was
previously disabled for C++ compilation units.
TG-81
2022-05-27 21:48:46 +02:00
Niccolò Izzo
ae26cca46f
Remove SPS
...
Now M17_SAPLES_PER_SYMBOL is computed dinamically from sample rate.
TG-81
2022-05-27 21:48:46 +02:00
Niccolò Izzo
3163dd49d7
Add M17 demodulator code and tests
...
Added implementation of the M17 4FSK demodulator, including clock
recovery, phase detection, and quantization algorithms.
A testsuite is also included to do regression testing against a
reference baseband pre-generated and the corresponding reference
bitstream.
A 1% BER is still present due to a fault likely in the RRC filtering,
since the eye diagram of the filtered stream is bad.
TG-81
2022-05-27 21:48:46 +02:00
Silvano Seva
92ea1535ff
Moved definition of 'PLATFORM_LINUX' macro from hwconfig to meson.build, added '-std=c++14' compilation flag to compile arguments for linux platform, added missing includes to M17Utils.h
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
c653535e68
Remove old band and limits defines, now replaced by hwInfo_t
2021-06-05 11:27:20 +02:00
Federico Amedeo Izzo
93d2ede113
Add default contrast setting define
2021-04-11 09:10:08 +02:00
Federico Amedeo Izzo
c0a972963c
Add GPS flag to Linux target
2021-02-14 17:49:59 +01:00
Federico Amedeo Izzo
450c965ee0
Disable contrast menu on targets without adjustable contrast
2021-01-29 22:57:24 +01:00
Federico Amedeo Izzo
94b7be826a
Disable RTC related code on platforms without a functional RTC
2021-01-01 18:58:35 +01:00
Federico Amedeo Izzo
418fec0ac9
Platform: Fix wrong VHF high limit
2020-12-31 15:06:50 +01:00
Federico Amedeo Izzo
7a9135d746
Platform: Add frequency limit check
2020-12-31 14:51:19 +01:00
Niccolò Izzo
41ec005680
Implement battery voltage to charge conversion
...
Voltage to charge nonlinear function is being linearly approximated in
the operating range.
2020-12-11 14:09:36 +01:00
Niccolò Izzo
1ee4744cb7
Improve battery icon drawing implementation
...
Fix a bug where the signature of the battery draw function was not
present, causing a build error. Now the battery size and position is
screen size independent and should work for all layouts.
2020-12-06 16:22:38 +01:00
Niccolò Izzo
f1400ac528
Add battery icon
2020-12-06 16:19:46 +01:00
Silvano Seva
6c2e3153c7
Added, for each hconfig.h, a define directive to allow to uniquely identify the target platform during compilation
2020-11-03 22:41:34 +01:00
Fred
b434793baf
Add linux implementation of the platform API
2020-11-03 15:15:36 +01:00
Fred
1d0fff3489
Add platform files for linux build
2020-11-03 15:15:36 +01:00