summaryrefslogtreecommitdiff
path: root/bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/RISCV/stubs/stub.h
blob: 4381156846d64d0a21e9223443ca300498b3ea1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* See LICENSE of license details. */
#ifndef _NUCLEI_SYS_STUB_H
#define _NUCLEI_SYS_STUB_H

#include <stdint.h>
#if   defined (__GNUC__)
#include <unistd.h>
#endif

void write_hex(int fd, unsigned long int hex);

static inline int _stub(int err)
{
  return -1;
}


#endif /* _NUCLEI_SYS_STUB_H */