Skip to content

Fix ncs36510 sleep definitions #3664

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
Feb 2, 2017
Merged

Conversation

0xc0170
Copy link
Contributor

@0xc0170 0xc0170 commented Jan 31, 2017

Description

The sleep functions within targets HAL were renamed, and this was probably oversight that came to light recently. This should fix redefinition error plus fix also header file name there to get proper declarations for its internal sleep functions.

Related PRs

This patch should make this one green: #3654

cc @bulislaw @pradeep-gr @geky

This private header should have unique name, that does not collide with
generic names like sleep.h
This resolves an error that sleep is already defined.
@0xc0170
Copy link
Contributor Author

0xc0170 commented Jan 31, 2017

Tests:

+--------------+---------------+--------------------------+------------------------+--------+--------+--------+--------------------+
| target       | platform_name | test suite               | test case              | passed | failed | result | elapsed_time (sec) |
+--------------+---------------+--------------------------+------------------------+--------+--------+--------+--------------------+
| NCS36510-ARM | NCS36510      | tests-mbed_hal-lp_ticker | 1ms lp_ticker          | 1      | 0      | OK     | 0.05               |
| NCS36510-ARM | NCS36510      | tests-mbed_hal-lp_ticker | 1s lp_ticker           | 1      | 0      | OK     | 1.04               |
| NCS36510-ARM | NCS36510      | tests-mbed_hal-lp_ticker | 1s lp_ticker deepsleep | 1      | 0      | OK     | 1.06               |
| NCS36510-ARM | NCS36510      | tests-mbed_hal-lp_ticker | 1s lp_ticker sleep     | 1      | 0      | OK     | 1.05               |
| NCS36510-ARM | NCS36510      | tests-mbed_hal-lp_ticker | 500us lp_ticker        | 1      | 0      | OK     | 0.04               |
| NCS36510-ARM | NCS36510      | tests-mbed_hal-lp_ticker | 5s lp_ticker           | 1      | 0      | OK     | 5.04               |
+--------------+---------------+--------------------------+------------------------+--------+--------+--------+--------------------+

@0xc0170 0xc0170 changed the title Fix ncs36510sleep Fix ncs36510 sleep definitions Jan 31, 2017
@0xc0170
Copy link
Contributor Author

0xc0170 commented Jan 31, 2017

/morph test

@geky
Copy link
Contributor

geky commented Jan 31, 2017

Should this be fncs36510_sleep.h or ncs36510_sleep.h?

@0xc0170
Copy link
Contributor Author

0xc0170 commented Jan 31, 2017

Should this be fncs36510_sleep.h or ncs36510_sleep.h?

Not much relevant there. I named is as functions are called fncsXXXX. I can rename them .

@geky
Copy link
Contributor

geky commented Jan 31, 2017

Ah ok, was just wondering if it was a typo 👍

@bridadan
Copy link
Contributor

Sorry bot was down for a bit. Restarting morph.

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 1483

All builds and test passed!

@sg- sg- merged commit b681b49 into ARMmbed:master Feb 2, 2017
@0xc0170 0xc0170 deleted the fix_ncs36510sleep branch September 1, 2020 14:09
aisair pushed a commit to aisair/mbed that referenced this pull request Apr 30, 2024
Ports for Upcoming Targets


Fixes and Changes

3432: Target STM USBHOST support ARMmbed/mbed-os#3432
3181: NUCLEO_F207ZG extending PeripheralPins.c: all available alternate functions can be used now ARMmbed/mbed-os#3181
3626: NUCLEO_F412ZG : Add USB Device +Host ARMmbed/mbed-os#3626
3628: Fix warnings ARMmbed/mbed-os#3628
3629: STM32: L0 LL layer ARMmbed/mbed-os#3629
3632: IDE Export support for platform VK_RZ_A1H ARMmbed/mbed-os#3632
3642: Missing IRQ pin fix for platform VK_RZ_A1H ARMmbed/mbed-os#3642
3664: Fix ncs36510 sleep definitions ARMmbed/mbed-os#3664
3655: [STM32F4] Modify folder structure ARMmbed/mbed-os#3655
3657: [STM32L4] Modify folder structure ARMmbed/mbed-os#3657
3658: [STM32F3] Modify folder structure ARMmbed/mbed-os#3658
3685: STM32: I2C: reset state machine ARMmbed/mbed-os#3685
3692: uVisor: Standardize available legacy heap and stack ARMmbed/mbed-os#3692
3621: Fix for #2884, LPC824: export to LPCXpresso, target running with wron ARMmbed/mbed-os#3621
3649: [STM32F7] Modify folder structure  ARMmbed/mbed-os#3649
3695: Enforce device_name is valid in targets.json ARMmbed/mbed-os#3695
3723: NCS36510: spi_format function bug fix ARMmbed/mbed-os#3723
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