5 years, 4 months ago.

Wait_ns not defined?

Hello,

Today I noticed that wait_ns is under defined. It should be included in the wait_api as described in the reference: https://os.mbed.com/docs/mbed-os/v5.12/mbed-os-api-doxy/group__platform__wait__api.html I wanted to see if wait_api is listed under the documentation of mbed (in the compiler), but I can't because it gives the error: "Documentation not ready" (When I refresh the tree the problem still occurs). Or is the function wait_ns removed from mbed because it could not be timed accurately? I have include pictures of both problems. Im using a Nucleo F303K8 board.

Best regards, Robert

1 Answer

5 years, 4 months ago.

Hi there,

The documentation what you show above is from Mbed OS 5 library. Here is the method wait_ns() already defined. The problem is the MbedOS5 is not supported on your target (NUCLEO-F303K8), so you can use only MbedOS2 where wait_ns() in not defined, how you wrote.

Best regards J.

Accepted Answer

I understand now, thanks for the reply.

Best Regards, Robert

posted by R. Bouwmeester 08 Jul 2019