Skip to content

TARGET_NRF5: Removed waiting for TX completed from 'serial_putc()'. #2822

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
Sep 28, 2016

Conversation

anangl
Copy link
Contributor

@anangl anangl commented Sep 27, 2016

This waiting was earlier added (by me) to make tests MBED_37 and MBED_38 pass. I saw similar code in other ports, EFM32 for instance.
But obviously, this has a performance penalty, especially significant in case 'serial_putc' is called from an interrupt handler. Hence, I moved it to 'serial_init()'.

…erial_init()' to allow passing tests MBED_37/38.
@anangl anangl changed the title TARGET_NRF: Removed waiting for TX completed from 'serial_putc()'. TARGET_NRF5: Removed waiting for TX completed from 'serial_putc()'. Sep 27, 2016
@mazimkhan
Copy link

retest uvisor

1 similar comment
@mazimkhan
Copy link

retest uvisor

@bridadan
Copy link
Contributor

/morph test

@mbed-bot
Copy link

Result: SUCCESS

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

/morph test

Output

mbed Build Number: 966

All builds and test passed!

@sg-
Copy link
Contributor

sg- commented Sep 28, 2016

@anangl There is a conflict that needs to be resolved.

Conflicting files
hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/serial_api.c

* 'master' of https://github.com/ARMmbed/mbed-os: (63 commits)
  [XDOT_L151] add IAR support
  Modify mbedtls scripts to add config-no-entropy.h
  Remove extra spaces
  [XDOT_L151] include xDot in mbed 5 releases
  [STM32F429ZI] INITIAL_SP correction
  [STM32F091RC] patch for tests-mbedmicro-rtos-mbed-threads
  mbedtls trng - remove MBEDTLS_ENTROPY_HARDWARE_ALT
  targets - add TRNG device_has to STM32F7 targets
  mbedtls - move TRNG mbed impl into platform folder
  TRNG HAL - fix length doc wording for get_bytes
  HAL TRNG - add dummy variable to empty structs
  TRNG - protect HAL implementation if DEVICE_TRNG is not defined
  TRNG - remove set seed function
  HAL - RNG rename to TRNG
  HAL - rng nuvoton cleanup code style
  RNG - fix warnings due to obj not used for some targets
  RNG - rename rng_get_numbers to rng_get_bytes
  mbedtls - mbed wrapper rename to mbed_rng
  HAL: Add rng set seed value function
  NUMAKER_PFM_NUC472: Add RGN HAL API implementation
  ...

# Conflicts:
#	hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/serial_api.c
@anangl
Copy link
Contributor Author

anangl commented Sep 28, 2016

Resolved.

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 28, 2016

/morph test

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.

LGTM

@mbed-bot
Copy link

Result: SUCCESS

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

/morph test

Output

mbed Build Number: 975

All builds and test passed!

@bridadan
Copy link
Contributor

@mbed-bot: TEST

HOST_OSES=ALL
BUILD_TOOLCHAINS=ALL
TARGETS=ALL

@mbed-bot
Copy link

[Build 996]
SUCCESS: Building succeeded and tests were run! Be sure to check the test results

@sg- sg- merged commit 2564a83 into ARMmbed:master Sep 28, 2016
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