Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0.2 #2261

Merged
merged 85 commits into from
Sep 23, 2024
Merged

v2.0.2 #2261

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
004799e
Contributors scroll (#2093)
gullradriel Apr 8, 2024
e9c3250
Pocsagtxserial (#2099)
htotoo Apr 11, 2024
8b159f4
Smaller freq changes with encoder on SubghzD and Weather Station (#2106)
htotoo Apr 16, 2024
d6ed121
Create 03_problem-upgrading-the-firmware.yml
eried Apr 17, 2024
6fe8ab4
Delete .github/ISSUE_TEMPLATE/03_problem-upgrading-the-firmware.md
eried Apr 17, 2024
990f63e
Adjusting a bit the issue templates for clarity
eried Apr 17, 2024
bb1b703
Add vscode debug configuration as a template (#2109)
u-foka Apr 17, 2024
b2da21b
usb serial debug interface & usb serial async msg (#2111)
zxkmm Apr 18, 2024
03ca87b
add literal str print in asyncmsg (#2113)
zxkmm Apr 20, 2024
e735956
Fix bug (#2114)
htotoo Apr 20, 2024
282e4da
Disable Back button during Touch Calibration (#2115)
NotherNgineer Apr 21, 2024
67975d7
ADS1100 (#2116)
jLynx Apr 21, 2024
06651dc
Bmp File Viewer + extras (#2119)
htotoo Apr 24, 2024
43077c7
Updated submodule (#2121)
jLynx Apr 26, 2024
60da661
Update JAMMER_GSM_GPS.TXT (#2125)
Lpd738 Apr 27, 2024
819f35a
seperate asyncmsg (#2124)
zxkmm Apr 27, 2024
d74fd52
TPMS to ext app (#2128)
htotoo Apr 29, 2024
f572b00
add real gcc ver chk (#2118)
zxkmm Apr 29, 2024
f6a2d21
support for battery if any + TPMS app to ext (#2129)
htotoo Apr 29, 2024
e43f7a7
Change flashing message to match LED behavior (#2130)
NotherNgineer Apr 29, 2024
1ffedac
replace_my_ide_s_default_comment (#2131)
zxkmm Apr 30, 2024
0ea8453
tune output order (#2132)
zxkmm Apr 30, 2024
a3b71d0
Changing all links to grabify (#2139)
eried May 5, 2024
3628576
Removed some blank lines (#2140)
NotherNgineer May 7, 2024
075b23b
add bool type print (#2136)
zxkmm May 8, 2024
fac7167
Updated HackRF revision (#2122)
jLynx May 8, 2024
963c6e5
Revert "Updated HackRF revision (#2122)" (#2142)
gullradriel May 8, 2024
e666eb1
MsgDblReg fix (#2144)
htotoo May 11, 2024
4a96feb
Adding some missing font
eried May 11, 2024
fe71592
revert submodule downgrade caused my my mistake (#2146)
zxkmm May 12, 2024
100bea6
Version independent external apps (standalone apps) (#2145)
bernd-herzog May 12, 2024
53b59a8
Fix for compile under docker (#2147)
htotoo May 12, 2024
2a78c54
revert adding ccache tool (#2153)
zxkmm May 18, 2024
db3ae29
fix flash util err when no `APPS` dir (#2155)
zxkmm May 20, 2024
e4d8bcb
Updated submodule again (#2148)
jLynx May 21, 2024
a8203a6
add path class usage type debug (#2154)
zxkmm May 21, 2024
ced8012
Theme system (#2164)
htotoo May 27, 2024
2bf1116
New themes (#2166)
htotoo May 28, 2024
ee53016
Update README.md (#2175)
eried Jun 7, 2024
b53b5c7
Radio FM and Airbands for Romania added (#2179)
z3r0l1nk Jun 13, 2024
0321682
Invest limit bw ssb to 3 k (#2188)
Brumi-2021 Jul 6, 2024
9ef58b7
updating_comments (#2191)
Brumi-2021 Jul 8, 2024
ae75540
Max17055 (#2194)
jLynx Jul 15, 2024
048359f
added --print-memory-usage to linker parameters (#2195)
bernd-herzog Jul 16, 2024
19eb6b4
fixed usb serial not working after reconnect (#2196)
bernd-herzog Jul 17, 2024
2bedb5f
Max17055 improvements (#2197)
htotoo Jul 17, 2024
b93fbad
Add file attached in #2189 (#2199)
htotoo Jul 17, 2024
e11c28c
Added new functions (#2202)
jLynx Jul 18, 2024
ae6724b
Better filter for max ic (#2201)
htotoo Jul 18, 2024
f13756d
copy ppmp to sdcard images (#2203)
u-foka Jul 18, 2024
2fdd531
Add fully randomized names to blespam (#2207)
htotoo Jul 24, 2024
5d9428e
Weather station update (#2209)
htotoo Jul 24, 2024
96a60e8
Reshuffle the readme videos (#2208)
eried Jul 24, 2024
9211975
Protoview (#2206)
htotoo Jul 29, 2024
765e3be
SubghzD rework (#2210)
htotoo Jul 29, 2024
0514663
Weather size fix (#2211)
htotoo Jul 29, 2024
df39818
Move ADSBTX to ext (#2214)
htotoo Aug 9, 2024
c77252c
ICAO24 database update. (#2221)
ArjanOnwezen Aug 14, 2024
750d592
Fix small fonts in theme code (#2222)
NotherNgineer Aug 14, 2024
c992780
Fix compile error with gcc versions >9.2.1 (#2223)
NotherNgineer Aug 15, 2024
6dc7e3d
Needed_changes_to_compile_with_gcc_13.2.1 (#2224)
Brumi-2021 Aug 15, 2024
6752bf0
Slovak FM radio frequencies (#2213)
GitClo Aug 21, 2024
1a0555f
Update README.md
jLynx Aug 27, 2024
0ae7768
Battery info switcher (#2230)
htotoo Aug 28, 2024
121352b
Fully remove references to bountysource + ltt video (#2233)
eried Sep 2, 2024
a2c4fef
Slighty smaller video on readme
eried Sep 3, 2024
02b75f5
Setfreq usb command (#2235)
htotoo Sep 4, 2024
76763b9
Add BLE RX filter options (#2236)
Donny-Guo Sep 6, 2024
e6afd77
SubghzD & Weather improvments (#2237)
htotoo Sep 6, 2024
87069f1
invert display option (#2232)
htotoo Sep 7, 2024
31c844b
fix black bg of those bitmap when we have themes enabled (#2239)
zxkmm Sep 7, 2024
1f78646
only inv or fakebrightness (#2240)
htotoo Sep 8, 2024
281e52d
fine tune the invert logic (#2243)
zxkmm Sep 8, 2024
d45a172
USB Serial setfreq support (#2246)
gullradriel Sep 9, 2024
d30234a
reword of #2158 (#2249)
zxkmm Sep 11, 2024
21facd9
Options to select 314.9 or 315MHz TPMS freq (#2252)
NotherNgineer Sep 16, 2024
bfa7f3c
Wardrive map improv (#2251)
htotoo Sep 16, 2024
582bb02
add bitmap arr to file (or reverse) converter (#2248)
zxkmm Sep 20, 2024
7feef9d
Learn ic fix (#2253)
jLynx Sep 20, 2024
9438c9a
SSTV TX to ext (#2254)
htotoo Sep 20, 2024
89b5109
New H4M version (#2259)
eried Sep 21, 2024
9390317
add shift feat for protcol view tool (#2258)
zxkmm Sep 22, 2024
42233e6
transparent splash logo & fix tab widget color glitch (#2256)
zxkmm Sep 22, 2024
073c4ed
Update version.txt
jLynx Sep 23, 2024
572776b
Update past_version.txt
jLynx Sep 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/01_bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Bug report
description: File a bug reports regarding the firmware.
labels: ['bug']
labels:
- bug
body:
- type: markdown
attributes:
Expand Down
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/02_feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Feature Request
description: For feature requests regarding the firmware.
labels: ['feature request']
labels:
- enhancement
body:
- type: markdown
attributes:
Expand Down
44 changes: 0 additions & 44 deletions .github/ISSUE_TEMPLATE/03_problem-upgrading-the-firmware.md

This file was deleted.

45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/03_problem-upgrading-the-firmware.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Firmware/boot issue
description: If you are having firmware upgrade or booting problems.
labels:
- firmware
body:
- type: markdown
attributes:
value: >2-
Thank you for taking the time to fill out an issue, this template is meant for any issues related to the Mayhem firmware.
Before creating this issue, **do the following**:
* Read the Wiki on booting:
/~https://github.com/portapack-mayhem/mayhem-firmware/wiki/Won't-boot

* Read:
/~https://github.com/portapack-mayhem/mayhem-firmware/wiki/Update-firmware

* Watch carefully: https://www.youtube.com/watch?v=_zx4ZvurgOs

* (if you are not in Windows) also check:
https://www.youtube.com/watch?v=kjFB58Y1TAo

* Check hardware versions:
/~https://github.com/portapack-mayhem/mayhem-firmware/wiki/PortaPack-Versions
- type: textarea
id: problem
attributes:
label: What happened?
description: If after following the above troubleshooting the problem still remains
placeholder: Describe what was is the problem
- type: input
id: hardware
attributes:
label: Your hardware
description: Check the link with the versions above
placeholder: Which device you have?
- type: checkboxes
id: firmware_update_before
attributes:
label: Tests
description: >-
Things might be confusing the first time, please check the documentation
above
options:
- label: I managed to update/boot previously
required: false
4 changes: 2 additions & 2 deletions .github/workflows/create_nightly_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: docker run -e VERSION_STRING=${{ steps.version_date.outputs.date }} -i -v ${{ github.workspace }}:/havoc portapack-dev
- name: Create Small SD Card ZIP - No World Map
run: |
mkdir -p sdcard/FIRMWARE && cp build/firmware/portapack-h1_h2-mayhem.bin sdcard/FIRMWARE/portapack-mayhem_${{ steps.version_date.outputs.date }}.bin && mkdir -p sdcard/APPS && cp build/firmware/application/*.ppma sdcard/APPS && cd sdcard && zip -r ../sdcard-no-map.zip . && cd ..
mkdir -p sdcard/FIRMWARE && cp build/firmware/portapack-h1_h2-mayhem.bin sdcard/FIRMWARE/portapack-mayhem_${{ steps.version_date.outputs.date }}.bin && mkdir -p sdcard/APPS && cp build/firmware/application/*.ppma sdcard/APPS && cp build/firmware/standalone/*/*.ppmp sdcard/APPS && cd sdcard && zip -r ../sdcard-no-map.zip . && cd ..
- name: Download world map
run: |
wget /~https://github.com/portapack-mayhem/mayhem-firmware/releases/download/world_map/world_map.zip
Expand All @@ -66,7 +66,7 @@ jobs:
zip -j firmware.zip build/firmware/portapack-h1_h2-mayhem.bin && cd flashing && zip -r ../firmware.zip *
- name: Create SD Card ZIP
run: |
mkdir -p sdcard/FIRMWARE && cp build/firmware/portapack-h1_h2-mayhem.bin sdcard/FIRMWARE/portapack-mayhem_${{ steps.version_date.outputs.date }}.bin && mkdir -p sdcard/APPS && cp build/firmware/application/*.ppma sdcard/APPS && cd sdcard && zip -r ../sdcard.zip . && cd ..
mkdir -p sdcard/FIRMWARE && cp build/firmware/portapack-h1_h2-mayhem.bin sdcard/FIRMWARE/portapack-mayhem_${{ steps.version_date.outputs.date }}.bin && mkdir -p sdcard/APPS && cp build/firmware/application/*.ppma sdcard/APPS && cp build/firmware/standalone/*/*.ppmp sdcard/APPS && cd sdcard && zip -r ../sdcard.zip . && cd ..
- name: Create changelog
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create_stable_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: docker run -e VERSION_STRING=${{ steps.version.outputs.version }} -i -v ${{ github.workspace }}:/havoc portapack-dev
- name: Create Small SD Card ZIP - No World Map
run: |
mkdir -p sdcard/FIRMWARE && cp build/firmware/portapack-h1_h2-mayhem.bin sdcard/FIRMWARE/portapack-mayhem_${{ steps.version.outputs.version }}.bin && mkdir -p sdcard/APPS && cp build/firmware/application/*.ppma sdcard/APPS && cd sdcard && zip -r ../sdcard-no-map.zip . && cd ..
mkdir -p sdcard/FIRMWARE && cp build/firmware/portapack-h1_h2-mayhem.bin sdcard/FIRMWARE/portapack-mayhem_${{ steps.version.outputs.version }}.bin && mkdir -p sdcard/APPS && cp build/firmware/application/*.ppma sdcard/APPS && cp build/firmware/standalone/*/*.ppmp sdcard/APPS && cd sdcard && zip -r ../sdcard-no-map.zip . && cd ..
- name: Download world map
run: |
wget /~https://github.com/portapack-mayhem/mayhem-firmware/releases/download/world_map/world_map.zip
Expand All @@ -50,7 +50,7 @@ jobs:
zip -j firmware.zip build/firmware/portapack-h1_h2-mayhem.bin && cd flashing && zip -r ../firmware.zip *
- name: Create SD Card ZIP
run: |
mkdir -p sdcard/FIRMWARE && cp build/firmware/portapack-h1_h2-mayhem.bin sdcard/FIRMWARE/portapack-mayhem_${{ steps.version.outputs.version }}.bin && mkdir -p sdcard/APPS && cp build/firmware/application/*.ppma sdcard/APPS && cd sdcard && zip -r ../sdcard.zip . && cd ..
mkdir -p sdcard/FIRMWARE && cp build/firmware/portapack-h1_h2-mayhem.bin sdcard/FIRMWARE/portapack-mayhem_${{ steps.version.outputs.version }}.bin && mkdir -p sdcard/APPS && cp build/firmware/application/*.ppma sdcard/APPS && cp build/firmware/standalone/*/*.ppmp sdcard/APPS && cd sdcard && zip -r ../sdcard.zip . && cd ..
- name: Create changelog
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/past_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.0.0
v2.0.1
2 changes: 1 addition & 1 deletion .github/workflows/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.0.1
v2.0.2
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
.dep/
/build*
CMakeFiles/
cmake-build-debug/

# Debugging
.gdbinit*
Expand Down
148 changes: 148 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) JTAG probe",
"type": "cppdbg",
"request": "launch",
"miDebuggerPath": "arm-none-eabi-gdb",
"targetArchitecture": "arm",
"program": "${workspaceRoot}/build/firmware/baseband/baseband_adsbrx.elf",
"cwd": "${workspaceRoot}",
"setupCommands": [
// use logging for troubleshooting
//{"text": "set logging file ${workspaceRoot}/build/arm-none-eabi-gdb.log"},
//{"text": "set logging on"},
{
"text": "file '${workspaceRoot}/build/firmware/baseband/baseband_adsbrx.elf'"
},
{
"text": "target extended-remote /dev/ttyACM0"
},
{
"text": "monitor swdp_scan"
},
{
"text": "attach 1"
},
],
"launchCompleteCommand": "None",
"externalConsole": false,
},
{
"name": "(gdb) OpenOCD m4 baseband",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/build/firmware/baseband/baseband_sd_over_usb.elf",
"args": [],
"cwd": "${workspaceRoot}",
// "environment": [
// {
// "name": "PATH",
// "value": "${env:PATH}"
// }
// ],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb",
"targetArchitecture": "arm",
"debugServerPath": "openocd",
"debugServerArgs": "-f interface/ftdi/um232h.cfg -f target/lpc4350.cfg -c \"gdb_breakpoint_override hard\"",
"serverStarted": "Listening on port [0-9]+ for gdb connections",
"filterStderr": true,
"filterStdout": false,
"launchCompleteCommand": "None",
"postRemoteConnectCommands": [
{
"description": "Target Remote Device on Port 3333",
"text": "target extended-remote :3333",
"ignoreFailures": false
},
{
"description": "Respect Hardware Limitations",
"text": "set remote hardware-watchpoint-limit 2",
"ignoreFailures": false
},
{
"description": "Respect Hardware Limitations",
"text": "set remote hardware-breakpoint-limit 4",
"ignoreFailures": false
},
{
"description": "Shutdown GDB Server on GDB Detach",
"text": "monitor [target current] configure -event gdb-detach { shutdown }",
"ignoreFailures": false
},
],
"stopAtConnect": false,
"logging": {
"exceptions": true,
"engineLogging": false,
"moduleLoad": true,
"programOutput": true,
"trace": false,
"traceResponse": false
},
"useExtendedRemote": true
},
{
"name": "(gdb) OpenOCD m0 application",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/build/firmware/application/application.elf",
"args": [],
"cwd": "${workspaceRoot}",
// "environment": [
// {
// "name": "PATH",
// "value": "${env:PATH}"
// }
// ],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb",
"targetArchitecture": "arm",
"debugServerPath": "openocd",
"debugServerArgs": "-f interface/ftdi/um232h.cfg -f target/lpc4350.cfg -c \"gdb_breakpoint_override hard\"",
"serverStarted": "Listening on port [0-9]+ for gdb connections",
"filterStderr": true,
"filterStdout": false,
"launchCompleteCommand": "None",
"postRemoteConnectCommands": [
{
"description": "Target Remote Device on Port 3334",
"text": "target extended-remote :3334",
"ignoreFailures": false
},
{
"description": "Respect Hardware Limitations",
"text": "set remote hardware-watchpoint-limit 1",
"ignoreFailures": false
},
{
"description": "Respect Hardware Limitations",
"text": "set remote hardware-breakpoint-limit 2",
"ignoreFailures": false
},
{
"description": "Shutdown GDB Server on GDB Detach",
"text": "monitor [target current] configure -event gdb-detach { shutdown }",
"ignoreFailures": false
},
],
"stopAtConnect": false,
"logging": {
"exceptions": true,
"engineLogging": false,
"moduleLoad": true,
"programOutput": true,
"trace": false,
"traceResponse": false
},
"useExtendedRemote": true
},
]
}
13 changes: 7 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,13 @@ set(HACKRF_CPLD_XSVF_PATH ${HACKRF_PATH}/firmware/cpld/sgpio_if/${HACKRF_CPLD_XS
set(HACKRF_FIRMWARE_DFU_IMAGE ${hackrf_usb_BINARY_DIR}/${HACKRF_FIRMWARE_DFU_FILENAME})
set(HACKRF_FIRMWARE_BIN_IMAGE ${hackrf_usb_BINARY_DIR}/${HACKRF_FIRMWARE_BIN_FILENAME})

find_program(CCACHE "ccache")
if(CCACHE)
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE})
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE})
set(ENV{CCACHE_SLOPPINESS} pch_defines,time_macros)
endif(CCACHE)
# this seems causing some issues (ref. in discord discussions), so temporarily disabled, until figure out the pros and cons and bugs of this tool.
#find_program(CCACHE "ccache")
#if(CCACHE)
# set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE})
# set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE})
# set(ENV{CCACHE_SLOPPINESS} pch_defines,time_macros)
#endif(CCACHE)

enable_testing()
add_subdirectory(firmware)
Loading
Loading