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

System layer needs initialization before network initialization #1346

Merged
merged 1 commit into from
Jun 29, 2020

Conversation

andy31415
Copy link
Contributor

Problem

InitNetwork() does not initialize the system layer.

Summary of Changes

Initialize the system layer in tests.

fixes #1345

@andy31415 andy31415 force-pushed the 01_fix_timer_test_crash branch from 184c345 to 5f1e0cf Compare June 29, 2020 17:55
@chip-bot
Copy link

Size increase report for "Build Examples [nRF]"

File Section File VM
chip-nrf52840-lock-example.out [LOAD #2 [RW]] 0 -4
chip-nrf52840-lock-example.out .bss 0 -96
chip-nrf52840-lock-example.out .text -9676 -9676
Full report output
Bloat report for job 'Build Examples [nRF]'

Files found only in the baseline:
    bloat_report.txt

Comparing master_binaries/nrf-build/chip-nrf52840-lock-example.out and example_binaries/nrf-build/chip-nrf52840-lock-example.out:

sections,vmsize,filesize
[Unmapped],0,9677
[LOAD #2 [RW]],-4,0
.bss,-96,0
.debug_aranges,0,-608
.debug_ranges,0,-1792
.debug_frame,0,-1856
.symtab,0,-4832
.debug_macro,0,-5113
.debug_abbrev,0,-5187
.strtab,0,-6046
.debug_str,0,-6704
.text,-9676,-9676
.debug_line,0,-18719
.debug_loc,0,-19666
.debug_info,0,-49638


@chip-bot
Copy link

Size increase report for "Build Examples [ESP32]"

File Section File VM
chip-wifi-echo.elf .dram0.bss 0 -112
chip-wifi-echo.elf .flash.rodata -1936 -1936
chip-wifi-echo.elf .flash.text -13020 -13020
Full report output
Bloat report for job 'Build Examples [ESP32]'

Files found only in the baseline:
    bloat_report.txt

Comparing master_binaries/esp32-build/chip-wifi-echo.elf and example_binaries/esp32-build/chip-wifi-echo.elf:

sections,vmsize,filesize
.dram0.bss,-112,0
.xt.prop._ZNK4chip3Ble15BleEndPointPool3GetEi,0,-112
.xt.prop._ZNK4chip3Ble15BleEndPointPool7GetFreeEv,0,-124
.xt.prop._ZN4chip7SetFlagIhNS_3Ble9BtpEngineUt_EEEvRT_T0_b,0,-140
.xt.prop._ZN4chip3Ble15BleEndPointPool4FindEt,0,-148
.xt.prop._ZN4chip8Encoding5Read8ERPKh,0,-156
.xt.prop._ZN4chip7SetFlagIhNS_3Ble11BLEEndPoint20ConnectionStateFlagsEEEvRT_T0_b,0,-180
.debug_ranges,0,-784
.debug_aranges,0,-832
.flash.rodata,-1936,-1936
[33 Others],0,-2158
[Unmapped],0,-2166
.shstrtab,0,-2279
.debug_frame,0,-2332
.debug_str,0,-2571
.symtab,0,-2640
.debug_abbrev,0,-4089
.strtab,0,-6579
.flash.text,-13020,-13020
.debug_line,0,-18710
.debug_info,0,-41960


@chip-bot
Copy link

Size increase report for "Build Examples [main-build]"

File Section File VM
Full report output
Bloat report for job 'Build Examples [main-build]'

Files found only in the baseline:
    bloat_report.txt

Comparing master_binaries/main-build/chip-standalone-demo.out and example_binaries/main-build/chip-standalone-demo.out:

sections,vmsize,filesize
.debug_line,0,1
[Unmapped],0,-3
.debug_info,0,-6


@woody-apple woody-apple merged commit 93f5708 into project-chip:master Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SecureSessionMgr unit test dies in timer initialization
7 participants