YAMAMOTO Takashi
89c9855d7b
esp32: Fix a few #endif comments
2020-10-20 18:50:28 +08:00
Xiang Xiao
2956b8516b
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-20 01:45:06 -07:00
Xiang Xiao
eb4121ce38
Change all 'Nuttx' to 'NuttX'
...
Unify the naming convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-20 01:45:06 -07:00
liuhaitao
d5c6bfe6cf
arch: Add custom arch chip build support
...
Just like custom board build support, add custom arch chip build
support.
Change-Id: I71c87e6b2195501a1b1d728b71d7cbe344951057
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-10-20 14:48:16 +08:00
Brennan Ashton
5e8bcaa360
serial: nxstyle fixes
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-10-20 14:43:19 +08:00
Juha Niskanen
94f0f55911
arch: serial: fix all TCGETS retrieving zero baud rate
...
cfsetispeed() now stores baud rate to c_cflag member of
struct termios, so it must not be overridden later on.
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-10-20 14:43:19 +08:00
Xiang Xiao
9928088868
libc: Don't fclose and fopen file in freopen
...
to avoid FILE pointer change after this commit:
commit b0797263ca
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date: Thu Aug 13 18:17:29 2020 +0800
libc/stdio: Allocate file_struct dynamically
1.Reduce the default size of task_group_s(~512B each task)
2.Scale better between simple and complex application
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-19 21:31:31 -07:00
Philippe Coval
bc14716d03
freedom-k64f: Regenerate demo/defconfig
...
With default settings,
it has been verified using:
./tools/refresh.sh --silent freedom-k64f/demo
Change-Id: I3cb96b82a392ac169d7887f5afda37a8b5daf992
Bug: https://github.com/apache/incubator-nuttx/issues/1988
Forwarded: https://github.com/apache/incubator-nuttx/pull/2037
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-19 21:19:00 -07:00
Philippe Coval
bce251a791
freedom-k64f: Add demo configuration
...
Minimal configuration.
Each feature will added one after one
to track configuration flags.
Change-Id: Iab8aff1d489a518b6050ecba0f0b950a8b27745b
Bug: https://github.com/apache/incubator-nuttx/issues/1988
Forwarded: https://github.com/apache/incubator-nuttx/pull/2037
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-19 21:19:00 -07:00
YAMAMOTO Takashi
60a6d9cfe5
arch/xtensa/src/esp32/esp32_wlan.c: Fix an unused var warning
...
chip/esp32_wlan.c: In function 'esp_ioctl':
chip/esp32_wlan.c:1262:30: warning: unused variable 'req' [-Wunused-variable]
struct mii_ioctl_notify_s *req;
^~~
2020-10-19 21:06:07 -07:00
Nathan Hartman
f8a3736b5c
tiva/cc13x0: Fix nxstyle errors
...
arch/arm/src/tiva/hardware/cc13x0/cc13x0_adi4_aux.h,
arch/arm/src/tiva/hardware/cc13x0/cc13x0_aux_smph.h,
arch/arm/src/tiva/hardware/cc13x0/cc13x0_ccfg.h,
arch/arm/src/tiva/hardware/cc13x0/cc13x0_ddi.h,
arch/arm/src/tiva/hardware/cc13x0/cc13x0_memorymap.h,
arch/arm/src/tiva/hardware/cc13x0/cc13x0_smph.h:
* Fix nxstyle errors.
2020-10-19 16:50:48 +01:00
Xiang Xiao
525f6da1c0
arch/armv7-a: Fix the wrong idle stack setup for SMP case
...
1.Get the stack pointer from sp instead of .Lstkinit's field
2.Make g_idle_topstack point to the end of the idle stack
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-19 09:43:58 +09:00
Philippe Coval
80be4a5d3c
freedom-k64f: Fix k64_buttons.c
...
Change-Id: I0c9f8903513fdbce05e9dc03a3b6c772f6920002
Bug: https://github.com/apache/incubator-nuttx/pull/1999
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-18 19:23:56 -04:00
Xiang Xiao
a49a3eae51
tools: Remove the special handle for Ubuntu under Windows 10
...
since the Native Linux support could be reused for this case:
https://lists.apache.org/thread.html/r315682ed20bbeb2f1403cf592f892ef009274423189ffc5b3841a6a9%40%3Cdev.nuttx.apache.org%3E
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-18 11:48:19 -07:00
Xiang Xiao
e53779065e
Documentation: Fix the broken link in introduction/
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-18 11:46:20 -07:00
Xiang Xiao
652241a411
Documentation: Format introduction/supported_platforms.rst
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-18 11:46:20 -07:00
Xiang Xiao
8a7982bec0
Documentation: Change 32bit arch to 64bit arch
...
since NuttX support at least 64bit x86 and riscv now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-18 11:46:20 -07:00
Xiang Xiao
4f1f25b516
Documentation: Remove the wrong comment about 64bit sim
...
64bit sim is fully supported now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-18 11:46:20 -07:00
Xiang Xiao
55aff276ee
Documentation: Reorder Documentation/index.rst
...
1.Move quickstart to first
2.Move boards after introduction
3.Move reference after guides
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-18 11:45:05 -07:00
Xiang Xiao
81465f659d
Documentation: Move nsh/ to applications/
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-18 11:45:05 -07:00
Xiang Xiao
9abe505726
Documentation: Move syslog.rst to components/drivers/special/
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-18 11:45:05 -07:00
Xiang Xiao
155e98d42c
Documentation: Move socketcan.rst to components/drivers/special/
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-18 11:45:05 -07:00
Xiang Xiao
302d4da341
Documentation: Move note.rst to components/drivers/character/
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-18 11:45:05 -07:00
Xiang Xiao
598e3eedb4
Documentation: Remove all tail spaces from *.rst and *.html
...
by the below command:
find . -type f -name '*.rst' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-18 10:51:22 -07:00
Nathan Hartman
a066186127
tiva/cc13xx: Fix nxstyle errors
...
arch/arm/src/tiva/hardware/tiva_adc.h,
arch/arm/src/tiva/hardware/tiva_ssi.h:
* Fix nxstyle errors.
2020-10-19 01:33:21 +08:00
Diego Herranz
f10261f32f
Documentation/quickstart/debugging: fix micro-ros tutorial link
2020-10-18 12:22:54 -04:00
Diego Herranz
9c43ca3d82
Documentation/components/nsh/login.rst: fix a couple of repo links manually
...
They may have been malformed or the path changed at some point
2020-10-18 12:22:54 -04:00
Diego Herranz
77160c7a32
Documentation: replace bitbucket links with github ones
...
bitbucket.org/nuttx/nuttx/src/ replaced with github.com/apache/incubator-nuttx/blob/
2020-10-18 12:22:54 -04:00
Philippe Coval
54bb98232e
freedom-k64f: Lint freedom-k64f.h
...
Change-Id: I29e2ae0c003353840b79e8b190871a6b08afc86a
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-18 21:06:05 +08:00
Philippe Coval
08c1e4aadc
freedom-k64f: Declare k64_i2cdev_initialize function
...
This will suppress a warning.
For some reason if declared weak,
it's not properly resolved at runtime,
this will need more investigations, any clues ?
Change-Id: I3cc3b7d145c7b32db20f5f2cbf4314ac20dba588
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-18 21:06:05 +08:00
Gregory Nutt
d5be1acf06
Revert PR #2009
...
We cannot accept any new files into the repository that do not have Apache 2.0 license headers.
This reverts commit 00eccfd4fa
.
2020-10-17 21:43:19 -07:00
Michal Lenc
b5e9961036
Fix nxstyle errors and warnings
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-10-17 19:38:42 -03:00
Michal Lenc
1f323fe6be
imxrt1060-evk: Added support for FlexCAN driver
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-10-17 19:38:42 -03:00
Michal Lenc
1670709187
imxrt: FlexCAN driver
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-10-17 19:38:42 -03:00
chenwen
67c0af650f
xtensa/esp32: Add power management of deep-sleep
2020-10-17 19:38:14 -03:00
Alan C. Assis
3108233b8a
Remove not needed esp32_caps.h
2020-10-17 20:02:43 +01:00
Alan C. Assis
b3905e1c03
Modify the PSRAM pins config to avoid duplicating the definitions
2020-10-17 20:02:43 +01:00
Alan C. Assis
e956c3d1d3
Fix warnings and remove not used function
2020-10-17 20:02:43 +01:00
Alan C. Assis
fdc44dc6fc
Add PSRAM board config test and update README
2020-10-17 20:02:43 +01:00
Philippe Coval
dfb626a215
freedom-k64f: Register on board sensor driver
...
Change-Id: I4f3ff16fae994250f62537cd0c3021465db1189c
Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr
Bug: https://github.com/apache/incubator-nuttx/pull/1999
Last-update: 2020-10-16
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-18 02:33:51 +08:00
Nakamura, Yuuichi
9e470ad73e
Fix note_syscall_leave_s to avoid unaligned access
2020-10-17 23:48:43 +08:00
zhongan
5aa0e302a4
fs: add missing macro 'CONFIG_FS_HOSTFS' for 'NODFS_SUPPORT'.
...
When just enable 'CONFIG_FS_HOSTFS', NODFS_SUPPORT may not enable.
Change-Id: I8317f18bf3ceae873e29c027561948c17b4aab38
Signed-off-by: zhongan <zhongan@xiaomi.com>
2020-10-17 23:22:35 +08:00
Masayuki Ishikawa
aed9bcc001
arch: x86: Fix x86 linking
...
Summary:
- I noticed that qemu-i486:nsh can not start
- Finally, I found that the issue was introduced by 4910d43ab0
- Actually, nuttx_elf was linked dynamically
- This commit fixes this issue
Impact:
- Affects x86 (32bit) only
Testing:
- Tested with qemu-i486:nsh
2020-10-17 23:22:12 +08:00
Dong Heng
a0b84ae53e
xtensa/esp32: Add ESP32 WiFi adapter and driver
2020-10-17 22:46:27 +09:00
Abdelatif Guettouche
0345b1edf7
arch/xtensa/src/esp32/Make.defs: Download Espressif's Wireless-3rdparty
...
library.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-17 22:46:27 +09:00
Abdelatif Guettouche
609a5fa4f0
arch/: Add the ARCH_SRC directory to the context and clean_context
...
targets
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-17 22:46:27 +09:00
Daniel P. Carvalho
7284956730
Fix nxstyle errors and warnings
2020-10-17 10:40:50 -03:00
Daniel P. Carvalho
45cefc5a1b
Fix nxstyle.
2020-10-17 10:40:50 -03:00
Daniel P. Carvalho
00eccfd4fa
Added support to STM32L432KC DAC.
2020-10-17 10:40:50 -03:00
Fotis Panagiotopoulos
4c7d7d51f8
Minor improvement in STM32 Kconfig menus.
2020-10-17 10:40:33 -03:00