Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
358 commits
Select commit Hold shift + click to select a range
c993ffe
[Updater] Use constant for `settings.xml` handling
Darthyson Aug 9, 2024
cd898ec
[Updater] Bump commons-cli:commons-cli from 1.5.0 to 1.8.0
Darthyson Aug 9, 2024
688e97f
[Updater] Bump org.fusesource.jansi:jansi from 2.4.0 to 2.4.1
Darthyson Aug 9, 2024
309245c
[Updater] With c081ba3 `--fileName` is no more required
Darthyson Aug 9, 2024
9d90fd3
[Updater] Suppress inspection on `javax.javax.usb.properties`
Darthyson Aug 9, 2024
0a49ff2
[Updater] Use `CliInvalidException` for logic errors
Darthyson Aug 9, 2024
0bfe374
[Updater] log styling
Darthyson Aug 9, 2024
2334d43
[Updater] More cli-logic checks on IP-Secure, USB
Darthyson Aug 9, 2024
3cb63b4
[Updater] Fix gradle warnings
Darthyson Aug 9, 2024
5fedec8
[Updater] Ensure UTF-8 encoding, add description
Darthyson Aug 9, 2024
ea89fc7
[Updater] Serialisation warning disabled in 3cb63b4
Darthyson Aug 9, 2024
b7f2c55
[Updater] MANIFEST.MF is created dynamically during build
Darthyson Aug 9, 2024
4c88a76
[Updater] Add sourceSets, move .hex files to tests
Darthyson Aug 9, 2024
410b0a8
[Updater] Add version, git-sha and build time to MANIFEST.MF
Darthyson Aug 9, 2024
44d8d43
[Updater] Fix missing `java` in sourceSets path
Darthyson Aug 9, 2024
f719f7e
[Updater] Use plugin `com.gradleup.shadow` for `shadowJar`
Darthyson Aug 9, 2024
1b386dd
[Updater] Update .gitignore(s) with settings recommend by JetBrains (…
Darthyson Aug 10, 2024
b999e46
[Updater][Breaks build] Reorganize code base folder hierarchy
Darthyson Aug 10, 2024
1af5563
[Updater] Fix gradle `sourceSets`, `MANIFEST.MF` & some links
Darthyson Aug 10, 2024
59dbf3d
[Updater] Recreate deleted `.idea` files
Darthyson Aug 10, 2024
c37ba36
[Update] Add application template
Darthyson Aug 10, 2024
a13d56b
[Updater] Fix typos and docu
Darthyson Aug 10, 2024
03fea64
[Updater] English is default language, no need translate
Darthyson Aug 10, 2024
ef834ac
[GUI] Fix camelCase
Darthyson Aug 10, 2024
5275353
[GUI] Rename language resources and in subfolder `language`
Darthyson Aug 10, 2024
042ee62
[GUI] Fix warning hardcoded value
Darthyson Aug 10, 2024
4671ef3
[GUI] Only one element. No need for list.
Darthyson Aug 10, 2024
6af9a5b
[Updater] Don´t use custom tag `@warning`
Darthyson Aug 10, 2024
8a0fa9e
[Updater] Use Javadoc not DoxyGen
Darthyson Aug 10, 2024
39dc7c3
[Updater] Use `System.lineSeparator()` instead of `\n`
Darthyson Aug 10, 2024
844b466
[Updater] Reorder startup from GUI and console
Darthyson Aug 10, 2024
6f230f1
[Updater] Move and exclude `.hex` files from IDEA inspections
Darthyson Aug 11, 2024
cf78f28
[Updater] Use expression lambdas
Darthyson Aug 11, 2024
b5146bc
[Updater] Simplify `ActionListener`s with lambdas
Darthyson Aug 11, 2024
5fea719
[Updater] Add `private CliInvalidException()` to entry points
Darthyson Aug 11, 2024
3c15edc
[Updater] Simplify `updaterThread` and `JCombobox`s
Darthyson Aug 11, 2024
524f9db
[Updater] Use actual root logger level, not our "cached" `logLevel`
Darthyson Aug 11, 2024
f187222
[Updater] Suppress warning `SameReturnValue`, it´s intentional
Darthyson Aug 11, 2024
9202b35
[Updater] Suppress warnings `unused`, `SameParameterValue`
Darthyson Aug 11, 2024
3066504
[Updater] Refactor `CliOptions`s getter/setter
Darthyson Aug 11, 2024
28c3d0a
[Updater] Simplify `if`s
Darthyson Aug 11, 2024
d72bdbe
[Updater] Make things `final`
Darthyson Aug 11, 2024
4dce25c
[Updater] Use constant string for logging (performance)
Darthyson Aug 11, 2024
5508363
[Updater] Fix uid `NullPointerException`
Darthyson Aug 11, 2024
28bf89b
[Updater] Fix enum `UDPResult`
Darthyson Aug 11, 2024
aeb946a
[Updater] 0x00 is `UPDCommand.INVALID`
Darthyson Aug 11, 2024
50532f9
[Updater] Fix enum `UDPCommand` access
Darthyson Aug 11, 2024
3802ef6
[Updater] Collapse `catch`
Darthyson Aug 11, 2024
ab53dfa
[GUI] Move `actionListener` to separate methods
Darthyson Aug 12, 2024
101b974
[GUI] Set minimum Size of `GuiMain` form to 400x300
Darthyson Aug 17, 2024
422572d
[GUI] Use working directory in case last hex file directory doesn´t e…
Darthyson Aug 17, 2024
4af47e6
[GUI] Use `getTranslation` which was added in ab53dfa
Darthyson Aug 17, 2024
ba6b914
[GUI] No need to save `guiMainInstance`, as we can access it with `this`
Darthyson Aug 17, 2024
e6dc081
[GUI] Use `json` to save/load settings
Darthyson Aug 17, 2024
51eb905
[Updater] Throw exception not implemented for `rf` (radio frequency) …
Darthyson Aug 19, 2024
152837b
[GUI] Save/restore `comboBox` selection index
Darthyson Aug 19, 2024
a7aa3c2
[GUI] Allow `--device` for uid requests
Darthyson Aug 19, 2024
aba8176
[GUI] Fix interacting with `jLoggingPane` broke the progress info
Darthyson Aug 19, 2024
6380cb8
[Updater] Cleanup imports, delete duplicate code, add todo
Darthyson Aug 19, 2024
53b565a
[Updater] Use try-with-resources
Darthyson Aug 19, 2024
3e532a1
[GUI] Fix warning `No label specified`
Darthyson Aug 19, 2024
206ab39
[GUI] Fix some shortcut warnings
Darthyson Aug 19, 2024
d1c12a7
[Updater] More readability by using old `ConColors` alike logging
Darthyson Aug 19, 2024
7ec0a5e
[Updater] Fix `--statistic` output with `jansi`
Darthyson Aug 21, 2024
db7f2bd
[Updater] Fix missing `calimero-usb` dependency
Darthyson Nov 22, 2024
e23f2b3
[Updater] Fix `null` strings
Darthyson Nov 22, 2024
5c1202a
[Updater] Use `.isBlank` for interface checks
Darthyson Nov 22, 2024
50ab459
[Updater] Fix close `DeviceManagement` gracefully
Darthyson Nov 24, 2024
637ef45
[Updater] Fix shortcut shown in combobox
Darthyson Nov 24, 2024
08257d3
[Updater] Add USB Interface discovery
Darthyson Nov 24, 2024
dd66f48
[Updater] Fix logged twice `crc32`
Darthyson Nov 24, 2024
1f0f19d
[Updater] Fix `UDP_V0` protocol progress calculation
Darthyson Nov 24, 2024
4fdeded
[Updater] Update readme
Darthyson Nov 26, 2024
9709715
[Updater] Replace deprecated `jansi` with `jline`
Darthyson Dec 29, 2024
d699013
[Updater] Add UncaughtExceptionHandler to show a dialog
Darthyson Dec 30, 2024
35dca82
[Updater] Upgrade to logback-classic 1.5.15
Darthyson Dec 31, 2024
ffc31a4
[Updater] Reduce loglevel to trace in `setCursorPosition`
Darthyson Dec 31, 2024
155414d
[Updater] Upgrade to appdirs:1.3.0
Darthyson Jan 1, 2025
ab6cd22
[Updater] Upgrade to guava:33.4.0-jre
Darthyson Jan 1, 2025
935b7ac
[Updater] Upgrade to commons-cli:1.9.0
Darthyson Jan 1, 2025
1bda6d7
[Updater] Upgrade to jackson-databind:2.18.2
Darthyson Jan 1, 2025
30d2225
[Updater] Add missing SB_updater.main.iml
Darthyson Jan 1, 2025
d638bec
[Updater] More detailed exception messages
Darthyson Jan 1, 2025
776613d
[Updater] Fix `TextAppender` does not log stacktrace of exception
Darthyson Jan 1, 2025
f9ec152
[Updater] Major fixes/refactoring
Darthyson Jan 1, 2025
0a28c8e
[Updater] Upgrade to gradle 8.12
Darthyson Jan 1, 2025
a0e4511
[Updater] Fix gradle warnings
Darthyson Jan 1, 2025
4fee4f4
[Updater] Bump Updater version to 1.21
Darthyson Jan 5, 2025
f1dd7df
[Updater] Log last caught exception and simplify `if`
Darthyson Jan 5, 2025
25a38a6
[Updater] Log discovered KNX netIP-Interfaces
Darthyson Jan 5, 2025
43c4616
[Updater] Default log level `TRACE`
Darthyson Jan 5, 2025
0fb9fdd
[Updater] Reenable textfile logging for LogMx
Darthyson Jan 5, 2025
4db0969
[Updater] Reduce messages log level to warn
Darthyson Jan 5, 2025
f577b22
[Updater] New SBLinkListener, SBTransportListener for logging
Darthyson Jan 6, 2025
39e4bdf
[Updater] Add info to build with local calimero-core
Darthyson Jan 6, 2025
713dfd7
[Updater] New `--discover` to list available KNX-Interfaces (IP and USB)
Darthyson Jan 6, 2025
f3bdafa
[Updater] Cleanup redundant logging
Darthyson Jan 7, 2025
96e224b
[Updater] Fix TL4 logging
Darthyson Jan 7, 2025
f97932c
[Updater] Don´t log group or connectionless individual telegrams
Darthyson Jan 7, 2025
2eeee33
[Updater] Fix missing T_Data_Connected cases
Darthyson Jan 7, 2025
e7d7084
[Updater] Bump version to 1.22
Darthyson Jan 7, 2025
6a56e35
[Updater] Upgrade to logback-classic 1.5.16
Darthyson Jan 12, 2025
7ea41ba
[Updater] Cleanup commented out dependency `jackson-databind:2.13.0`
Darthyson Jan 12, 2025
8032d69
[Updater] SLF4J startup message got fixed in logback-classic 2.0.16
Darthyson Jan 12, 2025
0f0e4ef
[Updater] Fix double slash in `includeBuild`
Darthyson Jan 12, 2025
babb4dc
[Updater] Set cliOptions according to auto detected KNXNetworkLink
Darthyson Jan 12, 2025
263aae5
[Updater] Add info for LogMx parser pattern
Darthyson Jan 12, 2025
c10fe9c
[Updater] Disable `*-warn.html` appender
Darthyson Jan 12, 2025
70367cb
[Updater] Move `KNXNetworkLink` creation to `DeviceManagement`
Darthyson Jan 12, 2025
f9d904e
[Updater] Close `DeviceManagement` gracefully on [CTRL+C]
Darthyson Jan 12, 2025
c24e50e
[Updater] Delete redunant call of `.detch()`
Darthyson Jan 12, 2025
67d6c38
[Updater] Override `sendWait` for destination state logging
Darthyson Jan 12, 2025
2b4a6a9
[Updater] Move close logging to `DeviceManagement`
Darthyson Jan 12, 2025
cd9b147
[Updater] Don´t call `finalizeJansi()` in `run()`
Darthyson Jan 12, 2025
38c28ae
[Updater] Cleanup dead code
Darthyson Jan 13, 2025
96ba37a
[Updater] Simplify `if`
Darthyson Jan 13, 2025
e69acb7
[Updater] Fix negative features
Darthyson Jan 14, 2025
c8549de
[Updater] More detailed `--discover` output
Darthyson Jan 14, 2025
e59635c
[Updater] Reconstruct `--delay` if it differs from default value
Darthyson Jan 15, 2025
23744fb
[Updater] Reconnect KNX link on a `KNXException`
Darthyson Jan 15, 2025
7336d53
[Updater] Add cli option `--reconnect xx` to set length of pause on K…
Darthyson Jan 15, 2025
1973d45
[Updater] Fix reconnect logging
Darthyson Jan 15, 2025
655bb0a
[Updater] Cleanup not thrown exceptions and unused imports
Darthyson Jan 15, 2025
a125401
[Updater] Bump version to 1.23
Darthyson Jan 15, 2025
799838d
[Updater] Gui todos for `--discover` and `--reconnect`
Darthyson Jan 16, 2025
20802dd
[Updater] Extra newline in console progress info if running in IntelliJ
Darthyson Jan 16, 2025
a4622d8
[Updater] Fix dm/link was not opened in`requestUid`
Darthyson Jan 16, 2025
bf7b805
[Updater] Don´t change console log level while debugging
Darthyson Jan 16, 2025
4690a5d
[Updater] Prettier exception logging
Darthyson Jan 16, 2025
88b4b40
[Updater] Prepare logging for calimero-core 3.0
Darthyson Feb 5, 2025
f463734
[Updater] Log usb discover exception
Darthyson Feb 9, 2025
dc30ec5
[Updater] Fix device locked error message
Darthyson Feb 10, 2025
d750d4c
[Updater] Don´t restart bootloader device on exception in full mode
Darthyson Feb 10, 2025
1ef844c
[Updater] Reduce loglevel of `Critical destination state`
Darthyson Feb 10, 2025
ee0af54
[Updater] Change valid `--reconnect` range to 100-12500ms
Darthyson Feb 11, 2025
60edebf
[Updater] Prettier logging
Darthyson Feb 11, 2025
5bfb926
[Updater] Return also build date and commit sha in `getToolAndVersion`
Darthyson Feb 11, 2025
c698f41
[Updater] Add customizable exception/message filters for console output
Darthyson Feb 11, 2025
c503893
[Updater] Move logging stuff to `.logging`
Darthyson Feb 11, 2025
01ddfef
[Updater] Apply exception/message filter also to `list` appender
Darthyson Feb 11, 2025
bf685c8
[Updater] Docu log filters
Darthyson Feb 11, 2025
a93a5a4
[Updater] Info `getManifestInfo` doesn´t work while debugging
Darthyson Feb 11, 2025
2bf71ba
[Updater] Fix some found project inspection problems
Darthyson Feb 11, 2025
2d918cc
[Updater] Filter eibd hop count decrement info message
Darthyson Feb 11, 2025
1a86ed3
[Updater] Docu reasons for filtering message/exception
Darthyson Feb 11, 2025
2dc34d3
[Updater] Filter console log of failed M_PropRead.req PID_MAX_APDULENGTH
Darthyson Feb 11, 2025
ce30795
[Updater] New option `--ip-tunnel-reconnect` for some IP-Interfaces
Darthyson Feb 11, 2025
0d9e49e
[Updater] Move `DeviceManagement` to `devicemgnt`
Darthyson Feb 11, 2025
52c1256
[Updater] Delete version in README.md
Darthyson Feb 11, 2025
0918096
[Updater] Add Loxone Miniserver Gen 1 example to README.md
Darthyson Feb 11, 2025
1b1cd33
[Updater] Add `_flashstart_` in example `--fileName`
Darthyson Feb 11, 2025
d9572d9
[Updater] Use local `calimero-core/release/2.6` till 2.6-rc2
Darthyson Feb 11, 2025
c4def1d
[Updater] Bump version to 1.24
Darthyson Feb 11, 2025
4e7152e
[Updater] Fix `buffer` not repeated if error occurred in last while run
Darthyson Feb 12, 2025
ad1333c
[Updater] Use `switch` instead of `if else if else...`
Darthyson Feb 12, 2025
512f1ec
[Updater] Fix check also log message not only exception and its message
Darthyson Feb 12, 2025
8818831
[Updater] Add evaluator tests
Darthyson Feb 12, 2025
52d9103
[Updater] Suppress swing/awt logs
Darthyson Feb 13, 2025
4ba565f
[Updater] Less empty new lines in console
Darthyson Feb 13, 2025
67fcf22
[Updater] Don´t print full stacktrace
Darthyson Feb 14, 2025
742065b
[Updater] New method `SpinningCursor.setBlank()`
Darthyson Feb 14, 2025
4f764f9
[Updater] Add todo and log for `appender.clearAllFilters()`
Darthyson Feb 14, 2025
a264ef9
[Updater] Add new Encoder, MarkerFilter and Markers
Darthyson Feb 14, 2025
19c62fa
[Updater] Unify gui and console progress logging
Darthyson Feb 14, 2025
a6d90b5
[Updater] Move progress stuff to `.progress`
Darthyson Feb 14, 2025
5e6f6ec
[Updater] Update gui todo missing cli options
Darthyson Feb 14, 2025
507b6c4
[Updater] Make `fqcn` final
Darthyson Feb 14, 2025
733fe12
[Updater] Fix project inspector warnings
Darthyson Feb 14, 2025
dc72cb7
[Updater] Simplify console/gui log filtering
Darthyson Feb 14, 2025
b438179
[Updater] Move `TextAppender` to `.logging`
Darthyson Feb 14, 2025
c58d687
[Updater] Rename `TextAppender` to `JTextPaneAppender`
Darthyson Feb 14, 2025
da6970a
[Updater] Rename appender `list` to `JTextPane`
Darthyson Feb 14, 2025
99c7fef
[Updater] Delete ignored `<pattern>`
Darthyson Feb 14, 2025
2670693
[Updater] No more ansi escape codes in file logs
Darthyson Feb 14, 2025
94417f2
[Updater] Add info for `ansiRegEx`
Darthyson Feb 14, 2025
0ac411a
[Updater] Reduce redundant info logs
Darthyson Feb 14, 2025
ac035c3
[Updater] Shorter log of BL and sblib version
Darthyson Feb 14, 2025
a21fd2a
[Updater] Use `logFile` for all `FileAppenders`
Darthyson Feb 14, 2025
359363b
[Updater] Use same `logback.xml` for production and tests
Darthyson Feb 14, 2025
2d8862a
[Updater] Reorganize `logback.xml` into multiplexe `.xml` files
Darthyson Feb 14, 2025
b9169bf
[Updater] Make `searchAppender()` universal and move it to `LoggingMa…
Darthyson Feb 14, 2025
e0553f5
[Updater] Fix Set new log level without deleting all other filters
Darthyson Feb 14, 2025
3d3d53d
[Updater] Fix comment out not used `htmlWarnAppender`
Darthyson Feb 14, 2025
8151922
[Updater] Prettier logging?
Darthyson Feb 14, 2025
c8881ce
[Updater] No ansi in trace log
Darthyson Feb 14, 2025
6eb7718
[Updater] Always reconnect in `handleKNXException`
Darthyson Feb 15, 2025
8d0f04d
[Updater] Don´t change `waitMs` of caller
Darthyson Feb 15, 2025
2873c35
[Updater] Private constructor, builder and don´t throw an exception
Darthyson Feb 15, 2025
8cae268
[Updater] In theory, these cursor movements should work.
Darthyson Feb 15, 2025
c6018fd
[Updater] Use the same json root key name for settings write and read
Darthyson Feb 15, 2025
7b9b04a
[Updater] Add normal/bright fore/background handling
Darthyson Feb 15, 2025
c82a85e
[Updater] Use always default background color
Darthyson Feb 15, 2025
f8198c8
[Updater] Use always bright foreground colors
Darthyson Feb 15, 2025
16f71d6
[Updater] Use constants `OK, INFO, WARN` for colored logging
Darthyson Feb 15, 2025
4526e61
[Updater] Delete obsolete todo
Darthyson Feb 15, 2025
3036986
[Updater] Fix typo
Darthyson Feb 15, 2025
a8e9dc8
[Updater] Use consistent colors for gui and console
Darthyson Feb 15, 2025
a0b9b72
[Updater] Discover on startup only if no gateway is set
Darthyson Feb 15, 2025
67866da
[Updater] Add warning for experimental TPUART support
Darthyson Feb 15, 2025
317b132
[Updater] No todo, it´s good to ack our own address
Darthyson Feb 15, 2025
1435b09
[Updater] Delete unclear todo and extend test
Darthyson Feb 16, 2025
81dc9c1
[Updater] Rename Operation to Update
Darthyson Feb 18, 2025
2243af2
[Updater] Prettier logging
Darthyson Feb 18, 2025
887ef91
[Updater] No new line for 6 seconds wait "ticker"
Darthyson Feb 20, 2025
3d10e53
[Updater] No full stacktrace for `UpdaterException` and `KNXException`
Darthyson Feb 20, 2025
ce4f872
[Updater] Added todo for an WinUSB alternative under windows
Darthyson Feb 20, 2025
3f57d94
[Updater] Upgrade gradle to 8.12.1
Darthyson Feb 20, 2025
c0c284c
[Updater] Add com port logging to `--discover`
Darthyson Feb 20, 2025
725c480
Don´t change whitespace in mark-down files
Darthyson Feb 21, 2025
d79674d
[Updater] Add known issues and TOC to README
Darthyson Feb 21, 2025
f1070f8
[Updater] Link to readme instead of zadig
Darthyson Feb 21, 2025
ca1acfe
[Updater] Reconnect if necessary in `checkDeviceInProgrammingMode`
Darthyson Feb 21, 2025
0af7222
[Updater] No stacktrace in ui on Updater exit caused by an exception
Darthyson Feb 21, 2025
696829d
[Updater] Upgrade to `gradle 8.13`
Darthyson Mar 4, 2025
1e334b9
[Updater] Upgrade to `calimero-core 2.6-rc2`
Darthyson Mar 5, 2025
5adc00e
[Updater] Revert `Filter eibd hop count decrement info message`
Darthyson Mar 9, 2025
9b1f5a3
[Updater] Revert `Filter received service acknowledgment status seque…
Darthyson Mar 9, 2025
fdb0044
[Updater] Bump version to 1.25
Darthyson Mar 9, 2025
d03f887
[sblib] Fix `Decompressor` RAM buffer alignment
Darthyson Mar 17, 2025
f154986
Merge branch 'main/selfbus' into dev/updater-improvements
Darthyson Mar 21, 2025
34ed99c
Merge branch 'main/selfbus' into dev/updater-improvements
Darthyson Mar 22, 2025
dc4c571
[Updater] Add remaining frame images
Darthyson Mar 26, 2025
cc44421
[Updater] Display device PA in "OK" text color
Darthyson Oct 30, 2025
01994ce
[Updater] Upgrade to `calimero 2.6` final release
Darthyson Oct 30, 2025
b36c03e
[Updater] Upgrade to `logback-classic 1.5.19`
Darthyson Oct 30, 2025
a30f6ea
[Updater] Upgrade gradle to 8.14.3
Darthyson Oct 30, 2025
04c699a
[Updater] Bump version to 1.26
Darthyson Oct 30, 2025
4a2f1e4
Add `Update` flag as in KNX Spec. 3.0 3/5/1 4.18.4 specified
Darthyson Nov 17, 2025
cb1fc12
Format ComObject debug logging
Darthyson Nov 17, 2025
10e411d
Fix `objConf` debug logging
Darthyson Nov 17, 2025
17c6ad7
Add some `setObjectFlags` debug logging
Darthyson Nov 17, 2025
6e9dc87
Move some ComObject debug logging to new header
Darthyson Nov 17, 2025
9aaa630
Add BCU ComObjectConfig table debug logging
Darthyson Nov 17, 2025
d3e9c70
Fix check `Update Enable` flag on `APCI_GROUP_VALUE_RESPONSE_PDU`
Darthyson Nov 17, 2025
9afbf47
Add BCU1 ComObjectConfig table debug logging
Darthyson Nov 17, 2025
087a99b
[Test] Add `Memory` and `UserEeprom` unit tests
Darthyson Nov 17, 2025
cf92241
[Updater] Invert link state logic for better readability
Darthyson Nov 18, 2025
e55b6f3
[Updater] Show tunnel address, if available
Darthyson Nov 18, 2025
7d5286a
[Updater] Upgrade gradle to 9.2.1
Darthyson Nov 18, 2025
cb1f3ef
[Updater] Upgrade to `net.harawata:appdirs:1.5.0`
Darthyson Nov 18, 2025
2263650
[Updater] Upgrade to `slf4j-jdk-platform-logging:2.0.17`
Darthyson Nov 18, 2025
5d3da80
[Updater] Upgrade to com.google.guava:guava:33.5.0-jre
Darthyson Nov 18, 2025
4199521
[Updater] Upgrade to jackson-databind:2.20.1
Darthyson Nov 18, 2025
47ee871
[Updater] Upgrade to logback-classic:1.5.21
Darthyson Nov 18, 2025
82efb5e
[Updater] Upgrade to jline-terminal-jansi:3.30.6
Darthyson Nov 18, 2025
46d456a
[Updater] Upgrade commons-cli:1.11.0
Darthyson Nov 18, 2025
dd702d2
[Updater] Fix commons-cli `.build()` deprecation warning
Darthyson Nov 18, 2025
e614123
[Updater] Add todo for `HelpFormatter` deprecation warning
Darthyson Nov 18, 2025
0700e49
Add dependabot for Updater
Darthyson Nov 18, 2025
cb110d8
[Updater] Bump version to 1.27
Darthyson Nov 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.md -whitespace
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: "gradle"
directory: "/firmware_updater/updater"
schedule:
interval: "weekly"
day: "thursday"
time: "12:53"
ignore:
# Exclude java-intelhex-parser
- dependency-name: "com.github.j123b567:java-intelhex-parser"
versions: [">= 0"] # Prevent updating due to its specific pinned commit
4 changes: 2 additions & 2 deletions firmware_updater/bootloader/inc/decompressor.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ class Decompressor
uint8_t cmdBuffer[5] = {0};
int expectedCmdLength = 0;
int cmdBufferLength = 0;
uint8_t scratchpad[FLASH_PAGE_SIZE] = {0};
alignas(FLASH_RAM_BUFFER_ALIGNMENT) uint8_t scratchpad[FLASH_PAGE_SIZE] = {0};
uint8_t oldPages[FLASH_PAGE_SIZE * REMEMBER_OLD_PAGES_COUNT] = {0};
int bytesToFlash = 0;
int rawLength = 0;
State state = State::EXPECT_COMMAND_BYTE;
__attribute__ ((aligned (FLASH_RAM_BUFFER_ALIGNMENT))) uint8_t * startAddrOfPageToBeFlashed = 0;
alignas(FLASH_RAM_BUFFER_ALIGNMENT) uint8_t * startAddrOfPageToBeFlashed = 0;
uint8_t * startAddrOfFlash = 0;

public:
Expand Down
2 changes: 1 addition & 1 deletion firmware_updater/bootloader/src/update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
* Maximum extended frame length is 254 bytes - 1 byte for the @ref UPD_Command totaling in 1265 bytes
*/
constexpr uint16_t bufferSize = 1265;
static uint8_t __attribute__ ((aligned (FLASH_RAM_BUFFER_ALIGNMENT))) ramBuffer[bufferSize]; //!< RAM buffer used for flash operations
alignas(FLASH_RAM_BUFFER_ALIGNMENT) static uint8_t ramBuffer[bufferSize]; //!< RAM buffer used for flash operations
static uint8_t * retTelegram = nullptr; //!< pointer to return buffer, as a field for easier access and smaller code size

// Try to avoid direct access to these global variables.
Expand Down
88 changes: 88 additions & 0 deletions firmware_updater/updater/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,89 @@
# Selfbus Updater specific
.gradle
build
log
out
bin
settings.xml

# all below is dated 10.08.2024 source:
# https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
#

# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# AWS User-specific
.idea/**/aws.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# SonarLint plugin
.idea/sonarlint/

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
1 change: 1 addition & 0 deletions firmware_updater/updater/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions firmware_updater/updater/.idea/Selfbus_Updater.iml

This file was deleted.

28 changes: 28 additions & 0 deletions firmware_updater/updater/.idea/artifacts/SB_updater_main_jar.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions firmware_updater/updater/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

131 changes: 130 additions & 1 deletion firmware_updater/updater/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 8 additions & 10 deletions firmware_updater/updater/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions firmware_updater/updater/.idea/modules/SB_updater.main.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions firmware_updater/updater/.idea/modules/SB_updater.test.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading