with rtos

Dependencies:   BufferedSerial SX1276GenericLib

Fork of DISCO-L072CZ-LRWAN1_LoRa_PingPong by ST

main.h

Committer:
chauvet
Date:
2017-11-05
Revision:
13:f5e919c6a85e
Parent:
12:eaaa8f1b6f09

File content as of revision 13:f5e919c6a85e:

/*
 * Copyright (c) 2017 Helmut Tschemernjak
 * 30826 Garbsen (Hannover) Germany
 * Licensed under the Apache License, Version 2.0);
 */

#include "mbed.h"
#include "PinRadio.h"
#include "BufferedSerial.h"
#include "GenericPingPong.h"

void SystemClock_Config(void);

extern BufferedSerial *ser;
extern void dump(const char *title, const void *data, int len, bool dwords = false);

#define dprintf(...) { ser->printf(__VA_ARGS__); ser->printf("\r\n"); }