Commit Graph

2990 Commits

Author SHA1 Message Date
Totoo
9e40e38f07
Record gps lat, lon, satinuse from recorder app if there was gps signal. (#1992)
* Record gps lat, lon, satinuse from recorder app if there was gps signal.

* Add _GEO to filename that has geotag
2024-03-15 21:56:20 +08:00
not tre mann
181624daf1
lambda the flash util menu add item code (#1993)
* lambda the flash util menu add code

* clean up
2024-03-14 22:56:55 -05:00
Mark Thompson
f0614c882b
File manager "Clean" button tweaks (#1990)
* File Manager "clean" button tweaks

* Add files via upload
2024-03-13 22:42:40 +01:00
not tre mann
14f42d1fe8
support "clean" files (#1983)
* init for clean files
* textual
* icons position
2024-03-13 18:06:14 +01:00
Mark Thompson
999f9e2ded
Fix #1982 (enable DMA interrupt for all apps) (#1987) 2024-03-13 16:57:35 +01:00
Mark Thompson
61dc8a0225
Disabled unused baseband "no-op" process (#1986) 2024-03-13 16:08:52 +01:00
Mark Thompson
0b2d5f75cc
Start audio DMA only in apps that use audio (#1982)
* Start audio DMA only in apps that use audio
* Rename main.cpp to main.cpp.unuse
* shrink_tx_buffer fix for transfers_per_buffer==1 scenario
2024-03-13 16:07:44 +01:00
gullradriel
910fd82051
freqman: limiting description size to 30, and minor fix (#1977)
* Limiting description size to 30 as it was documented before

* cosmetic adjustement

---------

Co-authored-by: GullCode <gullradriel@hotmail.com>
2024-03-11 16:40:47 +01:00
gullradriel
866e12fbc5
added RXIQCALC (#1974)
Co-authored-by: GullCode <gullradriel@hotmail.com>
2024-03-10 23:25:18 +01:00
Mark Thompson
ccd71d9593
Set iq_phase_cal in radio when starting SPEC mode (#1972) 2024-03-10 20:50:48 +01:00
Mark Thompson
e9b9ba4602
Deallocate menu buttons to save memory (#1971)
* Deallocate hidden menu buttons
* Added Copyright
* Added comments
2024-03-10 20:49:36 +01:00
gullradriel
986e37a3c9
fix unused warning (#1970) 2024-03-10 20:05:05 +01:00
gullradriel
2ac36d2d0b
Level app: coloration of RxSat value (#1969) 2024-03-10 18:29:21 +01:00
Mark Thompson
3b79549129
Added enums for recon_config bits (#1965) 2024-03-10 08:30:05 +01:00
gullradriel
160a778104
Recon repeat auto recorded file mode (#1960)
* added everything needed to have a repeated file mode option to keep or delete files

* automatic filename for keep file

* fixing restart after replay

* fixed auto record replay/repeat restart

---------

Co-authored-by: GullCode <gullradriel@hotmail.com>
2024-03-10 08:45:54 +08:00
Mark Thompson
e496f8ecc2
Eliminate unnecessary NumberField to save code space (#1964)
* Eliminate extra NumberField to save code space

* Clang
2024-03-09 17:36:48 -06:00
Brumi-2021
9d8132978f
Adding Rx IQ error phase CAL to SPEC Audio_App (#1963) 2024-03-09 23:46:38 +01:00
Mark Thompson
73c29f666f
Commented out Debug -> Memory Usage app (#1962) 2024-03-09 22:03:07 +01:00
Mark Thompson
d895c9fa91
Show true M0 free heap space in DFU overlay (#1961) 2024-03-09 21:39:06 +01:00
gullradriel
b5e66387c3
Rxsat in Level app (#1959)
* added Rx Saturation

* testing reducing values to uint8_t

* clang format

* refactorisation

* cleanings

* cleanings

* set back request_m4_performance_counter to zero on app exit

---------

Co-authored-by: GullCode <gullradriel@hotmail.com>
2024-03-09 22:26:56 +08:00
Mark Thompson
1fbfdbccf8
Remove unused text_info widget (#1955) 2024-03-08 01:29:13 +08:00
Totoo
2648f18b12
External sensor tester app (#1949)
* added tilt
* added extsensors app
* added icon
* Added EnvironmentData to ExtSensor app and message.hpp
* Added gotenv command
2024-03-07 17:22:24 +01:00
Mark Thompson
908c0e2cd5
Fix compiler warning (#1952) 2024-03-07 17:18:08 +01:00
not tre mann
73137891c4
change sun bitmap to make it more like a sun (#1946) 2024-03-07 07:50:49 +01:00
not tre mann
c28087ac44
cheat code protect in pacman app (#1945) 2024-03-07 07:49:17 +01:00
Totoo
9e9dd3a521
Dynamic usb buffer fill for screenframeshort (#1935)
* fully fill usb serial buffer
* Update usb_serial_shell.cpp
* Added a comment, to trigger wf
2024-03-07 07:42:58 +01:00
jLynx
5ae97d47f1
Fixed existing dir check (#1933) 2024-02-25 08:28:44 +01:00
Mark Thompson
cd80da58d8
Improved flash image validation (#1916) 2024-02-18 19:02:42 +01:00
Mark Thompson
a1f7010e08
Optimized fake brightness code (#1915) 2024-02-17 18:44:06 -06:00
notComposer
948e039574
fix shift back in screenshot and mayhem hub (#1910)
* fix_shift_back

* clean up

* gitignore

* remove the workaround in notpad cuz it's been fixed in this PR

* format

* add credit for mark

* 2024
2024-02-18 00:44:31 +08:00
Bernd Herzog
27dc37713b
added crc32 command to usb shell (#1911) 2024-02-17 10:38:09 +01:00
Mark Thompson
ce08d93ae2
Fix Pacman pause button glitches (again) (#1906) 2024-02-16 07:50:50 +01:00
Mark Thompson
13fd1b1f3b
Support for configurable Menu Color & scrolling fix (#1905)
* Support for Configurable Menu Color Scheme
* Limit min value to 8 so doesn't get reset to default
* Increased max encoder rate multiplier value to 15
* Fixed menu scrolling issue
2024-02-16 07:19:43 +01:00
Mark Thompson
d04c781ada
Added Reboot app to Debug menu (#1904) 2024-02-16 07:18:33 +01:00
Mark Thompson
24605777a6
Show on_encoder delta in Buttons Test app (#1903) 2024-02-15 21:33:46 +01:00
Mark Thompson
b5ac792853
Add color to position info lines in Notepad (#1902) 2024-02-15 18:12:40 +01:00
Mark Thompson
44c319dcc6
Refresh status bar after Pmem Reset (#1899) 2024-02-15 15:00:25 +01:00
Mark Thompson
a442971b81
Eliminate unneeded screen flashing when scrolling menu (#1900) 2024-02-15 14:59:30 +01:00
Mark Thompson
8b5adb6bc1
Treat encoder rate multiplier value of 0 in pmem the same as 1 (#1898)
* Double-check encoder rate multiplier is not 0

* Eliminated redundant check in pmem init()
2024-02-15 07:05:05 +01: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
Mark Thompson
8725b01995
Fixed Pacman pause button (#1894) 2024-02-14 14:43:31 -06:00
E.T
936e8279f9
Add lto flag only to "internal" source files (#1895) 2024-02-14 13:54:20 -06:00
Mark Thompson
6193023c8f
Fixed Pacman global object initialization (#1891) 2024-02-14 06:02:27 +01:00
Mark Thompson
1800939833
Fixed Tetris by eliminating some classes (#1890) 2024-02-13 20:54:40 +01:00
Mark Thompson
2f48fc2ef9
Disable LTO for external apps (#1886)
* Disable lto for external apps only

* Modified "shared external code" checks
2024-02-13 10:11:54 -06: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
1139b22141
Fix compile error (#1884) 2024-02-12 19:04:48 +01:00
Brumi-2021
7598c25fc8
Solves random USB/LSB mode in SSB Mic App (H1R1). (#1882)
* Solves random USB/LSB mode in SSB Mic App (H1R1).

* format
2024-02-11 23:16:29 +01:00
Mark Thompson
0f6a9277a8
Warning for shared external code during build (#1881) 2024-02-11 21:25:00 +01:00
Mark Thompson
6a8650d484
Update Copyright in comment blocks (#1878) 2024-02-10 16:56:50 +01:00
Mark Thompson
46d9e02684
Encoder rotation rate multiplier support (#1876) 2024-02-10 09:32:03 +01:00
Mark Thompson
367479d163
Just shift menu icons up 1 row when hit bottom (#1874) 2024-02-10 09:21:35 +01:00
Mark Thompson
bbbf5a37c8
Add progress bar to Soundboard app (#1875)
* Add progress bar to Soundboard app

* Clang
2024-02-10 09:04:00 +08:00
Mark Thompson
b2ad1fa979
Cycle through brightness levels when icon selected (#1873) 2024-02-09 09:16:55 -06:00
Mark Thompson
998be5ba09
Set fake brightness to 50% default if never configured in Settings (#1871) 2024-02-09 18:36:02 +08:00
theHallwayThatBringMePassion
9e8d279298
fix double darken (#1866) 2024-02-08 18:39:57 +01:00
E.T
fd03bb800c
Brightness settings fixes 2.0 (#1870)
* Format

* Fix startup crash 🙈

* Revert "Revert "Brightness settings fixes" (#1865)"

Had to rebase then revert the revert to make git recognise and merge the change :)

This reverts commit b7e5bedf4b.

# Conflicts:
#	firmware/application/ui_navigation.cpp

* Add zxkmm to header too
2024-02-08 18:28:49 +01:00
Mark Thompson
f80c28cde7
Rename playlist.ini to replay.ini to match app (#1864) 2024-02-08 11:34:40 +01:00
theHallwayThatBringMePassion
b7e5bedf4b
Revert "Brightness settings fixes" (#1865)
This reverts commit 994e426d1e.
2024-02-08 10:09:00 +08:00
E.T
994e426d1e
Brightness settings fixes (#1863)
* Brightness settings fixes

- Statusbar toggle now updated when changing in settings page
- Annoying message boxes removed
- SystemView (aka whole screen) is now refreshed after toggling from status

* Format
2024-02-07 17:52:12 -06:00
Mark Thompson
c5bf0d94f9
Skip over INFO chunk in WAV files (#1862) 2024-02-07 21:37:49 +01:00
Mark Thompson
8ad9ada015
Functionally revert PR #1837 (#1861) 2024-02-07 14:07:21 -06:00
Mark Thompson
e854261124
WAV viewer tweaks (#1854) 2024-02-07 09:15:46 +01:00
theHallwayThatBringMePassion
0370b4eb55
fake brightness adjust (#1845)
* temp

* temp - 1

* next step note

* fix circuit dependency (to fix:can't read p.mem)

* fix circuit dependency (to fix:can't read p.mem)

* notes

* bitmap

* bitmap

* remove my stupid forward declearation

* clean up

* clean up

* level control

* clean up

* clean up

* clean up

* clean up

* format

* format

* format

* format

* format

* fix for comment advices

* fix for comment advices

* fix display issue in notepad app

* slightly increase performance...

* temp for grey_scale and high_constrast

* format

* note for cache implement

* fix for comment request

* fix for comment request
2024-02-07 16:07:30 +08:00
Mark Thompson
61d9c051de
When setting Time & Date indicate if in DST range (#1851) 2024-02-06 14:25:44 -06:00
Mark Thompson
5ea1bff1e6
WAV Viewer & Soundboard enhancements (8 or 16-bit WAV files) (#1849)
* WAV Viewer & Soundboard enhancements
* Reduced width of sample rate field
2024-02-06 11:33:00 +01:00
Mark Thompson
bc035cff6a
ADSB retrieve_record just-in-case check (#1848) 2024-02-05 20:13:06 +01:00
E.T
f2c008602d
Adsb rx airline display fix (#1847)
* This doesn't do anything, just gives me some sanity :D

* Don’t abuse std

* Only look for airline info if the callsign is received

* Format…

* Let the airline update when callsign is received
2024-02-05 12:06:29 -06:00
Brumi-2021
b8073bca0f
Adding_TX_IQ_phase_Calibration_to_Mic_App (#1843)
* Adding_TX_IQ_phase_Calibration_to_Mic_App

* Adding_persistent_CAL_data_and_correct_init_data
2024-02-03 17:57:45 -06:00
Mark Thompson
c30a61441b
Tetris external app (#1842)
* Tetris external app
* 4 levels
2024-02-03 19:33:36 +01:00
Mark Thompson
464cc8449e
Use std:rand() in Touchscreen Test (#1840) 2024-02-03 09:54:10 +01:00
Mark Thompson
ee2e57d702
2nd-Level Encoder Debouncing for scrappy encoder dials (#1838)
* Experimental encoder debouncing

* Experimental encoder debouncing

* Clang

* Comment changed
2024-02-01 14:13:28 -06:00
Mark Thompson
a2a5fb166e
Improved Debounce for Encoders (#1837)
* Fix variable type declaration

* Fix typo

* Two-bit encoder debouncing

* Slight optimization

* Comment change
2024-01-31 14:13:21 -06:00
Mark Thompson
f59f5dfaa3
Fixed ms_duration function to show actual ms (#1836) 2024-01-31 21:08:17 +01:00
Mark Thompson
125184f300
Add audio playback ability to WAV Viewer app (#1829) 2024-01-30 20:55:32 +01:00
ʎʞsʌoʞᴉɐɥɔꓕ ɹʇoʎꓒ
8068517808
add warn when enable stealth mode & add nav valid check (#1823)
* add warn when enable stealth

* change FLASH ERROR to FLASH ERR cuz previous one were overlapped with date

* check if nav is valid
2024-01-30 13:58:40 +08:00
Mark Thompson
a4f6bbda5e
Fix compiler warning (#1827)
* Fix compiler warning

* Fix compiler warning

* Friggin C-lang
2024-01-29 18:07:32 -06:00
Totoo
8b2598fdac
Call the flasher app when flashing from serial (#1825) 2024-01-29 20:52:35 +01:00
sommermoregentraum
c36fe78bd5
pacman: cheat lifes and cheat skip level (#1821)
cheat lives and cheat skip level and fixed review issue. Thanks @NotherNgineer
2024-01-29 00:54:13 +08:00
Mark Thompson
bd8385464e
Tuner code readability (no functional change) (#1820) 2024-01-28 10:02:11 -06:00
Totoo
8c996b5bc6
Embedded friendly usb (#1817) 2024-01-27 19:33:08 +01:00
Mark Thompson
d1901939e1
Fix tuning of 2170-2300 and 2700-2740 MHz (#1819) 2024-01-27 13:30:32 +01:00
Mark Thompson
41ec11fb66
Check app checksums during untar (#1815) 2024-01-27 13:29:24 +01:00
Mark Thompson
df47490d85
Allow 3 boot failures before Config Mode starts (#1816)
* Allow 3 boot attempts before Config Mode starts

* Add files via upload
2024-01-26 21:02:52 +13:00
Totoo
a2f6d14b15
ISS for aprs, for the request #1810 (#1814) 2024-01-25 21:10:43 +01:00
Mark Thompson
6a6c6d6502
Add Checksums to Firmware & External App images (#1809)
* Pad image to 1MB and add simple checksum

* Test code to verify firmware checksum

* Comment out unneeded zlib

* Add files via upload

* Print space remaining in ROM

* Append checksum to external apps too

* Check external app checksums when loading

* Is it 2024 already?!

* Validate firmware checksum before flashing

* Add files via upload

* Added flash error warning to nav screen

* Clang

* Replaced some hard-coded values with #defines

* Check FW checksum before USB serial flash too

* Add files via upload
2024-01-24 16:37:21 -06:00
Mark Thompson
2d98c5d311
Resolve Soundboard tone key issue (#1806)
* Resolve Soundboard tone key issue
2024-01-23 20:53:04 +01:00
sommermoregentraum
03b13f8ab0
prevent crash when nothing to broadcast in soundbrd app (#1807)
* prevent crash when nothing to broadcast in soundbrd app

* format
2024-01-22 22:15:37 -06:00
Mark Thompson
0f85f247b6
Fix rounding bug when displaying frequencies (#1801) 2024-01-22 07:54:29 +01:00
sommermoregentraum
ac1d350aaf
add a item that warn user to put ext app if nothing to pop in home page (#1798)
add an item that warn user to put ext app if nothing to pop
2024-01-22 03:21:06 +08: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
sommermoregentraum
44d9572f5c
add_bitmap_reverse_decode (#1795) 2024-01-21 18:51:08 +08:00
sommermoregentraum
3314001205
bring keyfob app back (#1794)
* bring keyfob app back

* format

* cleanup

* format

* remove committed line from original list
2024-01-21 11:49:17 +01:00
E.T
ce1084abc7
Introduce common app list for menu and serial (#1791) 2024-01-20 23:35:39 +01:00
Mark Thompson
b3c1c83677
Remove time from PPFW filename and modify Flash app to support .tar (#1783)
* Update timestamp in PPFW filename

* Only include today's DATE in filename

* Remove date from PPFW filename

* Allow any .tar file name in FIRMWARE folder

* Add files via upload

* Removed unnecessary lines per ufoka
2024-01-18 13:59:44 -06:00
Totoo
fcbc3b4d75
pmemreset and settingsreset commands (#1786) 2024-01-18 16:12:13 +01:00
Mark Thompson
39e1a0ffe8
Cmake - generate new ppfw when firmware changes (#1782) 2024-01-17 07:01:48 +01:00
Mark Thompson
99bbd8805c
Added Settings app to disable Config Mode (#1781) 2024-01-17 06:59:35 +01:00
Mark Thompson
e7af85ffba
Add new pmem fields to Debug Dump (#1780) 2024-01-16 22:49:56 +01:00
Mark Thompson
75f3277102
Geomap zoom-out fixes (#1777) 2024-01-16 18:47:31 +01:00