Commit Graph

106 Commits

Author SHA1 Message Date
sommermorgentraum
8e945024c5
touchscreen threshold (sensitivity) auto detect (#2306)
* gui

* worked but slow

* not do the auto detect

* worked

* remove debug thing

* format

* remove uneeded thing

* fix hackrf submodule bump

* clean up

* format

* format

* format

* remve batt

* add hint text and eta

* code clean up by @HTotoo

* work around to resolve not clear enough

* correct comments
2024-10-17 00:39:59 +08:00
Totoo
83b65ba6ce
I2C device manager (#2282)
* message on dev list change

* dc detect

* added sht3x sensor.

* separete environment data from light

* max17055 moved to i2c dev

* sht fix, goterror detection fix

* fix ext sensor app display for a lot of devices.

* added bh1750 driver

* autoscan on main view

* added devlist mutex

* better timing

* fix h2 sw8 on poweron by usb
2024-10-06 22:14:27 +02:00
Totoo
87069f11e5
invert display option (#2232)
* invert display option

* text fix, format code
2024-09-07 10:58:57 +02:00
Totoo
0ae7768f20
Battery info switcher (#2230) 2024-08-28 11:32:24 +02:00
Totoo
ced8012783
Theme system (#2164)
* Themes instead of Styles
* Colors changed to theme colors
* Reworked style management
* Theme settings app
* warn, menu dual set
* Added Aqua style
2024-05-27 21:02:52 +02:00
Totoo
f6a2d21624
support for battery if any + TPMS app to ext (#2129)
* batt initial
* batt widgets
* settings modify
* batt info screen
* ability to hide icon
* battView
* redo tmps
* hide curr + charge if no data
* fix flashing
2024-04-29 17:38:27 +02:00
jLynx
67975d76a0
ADS1100 (#2116)
* WIP

* WIP

* WIP

* Corrected name

* WIP

* WIP

* WIP

* WIP

* Added new calc

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* Added debug serial lines

* WIP

* Fixed issue

* Fixed calculation issue

* Added voltage to performance DFU menu

* Added padding function and added voltage to perf menu

* Clean up

* Refactor

* Fixed linting

* Hides voltage if PP does not conatin IC

* WIP showing battery %

* made the percentage a int

* Added % to header

* Removed test UI

* Removed comment

* Added fix for precision too large

* Added fix for precision too large

* Linting
2024-04-21 20:44:47 +12:00
sommermorgentraum
b2da21b88a
usb serial debug interface & usb serial async msg (#2111)
* add serial_debug

* not use OSS

* add path print

* add string print and vec

* clean up

* clean up

* format

* add an async blocking bool

* add an async blocking bool - comment

* protect the unexpected tx

* naming

* remove demo code
2024-04-18 18:10:34 +08:00
Bernd Herzog
c3add0ce84
Cpld autodetect & boot splash screen (#1888)
* added delayed error message when hackrf cpld initialization fails

* refactoring

* implemented portapack cpld autodetection

* refactoring

* fixed valid config range

* added lcd fast setup

* added boot splash screen

* added one frame delay to remove flickering

* fixed config persistence
2024-02-14 23:17:33 +01:00
Bernd Herzog
918ec0574f
added delayed error message when hackrf cpld initialization fails (#1887)
* added delayed error message when hackrf cpld initialization fails

* refactoring
2024-02-13 13:06:47 +01:00
Mark Thompson
5f8e1ef307
Daylight Savings Time support (#1793)
* Daylight Savings Time support

* Cleanup

* Clean-up

* Revert ADSB change

* Clean-up

* Corrected date in comment, ironically
2024-01-21 12:47:28 -06:00
Mark Thompson
58307aee9c
Make use of "ensure_directory" function (#1765) 2024-01-13 07:57:32 +01:00
Totoo
58bf60695d
Touch emulation from usb cdc (#1706) 2024-01-03 14:06:29 +01:00
Bernd Herzog
6069145b68
Usb serial (#1648)
* enabled usb clock
* added usb stack to application
* fixed pll0usb clock setup
* implemented serial usb handshake
* implemented serial communication
* integrated chibios shell
* implemented device reset
* implemented enter dfu mode
* implemented hackrf mode command
* implemented flash command
* implemented memory manipulation
* implemented button control
* fixed mode change
* improved reset behavior
* implemented directory commands
* implemented file commands
* improved data communication
* refactorings
2023-12-17 17:20:35 +01:00
Bernd Herzog
d2e9a8dc06
Hackrf mode when no pp attached (#1580)
* added portapack presence detection

* adjusted timeout

* fixed ak4951 initialisation
2023-11-14 12:22:26 +01:00
Bernd Herzog
62310ad9a9
Config mode (#1433)
* Allow code to run without a token
* Reverted submodule change by mistake
* WIP force tcxo
* Added check to hide if not an R9
* Fixed comments
* Updated name
* Fixed crashing on TCXO switching
* Fixed the reboot issue
* Updated boot order
* Cleaned up comments
* added new recovery mode
* added IO
* implemented cpld mode change
* whitespace change
* renamed config mode
* inverted logic
* removed r9 dependency
* added disable external tcxo option to config mode
* fixed CLKIN detection for r9
* integrated tcxo setting into clock selection
Co-authored-by @jLynx
2023-09-04 17:46:07 +02:00
Mark Thompson
fa06df1400
Persistent audio mute support revisions (#1169)
* Don't disable DAC when other audio output is using it
* Persistent audio mute revisions
* Moved persistent audio mute code to audio.cpp
* Make "Disable AK speaker amp" take effect immediately
2023-06-19 21:06:07 +02:00
Mark Thompson
ba2407d691
Persistent audio mute support (#1161)
* Persistent speaker mute support #1100
* Moving persistent mute support from WM8731/AK4951 codec files to audio.cpp module for simplification
2023-06-17 23:15:21 +02:00
E.T
3ddc753c88
Pmem reset (#1115)
* reset config when holding down select durring boot

it still need to be tripple checked if adc or control init really doesnt use any pmem

* one less magic number :)

* dual key action left+right for pmem reset

---------

Co-authored-by: Eisenberger Tamas <e.tamas@iwstudio.hu>
2023-06-08 10:52:29 +12:00
Kyle Reed
637bcfdbc7
Use receiver/transmitter models everywhere (#1056)
* Use receiver/transmitter models everywhere

* Run formatter

* Fix a copy-paste bug, make transmitter_model actually set tx_gain.

---------

Co-authored-by: kallanreed <kallanreed@outlook.com>
2023-05-23 21:22:30 -07:00
jLynx
033c4e9a5b
Formatted code (#1007)
* Updated style

* Updated files

* fixed new line

* Updated spacing

* File fix WIP

* Updated to clang 13

* updated comment style

* Removed old comment code
2023-05-19 08:16:05 +12:00
bernd-herzog
7116f92d07 fixed spelling 2023-05-05 13:39:04 +02:00
bernd-herzog
e80e4e3bfd refactoring 2023-05-05 12:58:14 +02:00
bernd-herzog
da6c6bb03c refactoring 2023-05-05 12:46:59 +02:00
bernd-herzog
75718c79b9 removed need for cpld mode setup for QFP100 2023-05-05 11:15:49 +02:00
Bernd Herzog
bcefa774cd added dfu button to debug app 2023-04-16 18:23:54 +02:00
Bernd Herzog
6fadd70c1d updated ui 2023-04-01 19:16:01 +02:00
Bernd Herzog
893df7272f refactoring 2023-04-01 18:36:57 +02:00
phil-stumpy
66ba6442b1 Adding support for HackRF One R9, as per https://github.com/sharebrained/portapack-hackrf/pull/187 2023-02-16 12:10:26 +00:00
jLynx
39134b62c3
Fix for new H2+ devices (#666)
* WIP Fix for new h2+ devices

* reset

* Updated sub module
2022-06-05 14:15:44 +12:00
Jared Boone
e5a30b4309
Persistent memory check value verification, defaulting when fails. (#662)
* Make default constructor for touch calibration

* Add persistent memory check value and access abstraction.

* Add persistent data_t default constructor with reasonable defaults.

* serial_format_t default constructor.

* Tidy up backlight timeout type.

* Add persistent data struct version/checking.

* Make range_t functions constexpr.

* Move ui_config and functions into class.

* Add backlight_config_t struct, separate enable and time settings.
2022-05-29 08:55:18 +12:00
jLynx
fe33c12111
Sound/white noise Clock fix (#625) 2022-05-05 08:31:54 +12:00
jLynx
178528ef96
Fixed no audio issue v2 (#567)
* Fixed no audio issue v2 (#567)
2022-04-12 09:28:36 +12:00
jLynx
5d9a2e560b
SD card backup storage (#565)
* Got SD card mounting during boot

* Cleaned up comments

* Now loads settings from SD as backup

* Now loads settings from SD as backup

* linting

* refactoring
2022-04-11 21:42:56 +12:00
jLynx
9d5ed65f6b Added the most random fix 2022-04-08 12:42:12 +12:00
jLynx
2ba74d0413 What did I change? 2022-04-08 12:31:06 +12:00
jLynx
59d08a4203 Enabled auto detection again 2022-04-07 21:30:37 +12:00
jLynx
51bc0f0100 Fixed broken radio offset 2022-04-07 21:22:47 +12:00
jLynx
2d3cb426ba Stores in memory 2022-04-07 09:11:10 +12:00
jLynx
dd2fdecb21 removed commented lines 2022-04-07 08:48:00 +12:00
jLynx
a37ba1ee2b 2021/12 QFP100 fix 2022-04-07 08:41:46 +12:00
jLynx
0c0d47b0d2 Added persistent memory of save state 2022-04-06 13:28:10 +12:00
jLynx
50821bab55 Added button on boot detection 2022-04-06 08:16:57 +12:00
jLynx
796d9ca854 Updated comments 2022-04-05 14:44:32 +12:00
jLynx
fd8bc177ad Added support for H2+ 2022-04-05 14:41:12 +12:00
jLynx
f6c496d1d3 removed comments 2022-04-05 10:56:09 +12:00
jLynx
b4a6b958e5 Fixed R1_20150901 vs R2_20170522 boot & detection issues 2022-04-05 10:53:52 +12:00
jLynx
43e9ce4704 Fixed R1_20150901 vs R2_20170522 boot & detection issues 2022-04-05 10:52:42 +12:00
Arjan Onwezen
6871126100 changed datatype to be able to store > 255 second for backlight timer 2021-09-03 16:46:41 +02:00
zhang00963
a0eaa70ff4 Realize the automatic recognition of audio chip, including ak4951en/wm8731/wm8731s,Try to fix the max2837 temperature problem 2021-04-11 02:19:31 +08:00