Skip to content

Add CC3220SF_Launchxl to Mbed OS #11063

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

Merged
merged 6 commits into from
Aug 19, 2019
Merged

Conversation

linlingao
Copy link
Contributor

Description

Add CC3220SF Launchxl support.

Pull request type

[ ] Fix
[ ] Refactor
[x] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

Release Notes

@ciarmcom ciarmcom requested a review from a team July 17, 2019 19:00
@ciarmcom
Copy link
Member

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

@ciarmcom ciarmcom requested a review from a team July 17, 2019 19:00
@SeppoTakalo SeppoTakalo requested a review from a team July 17, 2019 20:25
@SeppoTakalo
Copy link
Contributor

New target support, @ARMmbed/mbed-os-hal Please review.

@mbed-ci
Copy link

mbed-ci commented Jul 23, 2019

Test run: FAILED

Summary: 3 of 4 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-IAR
  • jenkins-ci/mbed-os-ci_build-GCC_ARM
  • jenkins-ci/mbed-os-ci_build-ARM

@SeppoTakalo
Copy link
Contributor

@linlingao Please check the build failures.

CC3220SF ARM

[2019-07-23T11:47:20.590Z] [2019-07-23T11:47:20.590Z] Compile [  0.1%]: at24mac_s2lp.cpp

[2019-07-23T11:47:20.590Z] [2019-07-23T11:47:20.590Z] [Fatal Error] at24mac_s2lp.h@19,10: 'PinNames.h' file not found

[2019-07-23T11:47:20.590Z] [2019-07-23T11:47:20.590Z] Failed to build library

CC3220SF_LAUNCHXL ARM

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z] Build failures:

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]   * CC3220SF_LAUNCHXL::ARMC6::TESTS-MBED_HAL-PINMAP

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Building project pinmap (CC3220SF_LAUNCHXL, ARMC6)

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Scan: ARM

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Scan: pinmap

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Compile [100.0%]: main.cpp

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Link: pinmap

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Warning] @0,0: L3912W: Option 'legacyalign' is deprecated.

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Warning] @0,0: L9931W: Your license for feature compiler5 will expire in 8 days

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Warning] @0,0: L9931W: Your license for feature compiler5 will expire in 8 days

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Error] @0,0: L6218E: Undefined symbol analogin_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Error] @0,0: L6218E: Undefined symbol pwmout_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Error] @0,0: L6218E: Undefined symbol serial_cts_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Error] @0,0: L6218E: Undefined symbol serial_rts_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Error] @0,0: L6218E: Undefined symbol serial_rx_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Error] @0,0: L6218E: Undefined symbol serial_tx_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Error] @0,0: L6218E: Undefined symbol spi_master_clk_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Error] @0,0: L6218E: Undefined symbol spi_master_cs_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Error] @0,0: L6218E: Undefined symbol spi_master_miso_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         [Error] @0,0: L6218E: Undefined symbol spi_master_mosi_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Warning: L3912W: Option 'legacyalign' is deprecated.

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Warning: L9931W: Your license for feature compiler5 will expire in 8 days

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Warning: L9931W: Your license for feature compiler5 will expire in 8 days

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Error: L6218E: Undefined symbol analogin_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Error: L6218E: Undefined symbol pwmout_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Error: L6218E: Undefined symbol serial_cts_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Error: L6218E: Undefined symbol serial_rts_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Error: L6218E: Undefined symbol serial_rx_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Error: L6218E: Undefined symbol serial_tx_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.664Z] [2019-07-23T11:47:18.664Z]         Error: L6218E: Undefined symbol spi_master_clk_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.665Z] [2019-07-23T11:47:18.664Z]         Error: L6218E: Undefined symbol spi_master_cs_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.665Z] [2019-07-23T11:47:18.665Z]         Error: L6218E: Undefined symbol spi_master_miso_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.665Z] [2019-07-23T11:47:18.665Z]         Error: L6218E: Undefined symbol spi_master_mosi_pinmap (referred from BUILD/tests/CC3220SF_LAUNCHXL/ARM/TESTS/mbed_hal/pinmap/TESTS/mbed_hal/pinmap/main.o).

[2019-07-23T11:47:18.665Z] [2019-07-23T11:47:18.665Z]         Finished: 0 information, 3 warning and 10 error messages.

[2019-07-23T11:47:18.665Z] [2019-07-23T11:47:18.665Z]         

@mbed-ci
Copy link

mbed-ci commented Jul 23, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 2
Build artifacts

Copy link
Member

@fkjagodzinski fkjagodzinski left a comment

Choose a reason for hiding this comment

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

Most of the HAL looks fine. Only the PWM is not complete.

@mbed-ci
Copy link

mbed-ci commented Jul 30, 2019

Test run: FAILED

Summary: 1 of 4 test jobs failed
Build number : 3
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-ARM

@mbed-ci
Copy link

mbed-ci commented Jul 31, 2019

Test run: FAILED

Summary: 1 of 11 test jobs failed
Build number : 4
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_cloud-client-test

@cmonr
Copy link
Contributor

cmonr commented Jul 31, 2019

@ARMmbed/mbed-os-maintainers @ARMmbed/mbed-os-test-team That's odd.

Has it typically been the case where mbed-os-ci_cloud-client-test artifacts are not uploaded to S3, similar to the rest of the jobs?

@SeppoTakalo
Copy link
Contributor

One server that Pelion Client tests against is down. We are investigating.

@mbed-ci
Copy link

mbed-ci commented Aug 1, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 5
Build artifacts

@SeppoTakalo
Copy link
Contributor

@ARMmbed/mbed-os-hal Missing PWM is now added, is this OK to go in?

@linlingao
Copy link
Contributor Author

Please, please don't let this sit for too long... rebase PRs this big is painful...

@linlingao
Copy link
Contributor Author

@ARMmbed/mbed-os-hal can you please review?

@linlingao
Copy link
Contributor Author

@0xc0170 Is there anything I can do to move this along?

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 13, 2019

@0xc0170 Is there anything I can do to move this along?

I keep this open and review tomorrow 👍

Copy link
Contributor

@0xc0170 0xc0170 left a comment

Choose a reason for hiding this comment

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

Cosmetic changes request. Otherwise looks good.

Lot of work in here, how was this tested? Adding new target should contain logs with tests run for all toolchains.

@linlingao
Copy link
Contributor Author

@0xc0170 You can find status and links to Jira issues and test logs here. https://confluence.arm.com/display/CES/TI+Port+Milestones+and+Status (Arm internal link).

@mbed-ci
Copy link

mbed-ci commented Aug 16, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 7
Build artifacts

@linlingao
Copy link
Contributor Author

Can this be merged yet?

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.

7 participants