Skip to content

Commit 87a6802

Browse files
committed
WIP why do we need to link to _sbrk_r?
1 parent 9a8ca29 commit 87a6802

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

examples/generic/usbfatfs/main.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,13 @@ initializeFatFs()
134134
f_mount(NULL, "", 1);
135135
}
136136

137+
/// WHYYYY DO WE NEED THIS????
138+
modm_extern_c void *
139+
_sbrk_r(struct _reent *, ptrdiff_t)
140+
{
141+
return NULL;
142+
}
143+
137144
// ----------------------------------------------------------------------------
138145
int
139146
main()

0 commit comments

Comments
 (0)