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
24e17910b2
libdsp: Changed headers for apache 2.0 license
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
1621305e79
drivers: 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
Xiang Xiao
c59fcd3a53
sched: nxtask_start should call entry point directly for kernel thread
...
since nxtask_startup will initialize c++ global variables which shouldn't
be done inside the kernel thread
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-08 09:14:33 +02:00
Masayuki Ishikawa
cb6dd70082
boards: cxd56xx: Fix a deadlock in cxd56_gs2200m.c
...
Summary:
- During streaming test, I noticed a dealock when controlling IRQ
- Actually, it will send an IPI when the cpu index is not 0
- However, up_cpu_pause() also sends IPI with critical section
- So the IRQ control must follow the same rule
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
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
Fotis Panagiotopoulos
3eee887d87
Typo fix.
2020-10-06 19:44:56 -03: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
Masayuki Ishikawa
822497d021
drivers: note: Fix compile errors in noteram_driver.c
...
Summary:
- This commit fixes compile errors if CONFIG_DEBUG_ASSERTIONS=y
Impact:
- Affects noteram_driver only
Testing:
- Tested with spresense:wifi_smp with CONFIG_DEBUG_ASSERTIONS=y
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-06 16:42:40 +08: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
Nakamura, Yuuichi
89ea234af8
Add on-boot instrumentation support for note filter
2020-10-06 03:26:46 +08:00
Nakamura, Yuuichi
a373079a94
Fix /dev/note driver for task trace support
2020-10-06 03:26:46 +08:00
Nakamura, Yuuichi
6efecd2105
Add notectl driver
2020-10-06 03:26:46 +08:00
Nakamura, Yuuichi
6b54377476
Add note filter functions
2020-10-06 03:26:46 +08:00
Gregory Nutt
32b0562375
Add some comments to inet_ntop()
...
Endian-ness issues are mind boggling sometimes. I have been confused by the logic in inet_ntop() a few times so I thought I would add some comments so that I (and others) will understand the endian-ness issues in the future. No change to logic, only comments changed.
2020-10-05 03:00:22 +08:00
Yoshinori Sugino
e4094eff12
sched/signal: Cosmetic changes
2020-10-05 01:05:45 +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
David Sidrane
e254083a7d
net:Add ARCH_PHY_POLLED option
2020-10-01 15:28:51 +08:00