Alin Jerpelea
da6d03b9c1
LICENSE: add 3rd party license for Tensilica Inc
...
Add 3rd party licenses for Tensilica Inc to the LICENSE file.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 21:21:51 -05:00
Alin Jerpelea
bc5f0092f1
arch: x86: fix Mixed Case errors
...
Fix for Mixed Case errors reported by the nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 21:21:51 -05:00
Gregory Nutt
a9e2195e65
Remove unused 'running' field from freerun lower half drivers.
...
That field is never used and, in most cases, is never initialized correctly.
This should have no impact to anything with the possible exception of free-running drivers.
Verified using CI builds only.
2021-04-07 20:35:50 -03:00
Matias N
bc8a6772f6
Documentation: migrate ESP32DevKit README into docs
2021-04-07 22:34:33 +01:00
Matias N
d3fe676d0a
Documentation: update pipenv to include sphinx-autobuild
2021-04-07 22:34:33 +01:00
Matias N
d88b5aac97
esp32: move common XTAL and RUN_IRAM configs to ESP32 KConfig
2021-04-07 21:45:48 +01:00
Alin Jerpelea
8e54d6862a
LICENSE: add 3rd party license for Free Software Foundation
...
Add 3rd party licenses for Free Software Foundation to the LICENSE file.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 10:48:26 -05:00
Alin Jerpelea
2c4e9e7664
arch: x86_64: fix Mixed Case errors
...
Fix for Mixed Case errors reported by nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 10:48:26 -05:00
Alin Jerpelea
72fb895d41
arch: x86_64: fix nxstyle errors
...
Fix for errors reported by nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 10:48:26 -05:00
Fotis Panagiotopoulos
ac7feda1bc
syslog: Proper uninit of syslog_device.
2021-04-07 08:38:53 -05:00
Alin Jerpelea
a1131a8175
LICENSE: add 3rd party license for Atmel Corporation
...
Add 3rd party licenses for Atmel Corporation to the LICENSE file.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 06:43:20 -05:00
Alin Jerpelea
abdc60e72f
arch: samXX: Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 06:43:20 -05:00
Alin Jerpelea
9be2db897d
arch: sam: move references from License header
...
for compliance references should be moved after the license header
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 06:43:20 -05:00
Alin Jerpelea
74cde4f9bf
arch: armv7-r: Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 06:43:20 -05:00
Alin Jerpelea
68cd957c62
arch: armv7-r: move references from License header
...
for compliance references should be moved after the license header
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 06:43:20 -05:00
Alin Jerpelea
ce08e0ca6c
arch: armv7-a: move references from License header
...
for compliance references should be moved after the license header
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-07 06:43:20 -05:00
Alexander Vasiljev
74230c5371
lib_fgets: don't check for printability, as it doesn't allow to work with extended ASCII
2021-04-07 08:29:46 -03:00
Xiang Xiao
bfbe705e3f
arch/arm: Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-07 16:18:27 +09:00
Xiang Xiao
eeb8931c04
arch/arm: align arm vector related code with armv7-a
...
commit 3c30c8b90b
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date: Tue Apr 6 15:47:27 2021 +0800
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-07 16:18:27 +09:00
Xiang Xiao
0779f34390
arch/arm: Add PSR_ prefix to the mode state like armv7-a
...
no real function change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-07 16:18:27 +09:00
liuhaitao
bcaf5d75e5
libc: update stream getoffset to handle write case
...
Change-Id: I80b01b446446d5a631d40822f220a0177a95e7e6
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2021-04-07 00:59:36 -05:00
liuhaitao
dc14f89909
fs/romfs: fix open zero-byte file fail issue
...
N/A
Error log as below:
romfs_open: ERROR: Failed to locate start of file data: -5
Change-Id: I0594a84b727077606450dea3ea348cfc2390458b
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2021-04-07 00:57:08 -05:00
Anthony Merlino
01fabe6c67
stm32h7: Actually use the AXI SRAM as the main heap as the documentation describes.
...
The comments at the top of the file say this:
```
This will be automatically registered
* - AXI SRAM is a 512kb memory area. This will be automatically registered
* with the system heap in up_allocate_heap, all the other memory
* regions will be registered in arm_addregion().
```
but the implementation was using SRAM123 instead. Furthermore, arm_addregion then re-adds SRAM123 again.
2021-04-06 22:47:20 -05:00
Anthony Merlino
d69cd4ba03
stm32h7: Adds stm32_dbgmcu.h to match stm32f7 port.
2021-04-06 22:44:07 -05:00
Anthony Merlino
3a10f88bdf
stm32h7: Fixes bug in stm32_sdmmc.c where DCACHE guards were blocking a needed variable.
2021-04-06 22:43:27 -05:00
Anthony Merlino
068e71d0c6
stm32h7: Expose flash lock, unlock, and write protect functions to boards.
2021-04-06 22:42:52 -05:00
Anthony Merlino
028aca433c
Removes STM32_BOARD_HCLK from all board.h files. It is now unneccessary. Use STM32_HCLK_FREQUENCY instead.
2021-04-06 22:42:06 -05:00
Anthony Merlino
8c73ea68d6
stm32f7: Remove the one and only reference to STM32_BOARD_HCLK.
2021-04-06 22:42:06 -05:00
Abdelatif Guettouche
b198c63512
boards/xtensa/esp32: Update some old information in README.txt files.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-06 22:40:14 -05:00
Abdelatif Guettouche
19f3523499
boards/xtensa/esp32: Update Kconfig helps when it comes to running from
...
IRAM.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-06 22:40:14 -05:00
Xiang Xiao
a7f7796db1
arch/arm: Change all spsr_cxsf to spsr
...
unify the SPSR register usage
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-07 06:44:37 +09:00
Xiang Xiao
f1e821833b
mtd/ftl: Don't call ferr if return value equals -ENOTTY
...
MIRTOS4BES-22
since -ENOTTY is an expected code to indicate IOCTL isn't supported
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I62cf58c514be696327ad769ab2f35099154bcb42
2021-04-06 22:36:09 +01:00
Alin Jerpelea
21190ab90d
boards: Mixed Case fixes
...
fixes for Mixed Case Identifiers reported by nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-06 12:50:41 -05:00
Alin Jerpelea
f8420a9e47
boards: nxstyle fixes
...
fixes for nxstyle errors reported by the tool.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-06 12:50:41 -05:00
Alin Jerpelea
72041911ce
NuttX: Marco Krahl: update licenses to Apache
...
Marco Krahl 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-06 12:50:41 -05:00
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