raiden00pl
17255414b5
stm32: Changed headers for apache 2.0 license
2020-10-10 12:24:28 -06:00
raiden00pl
29541e59e0
stm32h7: Changed headers for apache 2.0 license
2020-10-10 12:24:28 -06:00
raiden00pl
33901969fe
Fix nxstyle warnings
2020-10-10 12:24:28 -06:00
raiden00pl
25c58f2a32
stm32f0l0g0: Changed headers for apache 2.0 license
2020-10-10 12:24:28 -06:00
raiden00pl
478de48bc7
nrf52: Changed headers for apache 2.0 license
2020-10-10 12:24:28 -06:00
Abdelatif Guettouche
286d947caf
arch/xtensa: Fix some alingments and typos in assembly code.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-11 00:53:38 +08:00
Yoshinori Sugino
444a05131c
arch/risc-v/include: Fix nxstyle warnings
...
No functional changes
2020-10-10 14:24:52 +01:00
Yoshinori Sugino
aae4e15d9b
arch/risc-v/src: Fix nxstyle warnings
...
No functional changes
2020-10-10 11:44:26 +01:00
Abdelatif Guettouche
20f701f2ec
arch/xtensa/src/common/xtensa.h: Include sys/types.h to have a size_t
...
definition. Otherwise the build would fail ifSTACK_COLORATION is
enabled.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-10 00:01:17 +08:00
Nathan Hartman
18edab3ad2
tiva: Fix nxstyle warnings
...
arch/arm/include/tiva/cc13x0_irq.h:
* Fix nxstyle warnings. No functional changes.
arch/arm/include/tiva/cc13x2_cc26x2_irq.h:
* Fix nxstyle warnings. No functional changes.
arch/arm/include/tiva/chip.h:
* Fix nxstyle warnings. No functional changes.
arch/arm/include/tiva/irq.h:
* Fix nxstyle warnings. No functional changes.
arch/arm/include/tiva/lm3s_irq.h:
* Fix nxstyle warnings. No functional changes.
arch/arm/include/tiva/lm4f_irq.h:
* Fix nxstyle warnings. No functional changes.
arch/arm/include/tiva/tm4c_irq.h:
* Fix nxstyle warnings. No functional changes.
2020-10-09 15:35:38 +01:00
Masayuki Ishikawa
bebc2d2405
arch: cxd56xx: Fix IRQ request handling in cxd56_cpupause.c
...
Summary:
- During Wi-Fi audio streaming test, I noticed data corruption in tcb
- Finally, I found an issue in IRQ request handing with IPI
- This commit fixes this issue
Impact:
- Affects SMP only
Testing:
- Tested with spresense:wifi_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-08 09:02:17 +02:00
YAMAMOTO Takashi
c7865ddca3
sim: Fix make export
...
Namely, don't forget to generate nuttx-names.dat.
2020-10-08 14:03:20 +08:00
Abdelatif Guettouche
605a49e9af
arch/xtensa/src/esp/esp32/esp32_gpio.c: Fix the function's mask test
...
condition and the functions' values.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-08 09:28:53 +09:00
Abdelatif Guettouche
0fdf9c7368
arch/xtensa/src/esp32/esp32_psram.c: Adapt configgpio to the latest
...
change.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-08 09:28:53 +09:00
Masayuki Ishikawa
6232e7f84e
arch: esp32: Fix crash on startup
...
Summary:
- This commit fixes crash on startup introduced by commit 232aa62f03
Impact:
- Affects all use cases for esp32
Testing:
- Tested with esp32-core:smp with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-07 18:43:13 -03:00
Sara Souza
0faf861256
xtensa/esp32: Added Timer Support
2020-10-07 14:12:22 -03:00
Alan C. Assis
232aa62f03
Add support to PSRAM using SPIRAM interface
2020-10-07 16:55:34 +01:00
Abdelatif Guettouche
d1225f3110
arch/xtensa/src/esp32: Use the same function numbering as the TRM.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-07 11:52:04 -03:00
Abdelatif Guettouche
5593683552
arch/xtensa/src/esp32/esp32_gpio.c: When configuring a pin pad, set the
...
function first, if no function was assigned, fall back to the GPIO
function.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-07 11:52:04 -03:00
Abdelatif Guettouche
564237a602
arch/xtensa/src/esp32/esp32_gpio: Function "SPECIAL" doesn't exist. All
...
pads go through the same GPIO matrix to select one of the 6 possible functions.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-07 11:52:04 -03:00
Abdelatif Guettouche
efb2fd5e4b
arch/xtensa/src/esp32/esp32_gpio.c: GPIO20 is not available.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-07 11:52:04 -03:00
Abdelatif Guettouche
caa945cb24
arch/xtensa/src/esp32: Add a way to retrieve reset cause.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-07 11:51:47 -03:00
Abdelatif Guettouche
c20c8c6dd5
arch/xtensa/esp32: Implement system reset.
...
Both CPUs are soft-reset with a call to board_reset. This is actually a
Core Reset, so both cores and all registers are reset. The only
exception is RTC.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-07 11:51:47 -03:00
Nathan Hartman
8eec165aab
tiva/lm3s: Fix nxstyle warnings
...
arch/arm/src/tiva/lm/lm3s_gpio.c:
* Fix nxstyle warnings. No functional changes.
arch/arm/src/tiva/lm/lm3s_gpio.h:
* Fix nxstyle warnings. No functional changes.
2020-10-07 11:50:46 -03:00
Abdelatif Guettouche
2e4ec442ad
arch/xtensa/src/esp32/esp32_intdecode.c: Don't clear A2, the mask
...
argument is passed in that register
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-07 07:47:06 +09:00
rajeshwaribhat
2f95f3a796
cygwin build - path issue fix
2020-10-06 21:51:36 +08:00
Masayuki Ishikawa
2be53a9335
arch: cxd56xx: Add interrupt stack for SMP
...
Summary:
- This commit adds interrupt stack for SMP
Impact:
- Affects SMP only
Testing:
- Tested with spresense:wifi_smp with CONFIG_ARCH_INTERRUPTSTACK=2048
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-06 12:42:01 +02:00
Masayuki Ishikawa
4c0602f52c
arch: cxd56xx: Introduce cxd56_cpuindex.h
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-06 12:42:01 +02:00
Nathan Hartman
ab4ca67b91
tiva/lm4f: Fix nxstyle warnings
...
arch/arm/src/tiva/lm/lm4f_gpio.c:
* Fix nxstyle warnings. No functional changes.
2020-10-06 10:44:21 +08:00
saramonteiro
a562fba971
ESP32: Fixed the type of cpuint variables in esp32_emac.c esp32_i2c.c esp32_spi.c esp32_spi_slave.c
2020-10-02 09:57:56 -07:00
Nathan Hartman
8a1f4db2e1
tiva/cc13xx: Fix nxstyle warnings
...
arch/arm/src/tiva/cc13xx/cc13xx_start.c:
* Fix nxstyle warnings. No functional changes.
2020-10-02 13:20:42 -03:00
Abdelatif Guettouche
62732dd6b8
arch/xtensa/src/esp32/esp32_gpio.c: ESP32_NIRQ_GPIO was used instead of
...
ESP32_NGPIOS
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-02 11:42:49 -03:00
Abdelatif Guettouche
844f39fc67
arch/xtensa/src/esp32/esp32_gpio.c: Change the logic of setting the ENA
...
bits so that the call to up_cpu_index is only performed when SMP is
enabled.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-10-02 11:42:49 -03:00
Nathan Hartman
80ce7800a9
Sources and Docs: Fix typos and nxstyle issues
...
Documentation/contributing/coding_style.rst:
* Fix repeated words: ("this this").
* Remove trailing spaces.
boards/z80/z80/z80sim/README.txt:
* Fix repeated words: ("this this") and rewrap lines.
graphics/Kconfig,
libs/libc/math/Kconfig:
* Fix repeated words: ("this this").
arch/arm/src/armv7-a/arm_assert.c,
arch/arm/src/armv7-r/arm_assert.c,
arch/arm/src/imxrt/imxrt_enet.c,
arch/arm/src/kinetis/kinetis_enet.c,
arch/arm/src/kinetis/kinetis_flexcan.c,
arch/arm/src/s32k1xx/s32k1xx_enet.c,
arch/arm/src/s32k1xx/s32k1xx_flexcan.c,
arch/arm/src/stm32/stm32_pwm.c,
arch/arm/src/stm32h7/stm32_pwm.c,
arch/arm/src/stm32l4/stm32l4_pwm.c,
arch/renesas/src/rx65n/rx65n_usbdev.c,
binfmt/libnxflat/libnxflat_bind.c,
drivers/pipes/pipe_common.c,
net/igmp/igmp_input.c,
net/tcp/tcp_conn.c,
sched/sched/sched_roundrobin.c:
* Fix typo in comment ("this this").
arch/arm/src/cxd56xx/cxd56_usbdev.c,
arch/arm/src/lc823450/lc823450_usbdev.c:
* Fix typo in comment and rewrap lines.
arch/arm/src/imxrt/imxrt_usbdev.c,
arch/arm/src/stm32/stm32_dac.c,
arch/arm/src/stm32f0l0g0/stm32_pwm.c,
arch/arm/src/stm32f7/stm32_pwm.c,
arch/arm/src/tiva/lm/lm4f_gpio.h,
fs/nxffs/nxffs_write.c,
include/nuttx/analog/pga11x.h,
include/nuttx/usb/usbdev.h,
net/mld/mld_join.c:
* Fix typo in comment ("this this").
* Fix nxstyle issues.
2020-10-02 04:54:52 +02:00
Masayuki Ishikawa
3f461f59ba
arch: cxd56xx: Fix handle_irqreq() in cxd56_cpupause.c
...
Summary:
- The handle_irqreq() is used for remote IRQ control.
- The logic is called via IPI (Inter-Processor Interrupt)
- And the handler should handle only one request
- However, I noticed that the handler handles up to two requests
- This commit fixes this issue
Impact:
- Affects SMP cases only
Testing:
- Tested with spresense:wifi_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-02 04:53:53 +02:00
Matias N
2cda47272a
nrf52_ppi: fix group disable and add group clear operation
2020-10-01 21:31:58 -03:00
YAMAMOTO Takashi
83f1f2bc42
sim: Restore some symbols in nuttx-names.in
...
Used by arch/sim/src/sim/vpnkit/*.c
2020-10-01 15:33:22 +08:00
David Sidrane
f6aa845080
stm32f7:Allow the use of the Network Monitor via polling
...
Not all boards have an interrupt line from the phy to
the Soc. This commit allows the phy to be polled for
link status.
This may not work on all MAC/PHY combination that
have mutually exclusive link management and operating
modes. The STM32F7 and LAN8742AI do not have such a
limitation.
2020-10-01 15:28:51 +08:00
Nathan Hartman
4ac2c73d82
tiva: Fix nxstyle warnings
...
arch/arm/src/tiva/tm4c/tm4c129_sysctrl.c:
* Fix nxstyle warnings. No functional changes.
arch/arm/src/tiva/tm4c/tm4c_gpio.c:
* Fix nxstyle warnings. No functional changes.
arch/arm/src/tiva/tm4c/tm4c_gpio.h:
* Fix nxstyle warnings. No functional changes.
2020-10-01 12:14:27 +08:00
Sebastian Ene
d6210fcd84
arch/sim: Make the SIGUSR1 host signal to use the NuttX irq logic
...
Signed-off-by: Sebastian Ene <sene@apache.org>
2020-10-01 12:11:31 +08:00
Abdelatif Guettouche
769d68a762
arch/xtensa: Fix some typos and correct some comments.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-09-30 13:55:28 -03:00
patacongo
9142deeb10
Update arch/arm/src/common/arm_interruptcontext.c
...
Add a comment discussing the limitation of this solution for the case of the ARMv7-A with the GIC
2020-09-30 08:32:25 -06:00
Masayuki Ishikawa
68f102055a
arch: xtensa: Fix up_interrupt_context() for SMP
...
Summary:
- Apply the same fix for Arm SMP
Impact:
- Affects SMP only
Testing:
- Tested with esp32-core:smp (qemu)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-30 08:32:25 -06:00
Masayuki Ishikawa
e8ec8fb4b4
arch: risc-v: Fix up_interrupt_context() for SMP
...
Summary:
- Apply the same fix for Arm SMP
Impact:
- Affects SMP only
Testing:
- Tested with maix-bit:smp (qemu)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-30 08:32:25 -06:00
Masayuki Ishikawa
bbc6571b28
arch: arm: Fix up_interrupt_context() for SMP
...
Summary:
- I found an issue with up_interrupt_context() when testing.
- And finally found that up_interrupt_context() is not atomic.
- This commit fixes the issue
Impact:
- Affects SMP only
Testing:
- Tested with spresense:wifi_smp and sabre-6quad:smp (qemu)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-30 08:32:25 -06:00
ligd
22b837f440
arch/sim/src/nuttx-names.in: fix sim crash in Cygwin platform
...
Change-Id: I966e626eee03ce0b2c01afa905272194028e64f1
2020-09-30 08:07:17 -06:00
raiden00pl
c18e7bb422
nrf52_lowputc.c: fix compilation error for nrf52832 which has limited baud rate support
2020-09-30 09:09:04 -03:00
raiden00pl
4da122b8d4
nrf52_serial.c: fix unused wariable warning
2020-09-30 09:09:04 -03:00
raiden00pl
35a5036e32
nrf52: add serial termios support
2020-09-30 09:09:04 -03:00
Nathan Hartman
fc404e15da
tiva: Fix nxstyle warnings
...
arch/arm/src/tiva/hardware/tiva_eeprom.h:
* Fix nxstyle warnings. No functional changes.
arch/arm/src/tiva/hardware/tiva_sysctrl.h:
* Fix nxstyle warnings. No functional changes.
arch/arm/src/tiva/hardware/tiva_uart.h:
* Fix nxstyle warnings. No functional changes.
arch/arm/src/tiva/hardware/tiva_wdt.h:
* Fix nxstyle warnings. No functional changes.
2020-09-29 16:59:17 +01:00