mbed library sources
Fork of mbed-src by
targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/utilities/src/fsl_os_abstraction_mbed.c@168:cf9372ac0a74, 2014-04-24 (annotated)
- Committer:
- mbed_official
- Date:
- Thu Apr 24 10:45:06 2014 +0100
- Revision:
- 168:cf9372ac0a74
Synchronized with git revision 94fd2228fb4a382fb98d0115f6691fc0b659eea8
Full URL: https://github.com/mbedmicro/mbed/commit/94fd2228fb4a382fb98d0115f6691fc0b659eea8/
Currently NET_7 (HttpClient test) and NET_8 (NTP test) fail for
unknown reasons.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 168:cf9372ac0a74 | 1 | /* fsl_os_mbed_abstraction.h */ |
mbed_official | 168:cf9372ac0a74 | 2 | /* Copyright (C) 2012 mbed.org, MIT License |
mbed_official | 168:cf9372ac0a74 | 3 | * |
mbed_official | 168:cf9372ac0a74 | 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
mbed_official | 168:cf9372ac0a74 | 5 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
mbed_official | 168:cf9372ac0a74 | 6 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
mbed_official | 168:cf9372ac0a74 | 7 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
mbed_official | 168:cf9372ac0a74 | 8 | * furnished to do so, subject to the following conditions: |
mbed_official | 168:cf9372ac0a74 | 9 | * |
mbed_official | 168:cf9372ac0a74 | 10 | * The above copyright notice and this permission notice shall be included in all copies or |
mbed_official | 168:cf9372ac0a74 | 11 | * substantial portions of the Software. |
mbed_official | 168:cf9372ac0a74 | 12 | * |
mbed_official | 168:cf9372ac0a74 | 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
mbed_official | 168:cf9372ac0a74 | 14 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
mbed_official | 168:cf9372ac0a74 | 15 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
mbed_official | 168:cf9372ac0a74 | 16 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
mbed_official | 168:cf9372ac0a74 | 17 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
mbed_official | 168:cf9372ac0a74 | 18 | */ |
mbed_official | 168:cf9372ac0a74 | 19 | |
mbed_official | 168:cf9372ac0a74 | 20 | #include "fsl_os_abstraction.h" |
mbed_official | 168:cf9372ac0a74 | 21 | #include "wait_api.h" |
mbed_official | 168:cf9372ac0a74 | 22 | |
mbed_official | 168:cf9372ac0a74 | 23 | fsl_rtos_status lock_destroy(lock_object_t *obj) { |
mbed_official | 168:cf9372ac0a74 | 24 | return kSuccess; |
mbed_official | 168:cf9372ac0a74 | 25 | } |
mbed_official | 168:cf9372ac0a74 | 26 | |
mbed_official | 168:cf9372ac0a74 | 27 | |
mbed_official | 168:cf9372ac0a74 | 28 | fsl_rtos_status event_set(event_object_t *obj, event_group_t flags) { |
mbed_official | 168:cf9372ac0a74 | 29 | return kSuccess; |
mbed_official | 168:cf9372ac0a74 | 30 | } |
mbed_official | 168:cf9372ac0a74 | 31 | |
mbed_official | 168:cf9372ac0a74 | 32 | void time_delay(uint32_t delay) { |
mbed_official | 168:cf9372ac0a74 | 33 | wait_ms(delay); |
mbed_official | 168:cf9372ac0a74 | 34 | } |
mbed_official | 168:cf9372ac0a74 | 35 |