Gustavo Henrique Nihei
87eb84ad73
nuttx/spi: Apply some fixes to SPI Slave documentation
2021-05-05 16:56:07 -03:00
Gustavo Henrique Nihei
534c058d93
spi: Adopt CPHA as the abbreviation for clock phase
2021-05-05 16:56:07 -03:00
David Sidrane
92dba32c8c
stm32h7:Allow for reuse of the OTG_ID GPIO
...
Currently Nuttx doesn't seem to be any real support for OTG.
In the future when OTG is supported. This Knob can be removed
and drivers can enable their pin sets based on CONFIG_OTG.
(Adding CONFIG_OTG at this time would be misleading.)
2021-05-05 12:22:11 -04:00
David Sidrane
cd603af958
stm32f7:Allow for reuse of the OTG_ID GPIO
2021-05-05 12:22:11 -04:00
David Sidrane
8624f9a444
s32k1xx:flexcan Use inttypes in printing macro
2021-05-05 06:07:50 -07:00
David Sidrane
7fb59e4f36
kinetis:flexcan Use inttypes in printing macro
2021-05-05 06:07:50 -07:00
David Sidrane
e5ceb062f9
stm32f7:Use inttypes in printing macro
...
stm32f7:SDMMC Use inttypes in printing macro
stm32f7:CAN Use inttypes in printing macro
stm32f7:DMA Use inttypes in printing macro
stm32f7:serial fix compile error from UNUSED() change
2021-05-05 06:07:50 -07:00
David Sidrane
cbe3e120d5
stm32h7:Use inttypes in printing macros
2021-05-05 06:07:50 -07:00
Jukka Laitinen
9b8399effe
lib_modfl: Use fabsl instead of fabs for long double arguments
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-05-05 06:05:58 -07:00
raiden00pl
a74ea51aae
drivers/timers/pwm.c: fix compilation warnings
2021-05-05 09:32:58 -03:00
raiden00pl
b721ba05aa
stm32_pwm.c: fix compilation warnings
2021-05-05 09:32:58 -03:00
raiden00pl
7cb7fe3f38
stm32_pwm: fixes for PULSECOUNT support
...
1. generate an indefinite number of pulses when info->count = 0
2. timers that don't support pulse-count shouldn't use pulse-count logic
2021-05-05 09:32:58 -03:00
Sara Souza
873293cc3f
xtensa/esp32: Applies REG_MASK to extract a field value
2021-05-05 01:30:03 -07:00
Sara Souza
50daf24242
esp32/esp32-c3: Adds two helpers to extract and include a field value
2021-05-05 01:30:03 -07:00
Sara Souza
cce42d5f74
xtensa/esp32: Reorganize the pins initialization and adds showprogress in __start
2021-05-05 01:30:03 -07:00
Sara Souza
afd6b26232
xtensa/esp32: Replace serialout/in and fixes the fifo counter issue
2021-05-05 01:30:03 -07:00
Abdelatif Guettouche
f3a6d80c95
esp32c3/hardware: Include files of the same level by their names only and
...
remove unnecessary includes.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-05-05 01:28:22 -07:00
Abdelatif Guettouche
e24af207f8
esp32/hardware: Include files of the same level by their names only and
...
remove unnecessary includes.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-05-05 01:28:22 -07:00
raiden00pl
7b53a5fe1c
stm32_adc.c: rename a struct member in struct adccmn_data_s from 'initialized' to 'refcount'
2021-05-05 01:27:56 -07:00
raiden00pl
3fb78a8299
drivers: move the generic upper-half motor driver from drivers/power to drivers/motor
2021-05-05 09:00:22 +02:00
Sara Souza
b01ddef61b
risc-v/esp32-c3: Adds freerun wrapper
2021-05-04 15:22:26 -03:00
Brennan Ashton
2c91805d8f
boards/stm32f7: Add i2c and mpu60x0 support to nucleo-144
2021-05-04 10:17:44 -03:00
Brennan Ashton
e155af891a
sensor: Fix bad bit mask macro in mpu60x0
2021-05-04 10:17:44 -03:00
David Sidrane
22b719945f
fs:cromf Use inttypes in printing macros
2021-05-04 09:40:51 +01:00
David Sidrane
8f8befaa25
mtd:ramtron Use inttypes in printing macros
2021-05-03 16:58:47 -04:00
David Sidrane
a61f70d571
inet:sockif Fix warning
2021-05-03 16:55:48 -04:00
Nathan Hartman
8efec13ab0
drivers/motor - Fix CFLAGS path
...
* drivers/motor/Make.defs b/drivers/motor/Make.defs:
Fix typo in MOTOR_CFLAGS path (motr -> motor)
2021-05-03 12:23:54 -07:00
Abdelatif Guettouche
1ea25a83fe
tools/esp32/mk_qemu_img.sh: Group the offsets in variables.
2021-05-03 11:11:32 -03:00
Abdelatif Guettouche
f08aa47927
tools/esp32/mk_qemu_img.sh: Refactor the dd commands and suppress all the
...
status output.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-05-03 11:11:32 -03:00
Max Kriegleder
d1d4237ac7
boards/nucleo-h743zi2: Fixed pin and color of board LED LD2
2021-05-01 21:25:59 -07:00
Michal Lenc
2dcd41f2ab
boards/arm/stm32/nucleo-f446re: added support for PWM
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-05-01 15:18:24 -03:00
Gustavo Henrique Nihei
4f08f43a6d
boards/esp32c3-devkit: Increase MAX_TASKS to 16 on nsh/ostest configs
...
This fixes the barrier test from ostest application
2021-04-30 17:55:30 +01:00
Gustavo Henrique Nihei
7ded22fb1a
risc-v/k210: Fix SMP interrupt stack size calculation
2021-04-29 19:39:17 -07:00
Gustavo Henrique Nihei
e0da0bf6bd
arch/risc-v: Fix interrupt stack alignment
2021-04-29 19:39:17 -07:00
Gustavo Henrique Nihei
f8a36f10c3
arch: Uniformize optimization flag setting across architectures
2021-04-29 19:17:16 -07:00
Gustavo Henrique Nihei
abf039b744
risc-v/rv32im: Set MAXOPTIMIZATION regardless of any debug options
2021-04-29 19:17:16 -07:00
Alan C. Assis
0a0a034a3f
esp32: replace EPS32 typo with ESP32
2021-04-29 18:03:05 -03:00
Juha Niskanen
07cde736bd
arch: fix some printf format errors
2021-04-29 19:16:56 +01:00
Alexander Vasiljev
940c5b69c3
stm32h7: serial: use dma tx semaphore as resource holder
2021-04-29 03:19:44 -07:00
Masayuki Ishikawa
f4089ab528
boards: sim: Remove CONFIG_NETDEV_IFINDEX=y
...
Summary:
- This commit fixes the warnings reported by the CI
Impact:
- None
Testing:
- Build only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-29 03:20:43 -05:00
Gregory Nutt
7332d2decf
net/: Add missing packet filtering checks
...
NuttX provides the UDP_BINDTODEVICE socket option. This is a UDP protocol-specific implementation of the semi-standard Linux SO_BINDTODEVICE socket option: "SO_BINDTODEVICE forces packets on the socket to only egress the bound interface, regardless of what the IP routing table would normally choose. Similarly only packets which ingress the bound interface will be received on the socket, packets from other interfaces will not be delivered to the socket." https://codingrelic.geekhold.com/2009/10/code-snippet-sobindtodevice.html
If CONFIG_NET_UDP_BINDTODEVICE is selected and a UDP socket is bound to the device, then unrecognized packets UDP packets must not be dropped, but must be forwarded along to the bound socket unconditionally.
It the typical case, this should have no impact. It does effect the applications that use DHCP and do select the UDP_BINDTODEVICE socket option.
This PR replace existing improper logic in the code and also the improper attempts to fix problems from PR #3601 and PR #3598 . Those changes are improper because they expose DHCP appliction dependencies in the OS, breaking modularity and independence of the OS and application.
Tested with stm32f4discovery:netnsh with CONFIG_NET_UDP_BINDTODEVICE. A proper DHCP test setup is needed, however.
2021-04-29 12:47:02 +08:00
Gregory Nutt
27e0725a4e
Remove CONFIG_NET_UDP_BINDTODEVICE from DHCPC configurations
...
CONFIG_NET_UDP_BINDTODEVICE is now selected by default if DHCPC is enabled.
This change will not build without apps PR 696
2021-04-28 21:22:40 -05:00
Nathan Hartman
26f09cec6d
Documentation: Fix a few typos.
...
* Documentation/contributing/documentation.rst
* Documentation/guides/tasktraceuser.rst
* Documentation/guides/drivers.rst
* Documentation/quickstart/running.rst
* Documentation/quickstart/compiling.rst
* Documentation/components/drivers/character/watchdog.rst
* Documentation/components/drivers/character/foc.rst
* Documentation/components/nxgraphics/nxtk.rst
* Documentation/applications/nsh/login.rst
* Documentation/introduction/detailed_support.rst
* Documentation/introduction/resources.rst
* Documentation/reference/user/01_task_control.rst
* Documentation/reference/os/wqueue.rst
Fix some misspelled words.
Many of these were caught by codespell.
2021-04-28 17:00:23 -03:00
Dong Heng
fcd5648bca
riscv/esp32c3: Fix SPI Flash driver internal chip data address error
...
"g_rom_flashchip" is not in fixed address between all ESP32-C3's different versions.
2021-04-28 09:58:16 -05:00
Gustavo Henrique Nihei
edeb16123b
risc-v/esp32c3: Uniformize alignment for assembly instructions
2021-04-28 09:55:57 -05:00
Gustavo Henrique Nihei
9e7d3cff92
risc-v/esp32c3: Improve interrupt handler documentation
2021-04-28 09:55:57 -05:00
Gustavo Henrique Nihei
27d32f4309
risc-v/esp32c3: Reorder register restoration on interrupt handler epiloque
2021-04-28 09:55:57 -05:00
Gustavo Henrique Nihei
66a15a6f83
risc-v/esp32c3: Fix wrong references to ESP32
2021-04-28 15:41:30 +01:00
Gustavo Henrique Nihei
d9f2289d30
boards/esp32: Allocate .noinit in a dedicated section
2021-04-28 15:40:49 +01:00
Gustavo Henrique Nihei
ba23526e39
boards/esp32c3-devkit: Allocate .noinit in a dedicated section
...
Previously it was being allocated into .bss section after the _ebss
address. Although functional, this is not intuitive.
2021-04-28 15:40:49 +01:00