Skip to content

Adding Samsung Bioprocessor S1SBP6A target #13392

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 2 commits into from
Aug 13, 2020
Merged

Adding Samsung Bioprocessor S1SBP6A target #13392

merged 2 commits into from
Aug 13, 2020

Conversation

heuisam
Copy link
Contributor

@heuisam heuisam commented Aug 5, 2020

Summary of changes

Adding a new target of HW development kit using Samsung Bioprocessor S1SBP6A to mMbed-OS.
S1SBP6A is a low-power bio-porcessor targeting multiple bio-sensor data acquisition and processing for healthcare and other applications.
Moving security_subsystem into TARGET_SIDK_S5JS100 to fix build error when S1SBP6A target is added.

Main author : Heuisam Kwag [email protected]

Documentation


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

arm
gcc

Reviewers


@ciarmcom ciarmcom added the release-type: patch Indentifies a PR as containing just a patch label Aug 5, 2020
@ciarmcom ciarmcom requested a review from a team August 5, 2020 09:00
@ciarmcom
Copy link
Member

ciarmcom commented Aug 5, 2020

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

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.

I found few styling issues, otherwise looks fine to me

extern const PinMap PinMap_SPI_SSEL[];
#endif

#endif
Copy link
Contributor

Choose a reason for hiding this comment

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

please add a newline at the end of file (other files in this pull request have it)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for your comment. I'll fix it.

Copy link
Contributor

Choose a reason for hiding this comment

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

If you fix, please comment in the pull request - what has been updated. I can see it was forced pushed but github still shows here "no new line"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm sorry it was missed.
I'll update it and add comment for changes.

"S1SBP6A": {
"inherits": ["Target"],
"core": "Cortex-M4F",
"supported_toolchains": ["GCC_ARM", "ARMC6"],
Copy link
Contributor

Choose a reason for hiding this comment

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

can these be on new lines same as device_has ?

Also line 6571

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you. I'll change it.

The TARGET_Samsung had security_subsystem and SIDK_S5JS100.
If I add another target that does not use security_subsystem, I get
a build error.
This commit moves security_subsyste to TARGET_SIDK_S5JS100.

Signed-off-by: Heuisam Kwag <[email protected]>
@mergify mergify bot dismissed 0xc0170’s stale review August 11, 2020 07:29

Pull request has been modified.

0xc0170
0xc0170 previously approved these changes Aug 11, 2020
@mergify mergify bot added needs: CI and removed needs: work labels Aug 11, 2020
@0xc0170
Copy link
Contributor

0xc0170 commented Aug 11, 2020

CI started

@mbed-ci
Copy link

mbed-ci commented Aug 11, 2020

Jenkins CI Test : ❌ FAILED

Build Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_build-ARM ✔️
jenkins-ci/mbed-os-ci_build-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_dynamic-memory-usage ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️
jenkins-ci/mbed-os-ci_cloud-client-pytest

@mergify mergify bot added needs: work and removed needs: CI labels Aug 11, 2020
@mergify mergify bot dismissed 0xc0170’s stale review August 11, 2020 22:19

Pull request has been modified.

Signed-off-by: Heuisam Kwag <[email protected]>
@heuisam
Copy link
Contributor Author

heuisam commented Aug 11, 2020

Change List

  1. reformat target.json with newline for S1SB6A
  2. adds new line at end of file
    remove multi new line at end of file.
  3. move bp6a-specifi gpio function moved to s1sbp6a_gpio.c
  4. adds LEDs, Buzzer, Button at PinName.h
  5. adds brackets at BP6A_PIN_DATA parameter of PeripheralPins.c

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 12, 2020

CI restarted

@mbed-ci
Copy link

mbed-ci commented Aug 12, 2020

Jenkins CI Test : ✔️ SUCCESS

Build Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_build-ARM ✔️
jenkins-ci/mbed-os-ci_build-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️
jenkins-ci/mbed-os-ci_dynamic-memory-usage ✔️
jenkins-ci/mbed-os-ci_cloud-client-pytest ✔️

@0xc0170 0xc0170 merged commit aff95c0 into ARMmbed:master Aug 13, 2020
@mergify mergify bot removed the ready for merge label Aug 13, 2020
@mbedmain mbedmain added Release-pending and removed release-type: patch Indentifies a PR as containing just a patch Release-pending labels Aug 16, 2020
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.

6 participants