David Sidrane
c3cbe673ad
nucleo-h743zi:Use Serial RX/DX DMA
2021-04-17 09:56:41 +02:00
David Sidrane
c801de4201
stm32h7:Serial Add RX and TX DMA
...
stm32h7:Serial Use Idel to poll RX DMA
stm32h7:Serial Do not loop in an ISR!
stm32h7:Serial signal txdma completion with semaphore
stm32h7:Serial Apply formatting suggestions from code review
Co-authored-by: Mateusz Szafoni <raiden00pl@gmail.com>
stm32h7: Serail Add Power Managment (Untested)
2021-04-17 09:56:41 +02:00
Masayuki Ishikawa
65274d5fdf
boards: lc823450-xgevk: Workaround to avoid an ostest crash with rndis
...
Summary:
- This is just a workaround to avoid a crash in signest_test
- The commit should be reverted once we find the root cause of the issue
Impact:
- None
Testing:
- Tested with ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-16 03:53:13 -05:00
Xiang Xiao
2335b69120
arch: Allocate the space from the beginning in up_stack_frame
...
arch: Allocate the space from the beginning in up_stack_frame
and modify the affected portion:
1.Correct the stack dump and check
2.Allocate tls_info_s by up_stack_frame too
3.Move the stack fork allocation from arch to sched
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-16 12:41:41 +09:00
Xiang Xiao
8640d82ce0
arch: Rename g_intstackbase to g_intstacktop
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-16 12:41:41 +09:00
Masayuki Ishikawa
97e6d35c3a
drivers: wireless: Fix AT command response handling in gs2200m.c
...
Summary:
- When sending an AT command during receiving a bulk packet,
the bulk packet might be put in the AT command response.
- To handle such the case, gs2200m_send_cmd2() is newly
introduced instead of using gs2200m_send_cmd(dev, cmd, NULL)
Impact:
- All use cases that send an AT command in gs2200m.c
Testing:
- Tested with renew and nxplayer with spresense:wifi
Reported-by: Masatoshi Ueno <Masatoshi.Ueno@sony.com>
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-15 21:28:25 -05:00
David Sidrane
3feb3a247d
stm32:Serial DMA config USART{4578} -> UART{4578}
2021-04-15 21:26:32 -05:00
hotislandn
d0c31f09e7
arch:rv64:c906:add configuration for kernel module test.
...
Signed-off-by: hotislandn <hotislandn@hotmail.com>
2021-04-15 11:04:51 -05:00
Alan C. Assis
33dfceb6ff
Add more questions/answers to the FAQ
2021-04-15 08:11:54 -05:00
raiden00pl
0ada35faeb
nucleo-g431rb: add support for IHM16M1
2021-04-15 06:38:39 -05:00
raiden00pl
25240d9114
boards/stm32/common: add support for IHM16M1
2021-04-15 06:38:39 -05:00
raiden00pl
5e59d3753a
nucleo-g431rb: fixes for button
2021-04-15 06:38:39 -05:00
raiden00pl
82ce1de7cd
stm32/stm32_foc: remove the debug message before the calibration start
...
For unknown reasons this message may interferre with the calibration
procedure and result in invalid calibariton data.
We leave only a message informing about the end of the the calibration.
The problem was observed for STM32G4 + IHM16M1.
2021-04-15 06:37:15 -05:00
raiden00pl
13f62d15cc
stm32/stm32_foc: do not enable PWM outputs that are not in use
2021-04-15 06:37:15 -05:00
YAMAMOTO Takashi
d1307aa34f
esp32-devkitc: Add a config to run apps/examples/sotest
2021-04-15 12:18:52 +01:00
YAMAMOTO Takashi
c62173375d
esp32-devkitc: Add a config to run apps/examples/module
...
Right now, these seems to be no config in tree with
CONFIG_ARCH_USE_MODULE_TEXT.
2021-04-15 12:18:52 +01:00
YAMAMOTO Takashi
1748ca42cd
esp32: Ensure the alignment of _smodtext
2021-04-15 12:18:52 +01:00
YAMAMOTO Takashi
3806803a7a
arch/xtensa/src/esp32/esp32_user.c: Implement L16SI emulation
...
I don't know why this was not necessary before.
Probably I was just lucky about the combination of configs.
Or maybe some of recent changes happened to make the compiler
to use the instruction.
```
400d38f0 <mm_givesemaphore>:
400d38f0: 004136 entry a1, 32
400d38f3: 228c beqz.n a2, 400d38f9 <mm_givesemaphore+0x9>
400d38f5: 0228 l32i.n a2, a2, 0
400d38f7: 52cc bnez.n a2, 400d3900 <mm_givesemaphore+0x10>
400d38f9: fea0b2 movi a11, 254
400d38fc: 000306 j 400d390c <mm_givesemaphore+0x1c>
400d38ff: 00 .byte 00
400d3900: 019232 l16si a3, a2, 2
400d3903: feebe5 call8 400d27c0 <getpid>
400d3906: 0813a7 beq a3, a10, 400d3912 <mm_givesemaphore+0x22>
400d3909: 05a1b2 movi a11, 0x105
400d390c: f241a1 l32r a10, 400d0210 <_stext+0x1f0>
400d390f: ff23e5 call8 400d2b4c <_assert>
400d3912: 1288 l32i.n a8, a2, 4
400d3914: 0828a6 blti a8, 2, 400d3920 <mm_givesemaphore+0x30>
400d3917: 880b addi.n a8, a8, -1
400d3919: 1289 s32i.n a8, a2, 4
400d391b: 000606 j 400d3937 <mm_givesemaphore+0x47>
400d391e: 00 .byte 00
400d391f: 00 .byte 00
400d3920: ffaf82 movi a8, -1
400d3923: 015282 s16i a8, a2, 2
400d3926: 00a082 movi a8, 0
400d3929: 016282 s32i a8, a2, 4
400d392c: 02ad mov.n a10, a2
400d392e: feb125 call8 400d2440 <sem_post>
400d3931: 19a1b2 movi a11, 0x119
400d3934: fd4a96 bltz a10, 400d390c <mm_givesemaphore+0x1c>
400d3937: f01d retw.n
400d3939: 000000 ill
```
2021-04-15 12:18:52 +01:00
YAMAMOTO Takashi
a28de1d681
arch/xtensa/src/esp32/esp32_user.c: Fix S16I/L16LU emulation
...
I misunderstood how imm8 is used to calculate the address.
2021-04-15 12:18:52 +01:00
raiden00pl
dd86fe5ca5
Kconfig: add missing DEBUG_MOTOR option
2021-04-15 11:12:58 +01:00
Anthony Merlino
b1f637a6ea
stm32h7: Don't automatically select HSI48 as it may depend on USBSEL.
...
Add preprocessor logic that can catch the condition where the board is selecting the HSI48 as the USBSEL source, but the HSI48 isn't enabled.
2021-04-15 02:00:37 -07:00
Anthony Merlino
4c8d70dd2e
stm32h7: Initialize CSI and HSI48 clocks as needed based on enabled peripherals.
2021-04-15 02:00:37 -07:00
Marco Krahl
05b889457e
1wire: Removes duplicate device information
...
Removes the family identifier from the device configuration, since the device
family is already part of the rom code and the underlying logic does know how
to extract this information.
include/nuttx/1wire drivers/sensors
stm32f103-minimim
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2021-04-15 02:28:42 -05:00
YAMAMOTO Takashi
51490bad55
modlib: Implement sh_addralign handling
...
I've seen a module with 16 bytes .rodata alignment for xmm operations.
It was getting SEGV on sim/Linux because of the alignment issue.
The same module binary seems working fine after applying this patch.
Also, tested on sim/macOS and esp32 on qemu,
using a module with an artificially large alignment. (64 bytes)
2021-04-14 21:17:07 -05:00
jturnsek
7813b4f88a
Refreshing default configs
2021-04-14 14:57:26 -07:00
jturnsek
61b0e530b0
Default config without flexspi and mtd
2021-04-14 14:57:26 -07:00
jturnsek
c12ccfc80b
Copy .ARM.exidx together with .text to make linker happy
2021-04-14 14:57:26 -07:00
jturnsek
e32d186739
Removing MMCEN pin setting from LPSPI1
2021-04-14 14:57:26 -07:00
jturnsek
e250006b1e
FlexSPI NOR missing config and pin iomux
2021-04-14 14:57:26 -07:00
jturnsek
0c4d66dcf0
FlexSPI NOR driver added
2021-04-14 14:57:26 -07:00
jturnsek
2f92ecc7d6
Fixed comment lengths
2021-04-14 14:57:26 -07:00
jturnsek
a4857d78b9
Removing some none existing initialization.
2021-04-14 14:57:26 -07:00
jturnsek
f5d22ccd03
Change ALL copyright from Greg and David to apache since they already sign SGA or ICLA
2021-04-14 14:57:26 -07:00
jturnsek
4e50ba14e8
Removing some none existing configurations from the default
2021-04-14 14:57:26 -07:00
jturnsek
33b071ecb9
MIMXRT1064-EVK support
2021-04-14 14:57:26 -07:00
Gustavo Henrique Nihei
0030c2020f
boards/esp32-wrover-kit: Remove deprecated README documentation
2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
23775da531
Documentation: Add ESP-WROVER-KIT documentation with NX and LVGL configs
2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
890ce34626
boards/esp32-wrover-kit: Add configuration for running LVGL demo
2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
3fbca90700
boards/esp32-wrover-kit: Add configuration for testing NX graphics
2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
3ae2a2965f
boards/esp32-wrover-kit: Add support for Framebuffer character driver
2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
ee636c5fe2
boards/esp32-wrover-kit: Add support for LCD character driver
2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
856bed2966
boards/esp32-wrover-kit: Add LCD support via ILI9341 controller
2021-04-14 16:29:32 -03:00
Gustavo Henrique Nihei
71f9aca371
boards/esp32: Refactor SPI hooks to be shared among ESP32 devkits
2021-04-14 16:29:32 -03:00
Alan C. Assis
9d5ed6e594
Documentation: Add FAQ entry
2021-04-14 15:09:21 -03:00
raiden00pl
ad8c09d0a1
stm32: include support for TIMERS_V3
2021-04-14 10:53:50 -04:00
raiden00pl
7c11397469
stm32: add definitions for TIMERS_V3. All credit goes to Nathan Hartman (hartmannathan)
2021-04-14 10:53:50 -04:00
raiden00pl
6d69600905
stm32/Kconfig: move configuration common for G4 under STM32_STM32G4XXX option
2021-04-14 10:53:50 -04:00
raiden00pl
d19994139f
nucleo-g431rb: add ADC example
2021-04-14 05:02:39 -05:00
Marco Krahl
aea0135273
stm32f103-minimum: Adds custom initializing for sensors
...
This adds initializing for the following sensor types:
- HYT271 humidity and temperature sensor
- DS18B20 temperature sensor
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2021-04-14 02:49:28 -05:00
Marco Krahl
9f9d266f68
drivers/sensors: Adds new driver for ds18b20 sensore module
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2021-04-14 02:49:28 -05:00