Brennan Ashton
3428d159ba
ci: lint only changed files
2021-04-06 13:30:20 -03:00
Fotis Panagiotopoulos
c4a9a35fb9
syslog: Fix in syslog_intbuffer flushing.
2021-04-06 10:26:55 -05:00
Sara Souza
0926e7c578
risc-v/esp32-c3: Fixes gargabe UART issue, refactors serial driver, changes default pins of UART 1 and fixes low baud rate issue.
2021-04-06 11:44:06 -03:00
Xiang Xiao
3c30c8b90b
arch/arm: Remove g_irqtmp, g_undeftmp and g_aborttmp
...
to avoid multiple CPU access them concurrently in SMP case
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-06 22:45:51 +09:00
Xiang Xiao
822bb3ff78
arch/armv7-r: Add FIQ stack CONFIG_ARCH_INTERRUPTSTACK > 7
...
just like what has done on armv7-a
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-06 22:45:51 +09:00
Fotis Panagiotopoulos
1dee243e29
syslog: Added multi device support in syslog_device.
2021-04-06 07:32:23 -05:00
liuhaitao
a21d6b884e
libc: correct zoneinfo genromfs source directory
...
Or genromfs failed to generate the right romfs.img
Change-Id: Icbcc2e89da1ede644b994d33e70f1a48662c412b
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2021-04-06 08:12:00 -03:00
Xiang Xiao
7d3266461b
arch/armv7-a: Remove the special process of the nest level
...
it shouldn't need anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-06 17:07:46 +09:00
Anthony Merlino
b21cb3308a
Fixes race condition in event wait logic of SDMMC driver.
...
This change makes it so that the timeout is set as part of the SDIO_WAITENABLE call instead of the SDIO_EVENTWAIT call. By doing so, you eliminate all opportunity for a race condition.
stm32h7:sdmmc Check if busy ended early
2021-04-05 23:08:45 -05:00
Alan C. Assis
cd08694698
esp32 boards: BUTTON_BOOT should use PULLUP instead PULLDOWN
2021-04-05 23:06:03 -05:00
Matias N
83513e26cf
Removing TODO file as issues are now tracked in GitHub
2021-04-05 22:43:47 +01:00
Xiang Xiao
807d4490da
arch/arm: Minor style fix
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-05 13:19:20 -07:00
Xiang Xiao
39fc9325cf
arch/arm: Replace "b lr" or "mov pc, lr" with "bx lr"
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-05 05:50:14 -07:00
Xiang Xiao
be50a24e3d
arch/arm: Clear .bss section after copying .data section
...
to avoid batch copy(32 bytes) overwrite the zeroed .bss section
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-05 05:48:20 -07:00
Xiang Xiao
d1e06b4c09
arch/arm: Call arm_lowputc after SP setup
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-05 05:48:20 -07:00
Alin Jerpelea
c336a792b2
boards: arm: stm32f7: nxstyle fixes
...
Fix for errors reported by nxstyle
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-05 07:32:18 -05:00
Alin Jerpelea
5b7405356b
boards: Philippe Coval: update licenses to Apache
...
Philippe Coval has submitted the ICLA and we can migrate the licenses
to Apache.
Alan Carvalho de Assis has submitted the ICLA and we can migrate the licenses
to Apache.
Gregory Nutt, S.A has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-05 07:32:18 -05:00
Alin Jerpelea
e1d361eddf
drivers: nxstyle fixes
...
Fixes for errors reported by nxstyle
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-05 07:31:45 -05:00
Xiang Xiao
dd1d980c3a
arch/sim: Move setjmp/longjmp to libc/machine/sim
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-05 09:00:42 -03:00
YAMAMOTO Takashi
acc3596adc
tcp_netpoll.c: Fix a performance issue with CONFIG_NET_TCP_WRITE_BUFFERS
...
Tested with a modified version of webclient, which uses non-blocking i/o.
The packet dumps look more reasonable with this change.
2021-04-05 06:16:46 -05:00
Alin Jerpelea
0fc329d814
driver: Ales Verbic: update licenses to Apache
...
Ales Verbic has submitted the ICLA and we can migrate the licenses
to Apache.
Uros Platise has submitted the ICLA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-05 06:13:17 -05:00
Alin Jerpelea
7c8c6785ca
NuttX: NX Engineering, S.A: update licenses to Apache
...
NX Engineering, S.A has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-05 06:07:48 -05:00
Alan C. Assis
87fe0e6072
stm32f4discovery: Add Modbus Slave example
2021-04-05 01:24:21 -05:00
Brennan Ashton
15b99d1f4b
CI: Migrate ci tooling from testing repository to main os repo
2021-04-05 01:22:48 -05:00
Xiang Xiao
9097244cb8
build: Makefile should reference CONFIG_HOST_xxx
...
instead to detect the host through uname
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 23:20:35 -07:00
Brennan Ashton
1fab9ad6da
Add black linter for python
2021-04-04 23:29:27 -05:00
Brennan Ashton
dac6a8421b
lint tools/lwl/ocdconsole.py
2021-04-04 23:29:27 -05:00
Brennan Ashton
f2b799842e
lint Documentation/
2021-04-04 23:29:27 -05:00
Brennan Ashton
3a97f0e5bd
lint licensing
2021-04-04 23:29:27 -05:00
Brennan Ashton
6b4e7d0fe7
lint tools/parsecallstack.py
2021-04-04 23:29:27 -05:00
Brennan Ashton
38cb837838
lint tools/ide_exporter.py
2021-04-04 23:29:27 -05:00
Brennan Ashton
d71e0d75b1
Lint tools/flash_writer.py
2021-04-04 23:29:27 -05:00
Brennan Ashton
7386cc3665
Port tools/discover.py to py3 and lint
2021-04-04 23:29:27 -05:00
Brennan Ashton
d2f922dc4d
xmlrpc_test.py port to py3 and format
2021-04-04 23:29:27 -05:00
Brennan Ashton
97676a3c06
Remove fork of python xmodem that is an active project
2021-04-04 23:29:27 -05:00
Brennan Ashton
3cdc0b7332
libc: Add additional checks to malloc realloc and memalign
2021-04-04 18:58:04 -07:00
Xiang Xiao
e91a737310
arch/arm: Remove .cpu directive from assemble file
...
1.To support the different MCU in series(e.g. cortex-m0+)
2.It's redundant since we already specify in compliler option
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 17:29:42 -07:00
Xiang Xiao
b7ad0b3d0d
arch/armv6-m: Remove cpsid and cpsie from exception_common
...
since the hardware do the action automatically
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 17:26:49 -07:00
Xiang Xiao
3cf070e173
arch/armv8-m: Merge ite instruction to the previous one
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 17:26:07 -07:00
Xiang Xiao
d62ae03bf8
arch: Move setjmp/longjmp to libc/machine
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 16:30:37 -07:00
Nathan Hartman
92c61058c1
arch/stm32h7: Fix syntax error
...
arch/arm/src/stm32h7/stm32_dma.c:
* stm32_bdma_residual(): Fix missing semicolon.
2021-04-04 22:32:09 +01:00
Gregory Nutt
a0f9da20a2
getopt(): Update comments about missing functionality
...
Per the Linux man page, "By default, getopt() permutes the contents of argv as it scans, so that eventually all the nonoptions are at the end." This behavior, however, is not implemented in the NuttX getopt() logic.
2021-04-04 22:31:47 +01:00
Xiang Xiao
e7dffdf06f
arch/arm: Replace the hardcode syscall number with macro
...
and change SYS_context_[save|restore] to SYS_[save|restore]_context
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 16:18:10 -03:00
Gregory Nutt
7de43596da
getopt_long(): Add support for required argument format
...
The Linux man page requires that the getopt_long() and getopt_long_only() functions accept arguments to options in a form like:
--option=argument
This PR adds that missing functionality.
This change effects only getopt_long() and getopt_long_only()
Tested on a simulator NSH configuration with a modified version of the getopt() test in apps/testing/ostest.
2021-04-04 14:13:42 -05:00
Xiang Xiao
e7bce54fa9
build: Fix build break for renesas/rx65n
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 15:51:48 -03:00
Xiang Xiao
661d597d19
stm32/nucleo-g431rb-esc1: Normalize nsh config
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 13:56:39 -03:00
Gregory Nutt
1b4af6e90d
getopt_commont(): Add some comments
...
Add a trivial comment about handling in certain corner cases where I am not certain what the correct behavior should be.
2021-04-04 10:55:00 -05:00
Alan C. Assis
6481eb6523
esp32-devkitc: Add BMP180 sensor support
2021-04-04 10:54:02 -05:00
Xiang Xiao
6fb0fd6825
stm32/nucleo-g431rb: Normalize nsh config
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 11:54:21 -03:00
Xiang Xiao
2268c19171
arch/arm: Fix the style issue in assemble files
...
remove the unused header file and mimic the difference between sub arch
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 14:39:16 +01:00