Masayuki Ishikawa
904ec767f7
arch: lc823450: Fix nxstyle violations
...
Summary:
- This PR fixes style violations for lc823450.
- NOTE: I will fix more style violations in separate PR later.
Impact:
- No impacts.
Testing:
- I checked build test only.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-28 06:07:31 -05:00
SPRESENSE
27835c8c0a
ramlog: Add overwrite option to ramlog
...
Enable overwrite of circular buffer. If RAMLOG buffer overflows,
overwrite it from the top of buffer and always keep the latest log.
2020-07-28 04:00:18 -05:00
SPRESENSE
e249a2f82f
Makefile: Fix Make.dep not updated by config changes
...
Make.dep file should be updated by .config changed after first make.
There are 2 cases affected for this problem:
1) Add source files by config symbol
2) Include header files in #ifdef directive
These 2 cases may not be included in Make.dep and this may prevent the
differential build from working correctly.
2020-07-28 03:59:45 -05:00
SPRESENSE
d560ce65ff
cxd56xx: spresense: Add some improvements and fix bugs for Spresense board
...
- Add new functions of GNSS
- Support the lower PWM frequency
- Add CONFIG_CPUFREQ_RELEASE_LOCK
- Add high speed ADC support
- Add HPADC input gain configuration
- Add eMMC device
- Frame buffer support
- Fix SD/GNSS/sensor drivers not worked
- Build errors
- Fix nxstyle issues
2020-07-28 09:13:05 +02:00
SPRESENSE
500ead8101
drivers/modem/altair: Update altair modem driver
...
- Add board specific logic to altair modem dirver
- Fix issue that SPI4 RX frequency violated AC Spec
- Remove dummy buffer in altair driver
- Fix priority of SPI transfer task is too low
- Remove unnecessary configuration
- Modify timeout value for RX ready
- Fix minor bugs
2020-07-28 09:09:18 +02:00
Masayuki Ishikawa
524f18c4cd
libs: termios: Replace license header with Apache License 2.0
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-28 00:47:39 -05:00
Masayuki Ishikawa
41e6ce2beb
include: audio: Replace license header with Apache License 2.0
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-28 00:47:39 -05:00
Masayuki Ishikawa
b6218c67f8
drivers: audio: Replace license header with Apache License 2.0
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-28 00:47:39 -05:00
Masayuki Ishikawa
996e93da0c
sched: Replace license header with Apache License 2.0
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-28 00:47:39 -05:00
Xiang Xiao
33ec242caf
Implement proposed POSIX _clockwait variants of existing _timedwait functions
...
Here is the related glibc patchset:
https://patchwork.ozlabs.org/project/glibc/cover/cover.b0c66849a87ca79889a49f2f1f2563b1a8a15d8b.1551291557.git-series.mac@mcrowe.com/
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I0095cb34cef3d0d88a100255053da79266b73ff2
2020-07-27 20:39:59 -03:00
Xiang Xiao
78862c51dc
arch/sim: Fix the wrong sleep time calculation in sim_idle_trampoline
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-28 08:37:19 +09:00
Xiang Xiao
53f33a7ea2
arch/sim: Synchronize the creation of idle thread by semaphore
...
it's wrong to synchronize with mutex here
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-28 08:37:19 +09:00
Xiang Xiao
71a9d2402d
arch/sim: Replace sigprocmask with pthread_sigmask in main thread
...
like other idle thread
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-28 08:37:19 +09:00
Xiang Xiao
f2446ecb90
arch/sim: unify the prefix(g_cpu_) for SMP related variables
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-28 08:37:19 +09:00
Masayuki Ishikawa
a58193aa9a
arch: imxrt: Fix style violations in imxrt_enet.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-26 21:49:52 -07:00
Masayuki Ishikawa
9079d48646
arch: imxrt: Fix auto negotiation for KSZ8081 PHY
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-26 21:49:52 -07:00
Xiang Xiao
cc00d2b2b0
arch/sim: Call sched_note_cpu_* when SCHED_INSTRUMENTATION equal true
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-26 12:24:57 +01:00
Johanne Schock
8792ade0fe
Several USB improvements.
...
Kinetis: Reworked USB driver for setup out data phase.
Freedom K28: New config nshsdusb, with RNDIS support
PL2303: Try to avoid clone detection.
General: various nxstyle fixes
General: license changed
2020-07-24 13:24:53 -03:00
Xiang Xiao
a5ef3731b1
drivers/video: fb_read/fb_write need consider the current file position
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Id3a475dac928ed3dff4eee96150badadf5210f44
2020-07-24 10:49:37 +02:00
Xiang Xiao
f044c82dae
drivers/lcd: Remove the redundant LCD_HWCURSOR
...
reuse FB_HWCURSOR instead
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I568104a87b9c08308374a9723c248287332bc9e4
2020-07-24 10:47:02 +02:00
Xiang Xiao
da6bb94740
drivers/lcd: Don't select NX_LCDDRIVER automatically
...
since graphics/Kconfig already do the similar thing
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ib2c1955a6b027cfa4e83c3b81ddfb505902dd85d
2020-07-24 10:47:02 +02:00
Xiang Xiao
6be8dd420c
tools/incdir: Fix the memory leak
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I9bf57071b5e967a3db55c7e473e84a8bad44cd2a
2020-07-23 15:49:08 +01:00
Xiang Xiao
131535dfe4
drivers/lcd: Fix the memory leak when board_graphics_setup fail
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I08a7ecc48b2c28b1c8c97f74e7a163ca67de6fca
2020-07-23 13:05:58 +01:00
YAMAMOTO Takashi
9f8d52830f
tools/incdir: Assume GCC compatibility for unknown compilers
...
A use case:
intercept-build --override-compiler make CC=intercept-cc
cf. https://github.com/rizsotto/scan-build
2020-07-23 00:55:24 -05:00
Nakamura, Yuuichi
ac34ac9f5c
Add g_funcnames declaration in syscall.h
2020-07-22 12:01:40 -05:00
Nakamura, Yuuichi
02718f0827
Syscall instrumentation build system support for Arm and RISC-V
2020-07-22 12:01:40 -05:00
Nakamura, Yuuichi
376786288e
Create wrapper library for system call instrumentation
2020-07-22 12:01:40 -05:00
Nakamura, Yuuichi
2b4d2cd4a3
Fix note structure members types
2020-07-22 11:55:21 -05:00
SPRESENSE
e4b50c4ba0
drivers/mmcsd: Fix minor bugs
...
- Add missing cancel process when the send command fails
- Make it possible to recover from SD initialization error
- Reduce time in changing transfer mode to 5msec from 500msec.
Replace usleep function instead of up_udelay in other to avoid
blocking other tasks from working.
2020-07-22 09:51:54 -05:00
Oleg
fd220e7a6c
arch/arm/src/stm32f7/stm32_dma.c: fix debug ifdef
2020-07-22 13:37:02 +01:00
SPRESENSE
76c87d2f85
net/socket: Fix nxstyle issue
2020-07-22 11:41:53 +01:00
SPRESENSE
5ee0432d6f
net/socket: Fix sanity checking of socket interface
...
No error occurs even if NULL is set in the input argument
of socket API. So added an argument check process.
2020-07-22 11:41:53 +01:00
SPRESENSE
89a79b03cf
fs/smartfs: Fix file size corruption when opening with overwriting mode
...
If a existing file is opened with overwriting mode e.g. fopen(file, "w+"),
the file size will be incorrect after writing any data to the file.
This bug is caused by previous commit 10903b5
, and its changes should be
limited to only O_APPEND mode.
2020-07-22 04:22:22 -05:00
Ouss4
172aaa5e5c
.gitignore: Don't ignore directories that have the .d extenion.
...
.d directories are common for holding config and init scripts.
They are being ignored with the global *.d pattern which is meant to
ignore Make dependency files.
2020-07-21 23:16:13 -07:00
Xiang Xiao
b4b413e2f4
arch/arm/src/arm/Toolchain.defs: Append "-P -x c" for CPP macro
...
like other Toolchain.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-21 22:11:34 -07:00
Xiang Xiao
1a901d72c0
board/arm: Remove -march and -mcpu option
...
Already add in arch/arm/src/armv7-m/Toolchain.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-21 22:11:34 -07:00
Xiang Xiao
6c03a4e4d5
libc: Add uuid implemenation
...
specified by OpenGroup here:
https://pubs.opengroup.org/onlinepubs/009629399/toc.htm
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I3bc585e7f4d41f6c2ea70e170276ab0d0399b088
2020-07-21 21:48:18 -07:00
Xiang Xiao
2b7528feae
binfmt: Fix warning: unused variable ‘exidx’
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I55d3355813b8b24727e2a7f78fcd72622a1e6758
2020-07-21 00:03:47 -07:00
Xiang Xiao
5efa93ec26
arch/Toolchain.defs: Change all ARCROSSDEV to CROSSDEV
...
ARCROSSDEV always equals to CROSSDEV, so it is no reason to keep ARCROSSDEV.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-20 23:50:59 -07:00
Alan C. Assis
ba274b999e
Fix small formatting issues caused by VIM macro edition
2020-07-20 21:02:41 +01:00
raiden00pl
ba44a812bb
fix nxstyle warnings
2020-07-20 17:11:11 +01:00
raiden00pl
8fe3a46dc0
boards/arm/nrf52/nrf52840-dk: add timer example
2020-07-20 17:11:11 +01:00
raiden00pl
4152193e0a
arch/arm/src/nrf52: add support for TIMER lowerhalf
2020-07-20 17:11:11 +01:00
Xiang Xiao
5ce84693d3
tools/mksyscall: Fix warning: '__builtin_strncpy' specified bound 256 equals destination size
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-20 17:10:37 +01:00
Xiang Xiao
b329e2377d
boards: Move toolchain related variables to Toolchain.defs
...
1.It make sense to let Toolchain.defs give the default value
2.The board can still change if the default isn't suitable
3.Avoid the same definition spread more than 200 Make.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ic2649f1c7689bcf59c105ca8db61cad45b6e0e64
2020-07-20 17:10:37 +01:00
Dong Heng
97be116a39
fs/nxffs: Fix scan good block slowly and scan an invalid block
2020-07-20 10:23:58 -03:00
Kazuya Hioki
822061a3d0
net: Fix dupulicated NET_USRSOCK in Kconfig
...
Reviewed-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Signed-off-by: Kazuya Hioki <Kazuya.Hioki@sony.com>
2020-07-19 20:05:50 -07:00
Xiang Xiao
da3e6cb175
board: Let avr/renesas utilize boards/Board.mk
...
to avoid the duplication
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I79d80e08fe6a05f6182dc07ea41aade7aeb9d4b0
2020-07-19 19:40:32 -07:00
Xiang Xiao
7c54f51dc0
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-19 19:35:21 -07:00
Xiang Xiao
e1ecb3e27c
libc: Don't define localtime[_r] to macro when CONFIG_LIBC_LOCALTIME not define
...
since libc++ declare these function in ctime by:
using ::localtime[_r];
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ic0bb68b44c0cab838ab7cc34baee2aaa3ca8a9b5
2020-07-19 19:35:21 -07:00