Commit Graph

1889 Commits

Author SHA1 Message Date
Xiang Xiao
cde88cabcc Run codespell -w with the latest dictonary again
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-02-23 22:27:46 +01:00
Xiang Xiao
bd4e8e19d3 Run codespell -w against all files
and fix the wrong correction
2020-02-22 14:45:07 -06:00
Gregory Nutt
5a3e8874bc boards/z80/ez80/z20x: Initial port to z20x board.
The Z20X is a simple expandable DIY computing system, built around the eZ80 microprocessor.  Reference: https://z20x.computer
2020-02-21 15:20:36 +01:00
Xiang Xiao
553f12b4e8 syslog: Remove SYSLOG_SERIAL_CONSOLE which isn't really used 2020-02-19 07:19:20 -06:00
Xiang Xiao
51a2171c71 ramlog: Remove g_ramlog_syslog_channel since it's same as g_default_channel
And remove syslog_init_e because all initialization is later now and we don't
distinguish the initialition phase anymore after ramlog don't need special
initialize.
2020-02-18 13:04:45 -06:00
Xiang Xiao
dcaaf2d912 ramlog: Remove all ramlog_consoleinit related code
Because we can get the same function by CONSOLE_SYSLOG/syslog_console_init.
BTW, it isn't a good choice to use g_ramlogfops as /dev/console since nsh
will read back what it send out which will surprise most people.
2020-02-18 12:57:43 -06:00
Saito Yutaka
db4e2dbb6e Update NuttxPortingGuide.html
Fix typo
2020-02-15 06:57:32 -06:00
Gregory Nutt
18325867bb Documentation/NuttXCCodingStandard.html: Update license information
* Change required license for new files from BSD to Apache 2.0
* Update source file templates to use Apache 2.0 license vs. the BSD license.
2020-02-02 07:36:34 -08:00
Xiang Xiao
68951e8d72 Remove exra whitespace from files (#189)
* Remove multiple newlines at the end of files
* Remove the whitespace from the end of lines
2020-01-31 09:24:49 -06:00
YAMAMOTO Takashi
83354983c3 Fix "with with" typos
In many cases, remove one of them.
In a few places, it looks like a typo of "width" actually.
2020-01-27 08:46:46 +01:00
Xiang Xiao
1e3f457c9e Remove TIME_EXTENDED option to more conform C standard
Gregory Nutt <gnutt@nuttx.org>

    Run all .c and .h files modified in this PR through nxstyle and correct all coding standard problems.

Xiang Xiao <xiaoxiang@xiaomi.com>

    Remove TIME_EXTENDED option to more conform C standard

    Note: the code/data size increment is small
2020-01-23 08:17:22 -06:00
Xiang Xiao
7d33af1360 Change boards/z16/z16f2811 to boards/z16/z16f
to fix the follow error:
Refresh z16f2800100zcog/nsh
LN: include/arch to arch/z16/include
LN: include/arch/board to /workspace/mirtos/nuttx/boards/z16/z16/z16f2800100zcog/include
No directory at /workspace/mirtos/nuttx/boards/z16/z16/z16f2800100zcog/include
2020-01-22 20:46:02 -06:00
Xiang Xiao
12cc24abb2 Change boards/renesas/sh7032 to boards/renesas/sh1
to fix the follow error:
Refresh us7032evb1:nsh
LN: include/arch to arch/renesas/include
LN: include/arch/board to /workspace/mirtos/nuttx/boards/renesas//us7032evb1/include
No directory at /workspace/mirtos/nuttx/boards/renesas//us7032evb1/include
2020-01-22 20:45:11 -06:00
Xiang Xiao
9a8ff07716 Change boards/renesas/m32262f8 to boards/hc/m16c
to fix the follow error:
Refresh skp16c26/ostest
LN: include/arch/board to /workspace/mirtos/nuttx/boards/renesas/m32262f8/skp16c26/include
LN: include/arch/chip to arch/renesas/include/m32262f8
2020-01-22 20:44:18 -06:00
Xiang Xiao
3db775f0d0 Change boards/hc/mcs92s12ne64 to boards/hc/m9s12
fix the follow error:
Refresh demo9s12ne64/ostest
LN: include/arch/board to /workspace/mirtos/nuttx/boards/hc/mcs92s12ne64/demo9s12ne64/include
LN: include/arch/chip to arch/hc/include/mcs92s12ne64
No directory at /workspace/mirtos/nuttx/arch/hc/include/mcs92s12ne64
2020-01-22 20:43:26 -06:00
Xiang Xiao
346336bb9e Make the read ahead buffer unselectable
Here is the email loop talk about why it is better to remove the option:
https://groups.google.com/forum/#!topic/nuttx/AaNkS7oU6R0

Change-Id: Ib66c037752149ad4b2787ef447f966c77aa12aad
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-11 08:24:49 -06:00
Gregory Nutt
06c2e86d98 Documentation/NuttXCCodingStandard.html: Remove requirement to decorate ignored returned values with (void). (#31)
Co-authored-by: Gregory Nutt <gnutt@nuttx.org>
2020-01-03 09:55:10 -03:00
Ouss4
13038d03c2 Documentation/NuttX.html: Fix MIPS32 references. 2019-12-18 13:10:23 -06:00
Nathan Hartman
9655730ef8 Fix various typos and spelling errors. 2019-12-12 07:41:51 -06:00
Gregory Nutt
897378bc29 Remove support for generation of RRLOAD binary files. The RRLOAD binary format was used with Linux BSPs from www.ridgerun.com circa 2000-2001. It is still need by the the c5471 board if that bootloader is used. Removes the CONFIG_RRLOAD_BINARY option and tools/mkimage.sh
This change was motivated by the presence of the mkimage.sh file under tools.  That is the tool that created the RRLOAD binary format.  That bash script has a GPL license and, hence, may not be included in an Apache-licensed project.
2019-12-09 11:29:12 -06:00
Gregory Nutt
de45c3f607 Documentation/NuttShell.html: Update to include a description of the 'dmesg' command which was apparently never documented. 2019-11-21 12:25:50 -06:00
Gregory Nutt
a83ea83e91 Documentation/NuttX.html: Fix URLs to reflect new location of the Obsoleted repository. 2019-11-21 12:25:31 -06:00
Gregory Nutt
677b0bf47e Remove all support for the ancient Pascal compiler and pcode interpreter. 2019-11-21 06:58:38 -06:00
Gregory Nutt
66401c8960 Documentation/NuttX.html: Update the NuttX 'about' document in preparation for the NuttX-8.2 release. 2019-11-16 09:58:36 -06:00
Gregory Nutt
a257a5e606 Documentation/NuttShell.html: Update document to at least mention the new pmconfig command. 2019-11-04 08:01:28 -06:00
Gregory Nutt
3439720739 Documentation/NuttShell.html: Document the new -t option for the 'arp' command. 2019-11-03 16:21:51 -06:00
Gregory Nutt
a917f71fa2 Documentation/NuttShell.html: Update to include the new rptun command. 2019-11-03 10:04:50 -06:00
Juha Niskanen
fd462d5ce2 sched/pthread, Documentation: fix pthread_key_delete, pthread_self and pthread_yield documentation and some comments. 2019-10-17 11:04:17 -06:00
Nathan Hartman
46aaec7ba0 Fix minor typos in docs and comments. 2019-09-29 12:52:20 -06:00
Nathan Hartman
a83a609af9 Direct users to our kconfig-frontends snapshot instead of upstream.
It appears Yann Morin's kconfig-frontends project has gone offline and
the website at http://ymorin.is-a-geek.org/projects/kconfig-frontends
is not responding. Until we can identify a "proper" upstream project,
use the snapshot in NuttX tools repository.

Replace (almost) all links to Yann Morin's kconfig-frontends in the
docs to point to the NuttX tools snapshot instead, with the following
exceptions:

    nuttx/Changelog for version 6.17, 2012-04-14: Leave this historical
    information intact.

    nuttx/README.txt: Document the source of our snapshot.
2019-09-24 09:52:09 -06:00
Alan Carvalho de Assis
35227fb873 boards/arm/samd2l2/arduino-m0: Add initial board support for the Arduino M0. 2019-09-22 10:43:36 -06:00
Gregory Nutt
218da47318 Update some README files 2019-09-21 06:55:46 -06:00
Juha Niskanen
5c853cd1dc libs/libc/unistd/lib_getcwd.c: remove stray sched_unlock(). Also fixes several typos. 2019-09-20 06:23:48 -06:00
Juha Niskanen
e8b5dd4528 Fix use of undefined pp-token #errror, other typos. 2019-09-19 18:19:18 -06:00
Gregory Nutt
a9c55d40ab Update the NuttX 'About' document in preparation for the NuttX-8.1 release. 2019-09-14 09:54:50 -06:00
Nathan Hartman
91ef2ec394 Fix a few minor typos 2019-09-08 15:59:14 -06:00
Augusto Fraga Giachero
f08ab217b0 drivers/rf/dat-31r5-sp.c: dd support to the DAT-31R5-SP+ digital attenuator. Creates a the new device driver directory drivers/rf/ to support drivers related to RF peripherals. It also adds support for the DAT-31R5-SP+ digital attenuator. 2019-09-05 13:28:28 -06:00
Juha Niskanen
822bb06967 Fix some typos. Also minor update to stm32f7/nucleo-144/README.txt and stm32l4/nucleo-l496zg/README.txt board documentation. 2019-09-05 08:12:50 -06:00
Augusto Fraga Giachero
68bbc8438c drivers/timers/pwm.c: Move the pwm/pwm.c driver to timers/pwm.c, The drivers/pwm contained only one .c file (pwm.c), so to avoid the proliferation of sub-directories inside drivers/ is better to move the pwm.c driver to drivers/timers. The pwm.h header was moved to include/nuttx/timers to keep consistency, so all files referencing it need to be updated. 2019-09-02 07:57:10 -06:00
Gregory Nutt
d1a4715a81 README.txt and Documentstion/README.html: Update README file refences to include the LX_CPU board README file. 2019-08-30 07:53:47 -06:00
Gregory Nutt
dd97fb991b This commit moves shared builtin information out of binfmt/libbuiltin and into libs/libc/builtin where it can be shared. This should permit builtin application in the PROTECTED build where binfmt/libbuiltin is not available in user space.
Squashed commit of the following:

    Correct some additional compile-related issues.

    Move  include/nuttx/binfmt/builtin.h to include/nuttx/lib/builtin.h.  Move apps/builtin/lib_builtin_forindex.c to libs/libc/builtin/lib_builtin_forindex.c.

    Move binfmt/libbuiltin to libs/libc/builtin.  There are calls made directly from apps/nshlib into this logic and hence, must be part of a library that can be shared between the OS and applications.
2019-08-23 09:07:40 -06:00
Gregory Nutt
507e01cb8e This commit adds support for the NXP S32K148EVB
Squashed commit of the following:

    boards/arm/s32k1xx/s32k148evb:  Correct linker scripts for the S32K148, Update README files, Hook eht S32K148EVB into the configuration and build system.

    arm/s32k1xx/s32k148evb:  Verify core and peripheral clocking.  It is the same as the S32K146EVB.  Fixed one-too-many copy-paste error in both.

    boards/arm/s32k1xx/s32k148evb:  Correct LED and button pin number for the S32K148EVB.

    boards/arm/s32k1xx/s32k148evb:  Change all occurrences of 146 to 148.

    boards/arm/s32k1xx/s32k148evb:  Initial S32K148EVB.  Initial commit is just  clone of S32K146EVB with file name changes
2019-08-20 17:02:29 -06:00
Gregory Nutt
39d1a02c6d This commit adds support for the S32K146EVB
Squashed commit of the following:

    s32k1xx/s32k146evb/scripts/flash.ld:  Update the linker script for the S32K146.
    boards/:  Hook the S32K146EVB into the configuration and build system.
    s32k146_clockconfig.c:  Add S32K146 clock configuration.
    boards/arm/s32k1xx/s32k146evb/src/s32k146_periphclocks.c:  Update peripheral clocking for the S32K146.
    arm/s32k1xx/s32k146evb:  Initial support fo S32K146EVB.  Starting point is just the S32K118EVB with name changes.
2019-08-19 09:14:14 -06:00
Gregory Nutt
8987a9e374 This commit adds initial board support for the NXP S32K118EVB. This configuration is intended, initially, to support development of the architecture support. This is VERY much a work in progress and you should not use this configuration unless you are interested in assisting with the bring-up.
Squashed commit of the following:

    boards/arm/s32k1xx/s32k118evb/configs/nsh:  Add a basic NSH configuration.
    boards/arm/s32k1xx/s32k118evb/scripts:  Add linker scripts and Make.defs.
    configs/:  Hook the S32K118EVB board into the configuration system.
    boards/arm/s32k1xx/s32k118evb:  Add initial support for the NXP S32K118EVB.
2019-08-14 08:47:35 -06:00
Nathan Hartman
60f777b8f4 Fix various typos in documentation and comments. 2019-08-09 14:35:07 -06:00
Gregory Nutt
851285d729 Documentation/NuttX.html: Adjust URLs to board README.txt files to account for changes in boards/ sub-directory reorganization. 2019-08-09 08:04:27 -06:00
Gregory Nutt
143382d2a6 Documentation/README.html: Update for new boards/ sub-directory layout. 2019-08-08 15:36:59 -06:00
Gregory Nutt
74c17076c7 Documentation: Update some documents affected by the change in the organization of the boards/ sub-directory. 2019-08-08 10:05:34 -06:00
Gregory Nutt
c6b5049e3e tools/configure.sh: Restore support for custom, out-of-tree configurations that was broken in a previous commit. 2019-08-06 08:36:40 -06:00
Gregory Nutt
721994846c tools/: Change preferred argument of configurations tools to use ':' as the delimiter between <board-name> and <config-name>. This is to emphasize that this is not a path; it is configuration specification.
The legacy '/' delimiter is still supported but not recommend and not advertised.

Squashed commit of the following:

    Update configurations instructions in more README.txt files to show ':' delimiter vs '/' delimiter.
    Update configurations instructions in various README.txt file to show ':' delimiter vs '/' delimiter.
    tools:  Update all configuration-related tools to accept ':' separator between board and configuration name.
2019-08-05 16:55:51 -06:00