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

[nrfconnect] Added on-boarding codes generation to the factory data script #25879

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

ArekBalysNordic
Copy link
Contributor

Generate onboarding parameters:

  • manual pairing code
  • QRCode using Nrfconnect factory data script.

To generate onboarding parameters add --generate_onboarding to the generate_nrfconnect_chip_factory_data.py script.

@github-actions
Copy link

PR #25879: Size comparison from a193746 to 79c6e6e

Full report (1 build for cc32xx)
platform target config section a193746 79c6e6e change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645745 645745 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933102 933102 0 0.0
.debug_aranges 87704 87704 0 0.0
.debug_frame 301604 301604 0 0.0
.debug_info 20309905 20309905 0 0.0
.debug_line 2680953 2680953 0 0.0
.debug_loc 2827596 2827596 0 0.0
.debug_ranges 286376 286376 0 0.0
.debug_str 3041114 3041114 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105953 105953 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 380555 380555 0 0.0
.symtab 257456 257456 0 0.0
.text 537672 537672 0 0.0

docs/guides/nrfconnect_factory_data_configuration.md Outdated Show resolved Hide resolved
docs/guides/nrfconnect_factory_data_configuration.md Outdated Show resolved Hide resolved
docs/guides/nrfconnect_factory_data_configuration.md Outdated Show resolved Hide resolved
docs/guides/nrfconnect_factory_data_configuration.md Outdated Show resolved Hide resolved
docs/guides/nrfconnect_factory_data_configuration.md Outdated Show resolved Hide resolved
docs/guides/nrfconnect_factory_data_configuration.md Outdated Show resolved Hide resolved
@github-actions
Copy link

PR #25879: Size comparison from 2d4895e to 065f6dc

Decreases (1 build for cc32xx)
platform target config section 2d4895e 065f6dc change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20309907 20309905 -2 -0.0
Full report (1 build for cc32xx)
platform target config section 2d4895e 065f6dc change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645745 645745 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933102 933102 0 0.0
.debug_aranges 87704 87704 0 0.0
.debug_frame 301604 301604 0 0.0
.debug_info 20309907 20309905 -2 -0.0
.debug_line 2680953 2680953 0 0.0
.debug_loc 2827596 2827596 0 0.0
.debug_ranges 286376 286376 0 0.0
.debug_str 3041114 3041114 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105953 105953 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 380555 380555 0 0.0
.symtab 257456 257456 0 0.0
.text 537672 537672 0 0.0

@github-actions
Copy link

PR #25879: Size comparison from 2d4895e to 9548cf8

Full report (1 build for mbed)
platform target config section 2d4895e 9548cf8 change % change
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2466536 2466536 0 0.0
.bss 215964 215964 0 0.0
.data 5880 5880 0 0.0
.text 1429180 1429180 0 0.0

@ArekBalysNordic ArekBalysNordic force-pushed the onboarding_fd branch 2 times, most recently from b97b59e to 13d6c80 Compare March 30, 2023 09:07
config/nrfconnect/chip-module/Kconfig Outdated Show resolved Hide resolved
config/nrfconnect/chip-module/Kconfig Outdated Show resolved Hide resolved
docs/guides/nrfconnect_factory_data_configuration.md Outdated Show resolved Hide resolved
@ArekBalysNordic ArekBalysNordic force-pushed the onboarding_fd branch 2 times, most recently from e75e336 to 0a8abdb Compare March 30, 2023 09:32
@github-actions
Copy link

PR #25879: Size comparison from a27bc8c to 0a8abdb

Full report (1 build for cc32xx)
platform target config section a27bc8c 0a8abdb change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645769 645769 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933102 933102 0 0.0
.debug_aranges 87704 87704 0 0.0
.debug_frame 301596 301596 0 0.0
.debug_info 20310043 20310043 0 0.0
.debug_line 2681003 2681003 0 0.0
.debug_loc 2827360 2827360 0 0.0
.debug_ranges 286352 286352 0 0.0
.debug_str 3041144 3041144 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105953 105953 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 380543 380543 0 0.0
.symtab 257472 257472 0 0.0
.text 537696 537696 0 0.0

@github-actions
Copy link

PR #25879: Size comparison from a27bc8c to eab1f9d

Full report (1 build for cc32xx)
platform target config section a27bc8c eab1f9d change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645769 645769 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933102 933102 0 0.0
.debug_aranges 87704 87704 0 0.0
.debug_frame 301596 301596 0 0.0
.debug_info 20310043 20310043 0 0.0
.debug_line 2681003 2681003 0 0.0
.debug_loc 2827360 2827360 0 0.0
.debug_ranges 286352 286352 0 0.0
.debug_str 3041144 3041144 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105953 105953 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 380543 380543 0 0.0
.symtab 257472 257472 0 0.0
.text 537696 537696 0 0.0

@github-actions
Copy link

PR #25879: Size comparison from ce0ddc0 to 909238d

Decreases (1 build for cc32xx)
platform target config section ce0ddc0 909238d change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20310331 20310330 -1 -0.0
Full report (1 build for cc32xx)
platform target config section ce0ddc0 909238d change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645825 645825 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933102 933102 0 0.0
.debug_aranges 87704 87704 0 0.0
.debug_frame 301596 301596 0 0.0
.debug_info 20310331 20310330 -1 -0.0
.debug_line 2681125 2681125 0 0.0
.debug_loc 2827568 2827568 0 0.0
.debug_ranges 286448 286448 0 0.0
.debug_str 3041144 3041144 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105953 105953 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 380543 380543 0 0.0
.symtab 257472 257472 0 0.0
.text 537752 537752 0 0.0

Copy link
Contributor

@greg-fer greg-fer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit.

docs/guides/nrfconnect_factory_data_configuration.md Outdated Show resolved Hide resolved
…ript

Generate onboarding parameters:
 - manual pairing code
 - QRCode using
Nrfconnect factory data script.

To generate onboarding parameters add --generate_onboarding to the
generate_nrfconnect_chip_factory_data.py script.

Added generation of onboarding parameters to the CMAKE script
@github-actions
Copy link

PR #25879: Size comparison from ce0ddc0 to 3f022eb

Increases (1 build for cc32xx)
platform target config section ce0ddc0 3f022ebf change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20310331 20310332 1 0.0
Full report (1 build for cc32xx)
platform target config section ce0ddc0 3f022ebf change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645825 645825 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933102 933102 0 0.0
.debug_aranges 87704 87704 0 0.0
.debug_frame 301596 301596 0 0.0
.debug_info 20310331 20310332 1 0.0
.debug_line 2681125 2681125 0 0.0
.debug_loc 2827568 2827568 0 0.0
.debug_ranges 286448 286448 0 0.0
.debug_str 3041144 3041144 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105953 105953 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 380543 380543 0 0.0
.symtab 257472 257472 0 0.0
.text 537752 537752 0 0.0

@kkasperczyk-no kkasperczyk-no merged commit c7b16e6 into project-chip:master Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants