Attention is currently required from: laforge.
Hoernchen has posted comments on this change by Hoernchen. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39445?usp=email )
Change subject: fix usb usb reset handling by delayed soft reset
......................................................................
Patch Set 1:
(2 comments)
File sysmoOCTSIM/hpl/core/hpl_init.c:
https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39445/comment/640bb66f_39… :
PS1, Line 57: // _osc32kctrl_init_sources();
: // _oscctrl_init_sources();
: // _mclk_init();
: // #if _GCLK_INIT_1ST
: // _gclk_init_generators_by_fref(_GCLK_INIT_1ST);
: // #endif
: // _oscctrl_init_referenced_generators();
> why are we just commenting this out rather than removing it?
Because this serves as a reminder what must be done to run the fw without a bl + allows conveniently enabling all that for debbuging by uncommenting it. This is my change for me that allows me to semi-efficiently deal with debugging, it's not supposed to look nice.
File sysmoOCTSIM/main.c:
https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39445/comment/3e6f8705_bb… :
PS1, Line 579: if(delayed_usb_reset)
> I'm wondering why we suddenly format "if" as if it was a function. […]
the format issues happened during cleanup and merging of a dozen different branches with code in seperate files that had other formatting and was #included which prevented proper autoformat.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39445?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I0939930a42f3009abf7e670561a123963bbd3845
Gerrit-Change-Number: 39445
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Thu, 30 Jan 2025 13:14:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Attention is currently required from: laforge.
Hoernchen has posted comments on this change by Hoernchen. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39441?usp=email )
Change subject: tame the linter
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> do we really want all of that for the entire code base? Shouldn't this relaxed linker (like trailin […]
The linter understands code as much as grep and randomly tries to lint everything including linker scripts and nested funcs with defines and inline asm and breaks all the time and i'd rather add a .clang-format and that's it. There is no real split between imported and own code since the asf code needs occasional changes, too. There is not even a reasonable directory structure with asf placing the start code and linker scripts two dirs deep. Changing that means it can't easily compared to other half generated code (....)
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39441?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I84f8637b47047bb9b8c217b0869a486ceee7243f
Gerrit-Change-Number: 39441
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Thu, 30 Jan 2025 13:06:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Attention is currently required from: Hoernchen.
laforge has posted comments on this change by Hoernchen. ( https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39434?usp=email )
Change subject: bl updater app
......................................................................
Patch Set 7:
(2 comments)
File atmel_start.c:
https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39434/comment/5512c35c_36a3580… :
PS7, Line 9: // do not init usb here: might not be needed.
might be useful to state those cases or some example of it?
File usb_dfu_main.c:
https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39434/comment/3807f4ce_9e4c9d6… :
PS7, Line 59: }
inconsistent spacing. File is not generated code, uses tab indent but here there are suddenly some lines with spaces.
--
To view, visit https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39434?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-asf4-dfu
Gerrit-Branch: master
Gerrit-Change-Id: I1403d35497cdea41ea5bed2c94b9e729ca352772
Gerrit-Change-Number: 39434
Gerrit-PatchSet: 7
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 30 Jan 2025 12:27:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Hoernchen.
laforge has posted comments on this change by Hoernchen. ( https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39435?usp=email )
Change subject: errata 2.6.10
......................................................................
Patch Set 7:
(1 comment)
File gcc/gcc/startup_same54.c:
https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39435/comment/f1932e57_fd8c9a7… :
PS7, Line 679: "bl _Reset_Handler\n"
inconsistent use of spaces. file uses tabs but this code not.
--
To view, visit https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39435?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-asf4-dfu
Gerrit-Branch: master
Gerrit-Change-Id: Ifbc6a3dfe91462029fce50ed42f20440debaa552
Gerrit-Change-Number: 39435
Gerrit-PatchSet: 7
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 30 Jan 2025 12:26:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No