configs/makerlisp/nsh/defconfig: Enable Procfs, RTC, and SPI-based SD support. Various fixes under arch/z80/src/ez80 for a clean compile.

This commit is contained in:
Gregory Nutt
2019-06-16 14:45:38 -06:00
parent a02858365a
commit 1fd6c432fc
11 changed files with 193 additions and 115 deletions
+2 -3
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* fs/mount/fs_procfs_mount.c
*
* Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
* Copyright (C) 2017-2019 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -483,6 +483,7 @@ static ssize_t mount_read(FAR struct file *filep, FAR char *buffer,
size_t buflen)
{
FAR struct mount_file_s *procfile;
struct mount_info_s info;
foreach_mountpoint_t handler;
ssize_t ret;
@@ -495,8 +496,6 @@ static ssize_t mount_read(FAR struct file *filep, FAR char *buffer,
/* Provide the requested data */
struct mount_info_s info;
memset(&info, 0, sizeof(struct mount_info_s));
info.line = procfile->line;
info.buffer = buffer;