mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-06-24 01:41:35 +03:00
Upgrade to latest mbed-drivers version
This commit is contained in:
@ -153,8 +153,9 @@ int example(void)
|
||||
#if defined(TARGET_LIKE_MBED)
|
||||
|
||||
#include "mbed/test_env.h"
|
||||
#include "minar/minar.h"
|
||||
|
||||
int main() {
|
||||
static void run() {
|
||||
/* Use 115200 bps for consistency with other examples */
|
||||
Serial pc(USBTX, USBRX);
|
||||
pc.baud(115200);
|
||||
@ -166,6 +167,10 @@ int main() {
|
||||
MBED_HOSTTEST_RESULT(example() == 0);
|
||||
}
|
||||
|
||||
void app_start(int, char*[]) {
|
||||
minar::Scheduler::postCallback(FunctionPointer0<void>(run).bind());
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
int main() {
|
||||
|
Reference in New Issue
Block a user