Commit Graph

100 Commits

Author SHA1 Message Date
chao an
4d79a5cbaf add initial cmake build system
Co-authored-by: Daniel Agar <daniel@agar.ca>
Signed-off-by: chao an <anchao@xiaomi.com>
2023-07-08 13:52:02 +08:00
simbit18
d65c51b0c6 apps/platform/bin/Makefile: fix nxstyle
fix error: Relative file path does not match actual file
2023-03-21 20:37:38 -03:00
chao an
1927f8060c build/Kconfig: add BINDIR/APPSBINDIR to support out of tree build
First decoupling changes related to CMAKE

Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-10 16:30:43 +08:00
Xiang Xiao
a29d9ea9da fsutils/examples: Include unistd.h explicitly
to get the prototypes or macros are defined in it

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-05 08:46:59 +02:00
zouboan
776136a113 Fix various error in Windows native build 2022-12-08 13:22:13 +08:00
Xiang Xiao
893387b2c5 Fix the minor style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 19:07:16 +02:00
Alin Jerpelea
d60fb1168d nxstyle fixes
fixes for nxstyle errors reported by CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
e07ac9bc96 platform: dummy: Add Apache License
The initial contribution was missing a license.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
bf35210229 platform: mikroe-stm32f4: update licenses to Apache
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-11 02:42:05 -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
SPRESENSE
63cd701958 Makefile: Unify ROOTDEPPATH into DEPPATH
DEPPATH is commonly used in nuttx repo, so it to be the same with them.
2020-07-29 15:22:20 +02: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
b217de70e5 apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE
since it is moved to the central place in nuttx side instead

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I544d6110f1ca6460f7c82f970870aa9b1e7ab3dd
2020-07-01 10:03:12 -06: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
liuhaitao
d89d8b1a2c Remove the additional UNLINKDIR to fix parallel build break 2020-02-24 22:54:35 +00:00
Gregory Nutt
40d9e25ac3 apps/platform/.gitignore: Add ZDS-II temp files. 2020-02-23 10:38:16 -06:00
Xiang Xiao
779197c63e Ensure all source code end with one and only one newline
by this command:
git ls-files -z | while IFS= read -rd '' f; do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
2020-02-09 08:14:49 -06:00
Xiang Xiao
1154735ca6 Refine the preprocess conditional guard style 2020-01-31 11:04:10 -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
YAMAMOTO Takashi
b6890df58d Fix a build on macOS
On some platforms like macOS, we can't create an empty archive.
2020-01-29 09:03:01 +01: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
Xiang Xiao
9a27d4a697 Makefiles: Remove .PRECIOUS if Makefile doesn't touch libapps. 2019-10-01 11:48:55 -06:00
Gregory Nutt
496dd934cb apps/platform/Makefile: Fix missing dependency path in Makefile. 2018-09-03 10:39:14 -06:00
anchao
b5cfd93444 apps/: Modification to build system: Unified application compilation rules 2018-09-03 09:29:56 -06:00
Gregory Nutt
401687c04b apps/Makefile and platform/Makefile: At clean_context targets that are now invoked from the main nuttx/Makefile. 2018-05-31 14:48:00 -06:00
Gregory Nutt
0509c48ca3 Various fixes necessary to build the simulator under MSYS. 2018-05-31 13:26:18 -06:00
Gregory Nutt
7a8561728c The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree. 2017-08-13 11:03:17 -06:00
Gregory Nutt
a66da34f18 All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile. Hopefully this will end awkward problems when you Control-C out of a build and libapps.a is deleted. 2017-08-13 09:35:14 -06:00
Gregory Nutt
013a8a0774 platform/Makefile: More attempts to fix for Windows native build. 2017-07-06 20:17:56 -06:00
Jeff
175610de48 Windows build fixes: Backslash as a delimiter causes problems in pattern subsitutions 2017-07-06 14:27:16 -06:00
Gregory Nutt
c8ae5f1674 platform/mikroe-stm32f4: Update for some coding standard issues. 2017-06-14 12:01:13 -06:00
Gregory Nutt
b08ea68a33 Move prototype from nuttx/include/nuttx/arch.h to apps/include/platform/cxxinitialize.h 2017-05-13 16:53:33 -06:00
Gregory Nutt
041d0d2c68 apps/platform: Fix an error in dependency generation introduced with last changes 2017-05-13 12:36:25 -06:00
Gregory Nutt
7a21692496 apps/platform: Create gnu/ subdirectory that contains the one and only GNU C++ initialization function. Remove all other C++ initialization functions. 2017-05-13 12:06:01 -06:00
Juha Niskanen
cf866aa6fb Add platform files for nucleo-l452re and nucleo-l496zg 2017-05-08 09:19:28 +03:00
Gregory Nutt
3b959bdf4e Clicker2-STM32: Correct name of platform directory 2017-03-22 11:00:49 -06:00
Gregory Nutt
dff912dc7c Clicker-STM32: Add platform directory w/ C++ support 2017-03-22 10:51:38 -06:00
Alan Carvalho de Assis
602e7fe9b1 Add c++ platform/bambino-200e with C++ initialization 2017-03-08 16:34:39 -06:00
raiden00pl
eda07c730d Add platform files for nucleo-f334r8 2017-02-26 10:58:42 +01:00
Gregory Nutt
56397f59fc Add platform support for the Olimex STM32 P407 2016-12-21 10:55:56 -06:00
Gregory Nutt
8805ef1f72 platform/esp32-core: Fix some naming that prenvented building the C++ support. 2016-11-14 13:46:38 -06:00
Gregory Nutt
0b810c5339 Add platform support for the ESP32 core v2 board 2016-10-31 15:31:53 -06:00
Gregory Nutt
7f59a3f69e apps/platform: Add support for STM32L476-MDK 2016-10-06 07:18:36 -06:00