Commit Graph

51 Commits

Author SHA1 Message Date
xuxin19 6e2d5e56f8 Revert "fix progname do not match issue"
This reverts commit c230321cae07966837141e5c84600da53b3b6227.
2026-04-20 15:12:42 +08:00
openvela-robot 47496b1a6d Merge branch 'dev-merge-github-20230228' into dev 2026-04-20 15:12:39 +08:00
xuxin19 0d33af7c37 Revert "fix progname do not match issue"
This reverts commit c230321cae07966837141e5c84600da53b3b6227.
2026-04-20 15:12:32 +08:00
openvela-robot 4f05ad9fe7 libsodium depends on ICS license 2026-04-20 15:12:18 +08:00
openvela-robot 7f37c4d892 testing/gpu: add tiled image test
Signed-off-by: Xuxingliang <xuxingliang@xiaomi.com>
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2026-04-20 15:12:17 +08:00
openvela-robot 5b23db4349 mbedtls: use 'getrandom' to get system entropy
use getrandom to get system entropy and not dependent on config DEVURANDOM
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:12:15 +08:00
openvela-robot ad54f17af8 Fix coremark/core_util.c:210:17: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:12:14 +08:00
openvela-robot 4d5c354ef7 system/fastboot: Fix command comparation
e.g. The command is "reboot-bootloader", but will match and break when
     compared  with "reboot"

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2026-04-20 15:12:11 +08:00
openvela-robot 686ec3623d Application.mk:define main entry MAINNAME relatively
when a program has multiple MAINSRC for incremental compilation,
the PROGNAME of the compiled file may generate errors
-------------------- compile definition error ---------------------
cc -c -g CFLAGS INCLUDEDIR -Dmain=funA_main funB.c -o funB.c.path.o
                             ^^^^  ^^^^^^    ^^^^
-------------------------------------------------------------------
use the MAINOBJ:PROGNAME mapping variable to define the main entry name

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:12:11 +08:00
xuxin19 5e85fa28f6 fix progname do not match issue
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:12:09 +08:00
openvela-robot 625968d914 nshlib: support c++ access nsh api
N/A

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 14:56:29 +08:00
openvela-robot 406e7bc0b6 Add lvx_msgbox in Kconfig.
N/A

Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2026-04-20 14:56:26 +08:00
openvela-robot 401291a9f7 system/critmon: add thread run time support
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:56:23 +08:00
openvela-robot a2996be919 examples/watchdog: add depends on CONFIG_WATCHDOG
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:56:11 +08:00
openvela-robot 31bba56215 examples/watchdog: add depends on CONFIG_WATCHDOG
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:56:08 +08:00
openvela-robot a12f989dba lvgl: lv_ffmpeg support dynamic picture decoding.
N/A

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 14:56:04 +08:00
openvela-robot 36d321395e apps/system: fix command history behavior (2)
N/A
Fixing "last command" misbehavior when one command in history is a
substring of another.

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 14:56:02 +08:00
openvela-robot 53e5b9156a examples: Update lvgldemo to lvgl v8.
N/A

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 14:56:00 +08:00
openvela-robot 48431654da system/critmon: add critmon program for critmon once
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:55:58 +08:00
openvela-robot 4339683cce lv_porting for lvgl v8 (rebase on dev) 2026-04-20 14:55:54 +08:00
openvela-robot 1114d5d66f testing/fstest: Add O_TRUNC flag in fstest_wrfile
to avoid the interference from the lasting run

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 14:55:49 +08:00
openvela-robot cf3e9c7b5b addroute: inet_pton cannot accept slash notation. We must fixup the argument before calling. 2026-04-20 14:55:46 +08:00
openvela-robot d19997aa17 Call posix_spawn with filename as the first argv entry
pair with the kernel side change to follow the standard defintion:
https://pubs.opengroup.org/onlinepubs/009695399/functions/posix_spawn.html

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 14:55:45 +08:00
openvela-robot 692af7d081 Follow up task_spawn change from kernel side
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 14:55:30 +08:00
Alin Jerpelea 9118817401 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>
2026-04-20 14:55:08 +08:00
Xiang Xiao 13e15c093b 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>
2026-04-20 14:51:11 +08:00
Xiang Xiao eb34b24f32 build: Remove the workaround for the inexistence of .config/Make.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 14:51:03 +08:00
YAMAMOTO Takashi b76d92c313 Replace "STACKSIZE = 2048" with CONFIG_DEFAULT_TASK_SIZE
For now, I left the following instances because it isn't
clear to me why they are using the different values.
Maybe they need one-by-one inspection.

    examples/igmp/Makefile:STACKSIZE = 1024
    examples/powerled/Makefile:STACKSIZE = 1024
    examples/powermonitor/Makefile:STACKSIZE = 768
    examples/relays/Makefile:STACKSIZE = 512
    examples/smps/Makefile:STACKSIZE = 1024
    graphics/screenshot/Makefile:STACKSIZE = 4096
    system/flash_eraseall/Makefile:STACKSIZE = 1024
    testing/cxxtest/Makefile:STACKSIZE = 4096
    testing/smart_test/Makefile:STACKSIZE = 4096
2026-04-20 14:50:26 +08:00
Gregory Nutt 3d2914e524 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. 2026-04-20 14:49:53 +08:00
Xiang Xiao 70785fdbd9 Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard. 2026-04-20 14:49:52 +08:00
Xiang Xiao 1c8739a65e Clean up Makefile under apps folder no functional changes. 2026-04-20 14:49:51 +08:00
Gregory Nutt 0dd150d95c apps/system/critmon: Add a daemon on monitor critical sections. 2026-04-20 14:49:05 +08:00
openvela-robot 27d30dd138 Merge remote-tracking branch 'apps/NxWidgets' 2026-04-20 14:48:48 +08:00
openvela-robot b290b68f06 Merge remote-tracking branch 'NxWidgets/master' 2026-04-20 14:48:44 +08:00
anchao afa07ccacd apps/: Modification to build system: Unified application compilation rules 2026-04-20 14:48:39 +08:00
anchao 4d6fd9ef67 Squashed commit of the following:
Author: anchao <anchao@pinecone.net>

     apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
     Loadable apps/: Correct loadable symbol table generate
     apps/system/ubloxmodem:  Fix build break
     apps/examples/ostest: start restart/waitpid/user test from main loop
     apps/nshlib:  Expand reboot and poweroff commands to include a second, optional mode argument

    Author: Gregory Nutt <gnutt@nuttx.org>

     An attempt to fix build issues.  Does not work.
     apps/examples/ostest:  Fix some inappropriate renaming of static functions introduced with recent patches.
     apps/builtin/exec_builtin.c:  Fix a error introduced by recent comments.  Found in build testing.

    Author: anchao <anchao@pinecone.net>

     apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
     apps/Application.mk: introduce MODULE config to simplify tristate(m)
     apps/nsh:  Change the nuttx shell module type to tristate
     apps:  Add loadable application support
     script/mksymtab:  Generate symbol table name by default
     apps/builtin:  Allow loadable applications can register with apps/builtin.
2026-04-20 14:48:36 +08:00
openvela-robot 6c5c341c59 apps/system/zmodem:
- fix error "sz_main.o: No such file or directory"
  - support -p <path> for rz to change the folder for the recevied file
  - switch debug output from printf to syslog
  - send the next packet for ZME_ACK in ZMS_SENDING to avoid rz on the host side stuck
  - make send work reliable even without hardware flow control
2026-04-20 14:48:34 +08:00
openvela-robot 810cc5f664 Prep for NxWidgets 1.0 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4506 42af7a65-404d-4744-a932-0658087f49c3
2026-04-20 14:48:02 +08:00
Gregory Nutt 2f982e9c77 Revert "Squashed commit of the following:"
This reverts commit 25b92edd9f.
2018-08-22 12:06:32 -06:00
anchao 25b92edd9f Squashed commit of the following:
apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
    apps/Application.mk: introduce MODULE config to simplify tristate(m)
    apps/nsh:  Change the nuttx shell module type to tristate
    apps:  Add loadable application support
    script/mksymtab:  Generate symbol table name by default
    apps/builtin:  Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -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 3e83aa7388 Add apps/include to include path in top-level Make.defs file. Remove multiple definitions of INCDIR opt. 2016-07-11 10:45:17 -06:00
Sebastien Lorquet bfff5e7179 Add empty preconfig rules to 'leaf' makefiles 2016-06-02 16:24:30 +02:00
Gregory Nutt 61751ad39f Fix compile problems introduced when the syslog() prototype changed; Also update Makefile for kernel build 2014-10-22 12:05:39 -06:00
Gregory Nutt 681b3baf96 Changes to many Makefiles. For kernel buil object containing main cannot go into library because of name collisions. The object file must be handled as a special case in every Makefile 2014-09-07 09:17:23 -06:00
Gregory Nutt c35653cd05 Only one install target per Makefile 2014-09-06 10:05:01 -06:00
Gregory Nutt d6bcd1a93a Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished) 2014-09-06 08:00:47 -06:00
Gregory Nutt b9cf7acb1a More trailing whilespace removal 2014-04-13 16:24:28 -06:00
Gregory Nutt 4e6f5be08a Stack monitor fixes 2013-09-24 12:13:53 -06:00