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

TEST: Add spif-driver support for baremetal test build #13188

Merged
merged 1 commit into from
Jul 1, 2020

Conversation

toyowata
Copy link
Contributor

Summary of changes

Add spif-driver support for baremetal test build.

Impact of changes

N/A

Migration actions required

Documentation

Fixed #13187 #13186 and #13185


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[x] Tests / results supplied as part of this PR
$ mbed test -t GCC_ARM -m UHURU_RAVEN --compile --app-config TESTS/configs/baremetal.json -n FEATURES-STORAGE-TESTS-BLOCKDEVICE-GENERAL_BLOCK_DEVICE
[mbed] Working path "/Users/toywat01/dev/uhuru/mbed" (program)
Building library mbed-build (UHURU_RAVEN, GCC_ARM)
Scan: mbed
Building project general_block_device (UHURU_RAVEN, GCC_ARM)
Scan: GCC_ARM
Scan: general_block_device
Link: general_block_device
Elf2Bin: general_block_device
| Module                          |     .text |   .data |     .bss |
|---------------------------------|-----------|---------|----------|
| [fill]                          |    78(+0) |   6(+0) |   50(+0) |
| [lib]/c_nano.a                  |  5104(+0) | 100(+0) |   21(+0) |
| [lib]/gcc.a                     |  1300(+0) |   0(+0) |    0(+0) |
| [lib]/m.a                       |   324(+0) |   0(+0) |    0(+0) |
| [lib]/misc                      |   188(+0) |   4(+0) |   28(+0) |
| [lib]/nosys.a                   |    32(+0) |   0(+0) |    0(+0) |
| [lib]/stdc++_nano.a             |     0(+0) |   0(+0) |    0(+0) |
| components/storage              |  2774(+0) |   0(+0) |    8(+0) |
| drivers/source                  |  2182(+0) |   0(+0) | 1660(+0) |
| features/frameworks             |  5212(+0) |  69(+0) |  369(+0) |
| features/storage                |  6428(+0) | 113(+0) |  994(+0) |
| hal/LowPowerTickerWrapper.o     |   936(+0) |   0(+0) |    0(+0) |
| hal/mbed_critical_section_api.o |   104(+0) |   0(+0) |    2(+0) |
| hal/mbed_gpio.o                 |   124(+0) |   0(+0) |    0(+0) |
| hal/mbed_lp_ticker_api.o        |    24(+0) |   4(+0) |   64(+0) |
| hal/mbed_lp_ticker_wrapper.o    |   208(+0) |   0(+0) |  117(+0) |
| hal/mbed_pinmap_common.o        |   140(+0) |   0(+0) |    0(+0) |
| hal/mbed_ticker_api.o           |  1184(+0) |   0(+0) |    0(+0) |
| hal/mbed_us_ticker_api.o        |    30(+0) |   4(+0) |   64(+0) |
| hal/static_pinmap.o             |    12(+0) |   0(+0) |    0(+0) |
| platform/source                 |  5312(+0) | 260(+0) |  428(+0) |
| rtos/source                     |     4(+0) |   0(+0) |    0(+0) |
| targets/TARGET_STM              | 14440(+0) |   8(+0) | 1211(+0) |
| Subtotals                       | 46140(+0) | 568(+0) | 5016(+0) |
Total Static RAM memory (data + bss): 5584(+0) bytes
Total Flash memory (text + data): 46708(+0) bytes

Image: BUILD/tests/UHURU_RAVEN/GCC_ARM/features/storage/TESTS/blockdevice/general_block_device/general_block_device.bin


Memory map breakdown for built projects (values in Bytes):
| name                 | target      | toolchain | static_ram | total_flash |
|----------------------|-------------|-----------|------------|-------------|
| general_block_device | UHURU_RAVEN | GCC_ARM   |       5584 |       46708 |


Build successes:
  * UHURU_RAVEN::GCC_ARM::FEATURES-STORAGE-TESTS-BLOCKDEVICE-GENERAL_BLOCK_DEVICE
  * UHURU_RAVEN::GCC_ARM::MBED-BUILD


Reviewers


@MarceloSalazar @ARMmbed/team-uhuru

@ciarmcom
Copy link
Member

@toyowata, thank you for your changes.
@ARMmbed/mbed-os-maintainers please review.

@ciarmcom ciarmcom requested a review from a team June 25, 2020 05:00
@0xc0170 0xc0170 requested a review from evedon June 25, 2020 08:56
@mergify mergify bot added needs: CI and removed needs: review labels Jun 25, 2020
@mbed-ci
Copy link

mbed-ci commented Jun 25, 2020

Test run: SUCCESS

Summary: 4 of 4 test jobs passed
Build number : 1
Build artifacts

@0xc0170 0xc0170 added release-type: patch Indentifies a PR as containing just a patch needs: review and removed ready for merge labels Jun 25, 2020
@0xc0170 0xc0170 merged commit a0fd81b into ARMmbed:master Jul 1, 2020
@mergify mergify bot removed the ready for merge label Jul 1, 2020
@adbridge adbridge added release-version: 6.2.0 Release-pending and removed release-type: patch Indentifies a PR as containing just a patch Release-pending labels Jul 15, 2020
@toyowata toyowata deleted the fix_baremetal_build branch August 7, 2020 03:23
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.

Nightly: UHURU_RAVEN doesn't compile greentea tests for baremetal
7 participants