FreeRTOS error codes

The following table contains a list of the FreeRTOS error codes.

Decimal

Hexadecimal

Constant

Description

0

0x00000000

pdFREERTOS_ERRNO_NONE

No such file or directory

2

0x00000002

pdFREERTOS_ERRNO_ENOENT

No such file or directory

5

0x00000005

pdFREERTOS_ERRNO_EIO

I/O error

6

0x00000006

pdFREERTOS_ERRNO_ENXIO

No such device or address

9

0x00000009

pdFREERTOS_ERRNO_EBADF

Bad file number

10

0x0000000A

pdFREERTOS_ERRNO_EAGAIN

No more processes

11

0x0000000B

pdFREERTOS_ERRNO_EWOULDBLOCK

Operation would block

12

0x0000000C

pdFREERTOS_ERRNO_ENOMEM

Not enough core

13

0x0000000D

pdFREERTOS_ERRNO_EACCES

Permission denied

14

0x0000000E

pdFREERTOS_ERRNO_EFAULT

Bad address

16

0x00000010

pdFREERTOS_ERRNO_EBUSY

Mount device busy

17

0x00000011

pdFREERTOS_ERRNO_EEXIST

File exists

18

0x00000012

pdFREERTOS_ERRNO_EXDEV

Cross-device link

19

0x00000013

pdFREERTOS_ERRNO_ENODEV

No such device

20

0x00000014

pdFREERTOS_ERRNO_ENOTDIR

Not a directory

21

0x00000015

pdFREERTOS_ERRNO_EISDIR

Is a directory

22

0x00000016

pdFREERTOS_ERRNO_EINVAL

Invalid argument

28

0x0000001C

pdFREERTOS_ERRNO_ENOSPC

No space left on device

29

0x0000001D

pdFREERTOS_ERRNO_ESPIPE

Illegal seek

30

0x0000001E

pdFREERTOS_ERRNO_EROFS

Read only file system

42

0x0000002A

pdFREERTOS_ERRNO_EUNATCH

Protocol driver not attached

50

0x00000032

pdFREERTOS_ERRNO_EBADE

Invalid exchange

79

0x0000004F

pdFREERTOS_ERRNO_EFTYPE

Inappropriate file type or format

89

0x00000059

pdFREERTOS_ERRNO_ENMFILE

No more files

90

0x0000005A

pdFREERTOS_ERRNO_ENOTEMPTY

Directory not empty

91

0x0000005B

pdFREERTOS_ERRNO_ENAMETOOLONG

File or path name too long

95

0x0000005F

pdFREERTOS_ERRNO_EOPNOTSUPP

Operation not supported on transport endpoint

105

0x00000069

pdFREERTOS_ERRNO_ENOBUFS

No buffer space available

109

0x0000006D

pdFREERTOS_ERRNO_ENOPROTOOPT

Protocol not available

112

0x00000070

pdFREERTOS_ERRNO_EADDRINUSE

Address already in use

116

0x00000074

pdFREERTOS_ERRNO_ETIMEDOUT

Connection timed out

119

0x00000077

pdFREERTOS_ERRNO_EINPROGRESS

Connection already in progress

120

0x00000078

pdFREERTOS_ERRNO_EALREADY

Socket already connected

125

0x0000007D

pdFREERTOS_ERRNO_EADDRNOTAVAIL

Address not available

127

0x0000007F

pdFREERTOS_ERRNO_EISCONN

Socket is already connected

128

0x00000080

pdFREERTOS_ERRNO_ENOTCONN

Socket is not connected

135

0x00000087

pdFREERTOS_ERRNO_ENOMEDIUM

No medium inserted

138

0x0000008A

pdFREERTOS_ERRNO_EILSEQ

An invalid UTF-16 sequence was encountered

140

0x0000008C

pdFREERTOS_ERRNO_ECANCELED

Operation cancelled