Commit Graph

38 Commits

Author SHA1 Message Date
Xiang Xiao
8ba32a8c16 Fix the printf warning after blkcnt_t change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-22 04:44:16 -07:00
Alin Jerpelea
f99a4f557d fsutils: update licenses to Apache
Gregory Nutt is has submitted the SGA
Ken Pettit has submitted the ICLA

 as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-08 08:43:15 -05:00
Alin Jerpelea
ec339bc49a Makefiles: Gregory Nutt: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-07 21:35:33 -05:00
Abdelatif Guettouche
3fc062e9cd fsutils/mkfatfs/Kconfig: Select BCH
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-23 23:53:03 -07:00
Byron Ellacott
2e17cd2e6b fsutils: update geometry size (c.f. apache/incubator-nuttx#2861) 2021-02-18 20:38:56 -08:00
YAMAMOTO Takashi
e9a48d174e fsutils/mkfatfs/configfat.c: Fix syslog formats 2020-12-01 07:45:05 +01:00
YAMAMOTO Takashi
89ada765d3 fsutils/mkfatfs/mkfatfs.c: Fix a syslog format 2020-11-21 18:46:07 -08:00
YAMAMOTO Takashi
e4584b00d6 fsutils/mkfatfs/writefat.c: Fix syslog formats 2020-11-20 07:29:43 -08:00
YAMAMOTO Takashi
807fab7836 fsutils/mkfatfs/writefat.c: Appease nxstyle 2020-11-20 07:29:43 -08:00
YAMAMOTO Takashi
2c0c033b43 fsutils/mkfatfs/configfat.c: Fix syslog formats 2020-11-20 07:29:43 -08:00
YAMAMOTO Takashi
b92526ab2b fsutils/mkfatfs/configfat.c: Appease nxstyle 2020-11-20 07:29:43 -08:00
YAMAMOTO Takashi
2319502ea3 fsutils/mkfatfs/mkfatfs.c: Fix syslog formats 2020-11-20 07:29:43 -08:00
Xiang Xiao
deaa6c5b7b build: Replace $(TOPDIR)/Make.defs with $(APPDIR)/Make.defs
and move NUTTXLIB defintion to the common place

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 15:17:37 -03:00
Xiang Xiao
69f013e74e build: Remve the unnecessary .gitignore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-23 15:56:35 +01:00
Xiang Xiao
ead498a788 build: Remove the workaround for the inexistence of .config/Make.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
Gregory Nutt
b2d8c501f6 Remove use of set_errno() from application code.
The normal assignment errno = errcode should work fine now.
2020-05-07 22:23:19 +01:00
Xiang Xiao
e72608e0d8 Fix nxstyle issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-02 09:45:44 -06:00
Xiang Xiao
1511403fdf Revert "Don't generate .depend anymore"
This reverts commit cc5ad09caa.
2020-03-22 23:09:40 -05:00
Xiang Xiao
cc5ad09caa
Don't generate .depend anymore 2020-03-22 18:15:21 +00:00
Xiang Xiao
41d88f06e7 Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
Xiang Xiao
d660492289 Run codespell -w against all files
and fix the wrong correction
2020-02-22 14:41:36 -06:00
Xiang Xiao
e0dcfa0c55 Remove extra whitespace from files (#43)
* Remove multiple newlines at the end of file
* Remove the white space from the end of line
2020-01-31 08:29:24 -06:00
Xiang Xiao
857158451b Unify the void cast usage
1.Remove void cast for function because many place ignore the returned value witout cast
2.Replace void cast for variable with UNUSED macro

Change-Id: Ie644129a563244a6397036789c4c3ea83c4e9b09
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-02 23:21:01 +08:00
Xiang Xiao
7808eb62d2 apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path. 2019-10-17 11:33:59 -06:00
Gregory Nutt
3a23523147 Makefiles: This reverts part of commit cf0365ea9. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured. 2019-10-15 09:25:48 +08:00
Xiang Xiao
cf0365ea92 Clean up Makefile under apps folder no functional changes. 2019-10-04 08:35:46 -06:00
Gregory Nutt
305278d1ae Application.mk: Fix some issues when building directories such as fsutils/mkfatfs that have not mainobj. In this case, the MAINSRC is undefined and it would generate a bad linker command line. 2018-09-04 13:00:03 -06:00
anchao
b5cfd93444 apps/: Modification to build system: Unified application compilation rules 2018-09-03 09:29:56 -06:00
Gregory Nutt
a57610c2c4 Remove trailing spaces at the end of lines. 2018-08-13 07:47:26 -06:00
Gregory Nutt
822291b6e1 apps/fsutils/mkfatfs: Add some comments. Clean up some coding style issues. 2018-07-22 08:48:38 -06:00
Gregory Nutt
d365707d68 Add definitions for the FAT boot record (FBR). 2018-07-22 08:38:06 -06:00
Gregory Nutt
6916fa028b fs/fat: Clean up some name BS_ and MBR_ refer to the same record and should use the same naming (MBR_). 2018-07-22 06:58:09 -06:00
Gregory Nutt
878fa8afd5 Squashed commit of the following:
cosmetic

    import/:  Add Makefile.symtab which can be used to compile the dynamically created symbol table C file.

    Add tools/mksymtab.sh
2018-07-15 11:21:53 -06:00
Gregory Nutt
35da4e7fd4 fsutils/mkfatfs: Remove more unused macros 2017-11-02 19:03:50 -06:00
Gregory Nutt
92a44978db fsutils/mkfatfs: Remove some unused macros 2017-11-02 19:02:04 -06:00
Gregory Nutt
782526aa21 apps/fsutils/mkfatfs: When fsutils/mkfats was split off from the operating system, there were a few dangling things left. Some references to functions in the OS (which are not available in the protected and kernel modes) and several types and function prototeypes that don't exist is apps/fsutils/mkfatfs. 2017-11-02 18:45:55 -06:00
Gregory Nutt
602261bacb apps/fsutils/mkfatfs: Add a file that was part of a previous commit (but I missed it). 2017-10-21 08:51:45 -06:00
Gregory Nutt
35ec1b9244 Squashed commit of the following:
apps/fsutils/mkfatfs:  New user-space fatfs appears to work fine.
    apps/fsutils/mkfatfs:  Move mkfatfs from the OS to here.  Not fully integrated on the intial commit.
2017-10-20 12:35:19 -06:00