1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-02-19 05:26:53 +00:00

Merge pull request #1 from retrofun/fatfs

Refuse to build the firmware if newlib has no long long type support
This commit is contained in:
gyurco
2021-05-25 21:00:17 +02:00
committed by GitHub

4
main.c
View File

@@ -60,6 +60,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "mist_cfg.h"
#include "cdc_enumerate.h"
#ifndef _WANT_IO_LONG_LONG
#error "newlib lacks support of long long type in IO functions. Please use a toolchain that was compiled with option --enable-newlib-io-long-long."
#endif
const char version[] = {"$VER:ATH" VDATE};
extern hdfTYPE hdf[2];