raiden00pl
3c34337064
stm32: add support for serial TX DMA
2021-03-29 21:39:35 -03:00
raiden00pl
0cca102d41
stm32: fix USART1 clock for STM32F302
2021-03-29 21:39:35 -03:00
Roberto Bucher
590ee65fa7
Integration of pysimCoder with NUTTX
2021-03-29 21:38:58 -03:00
raiden00pl
63a4807f28
stm32/stm32_pwm: add interfaces to access RCR register and add interface to modify TRGO
2021-03-29 21:37:41 -03:00
raiden00pl
94ff4564b4
stm32/stm32_adc.c: move maximum number of samples cfg to Kconfig.
...
The maximum number of samples which can be handled without overrun depends on various factors.
This is the user's responsibility to correctly select this value.
Since the interfece to update the sampling time is available for all supported devices,
the user can change the default vaules in the board initialization logic and avoid ADC overrun.
2021-03-29 21:35:46 -03:00
raiden00pl
88753afb75
stm32/stm32_adc.c: fix enable/disable interrupts logic for coupled ADC
2021-03-29 21:35:46 -03:00
raiden00pl
166bf0434b
stm32/stm32_adc.c: add an option to configure ANIOC_TRIGGER behavior
2021-03-29 21:35:46 -03:00
raiden00pl
58a03302d2
stm32/stm32_adc.c: add an option to configure SCAN mode for ADC IPv1
2021-03-29 21:35:46 -03:00
raiden00pl
e10a6647e9
stm32/stm32_adc.c: fix initial sample time write
2021-03-29 21:35:46 -03:00
Brennan Ashton
6657d151ca
Fix indexing for stm32h7 usbhost tracing
2021-03-29 03:51:52 -05:00
Brennan Ashton
6106557034
usbhost: Add usb host tracing strings to stm32h7
2021-03-28 23:30:08 -05:00
Brennan Ashton
0a3b20e546
syslog: Drop extra carriage return from syslog calls
2021-03-28 21:24:00 -05:00
Alin Jerpelea
32894cda1c
arch: arm: sam: fix Mixed Case Errors
...
fix Mixed Case Errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-28 13:34:50 -07:00
Alin Jerpelea
60424bc762
arch: arm: sam: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-28 13:34:50 -07:00
Alin Jerpelea
56471c77b3
arch: arm: sam: Author 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-03-28 13:34:50 -07:00
Alin Jerpelea
20ce2f274a
arch: arm: lpc17xx_40xx: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-28 00:32:09 -05:00
Alin Jerpelea
75a8f353d4
arch: arm: lpcxxxx: Author 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-03-28 00:32:09 -05:00
Alin Jerpelea
bc794bcafe
arch: arm: s32k1xx: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-26 23:39:15 -05:00
Alin Jerpelea
253d7e2b7a
arch: arm: s32k1xx: Author 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-03-26 23:39:15 -05:00
Huang Qi
2e2af6e3d7
arch/arm: Use macro defined swi range in dispatch_syscall
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: Ia8503a13c5b04fa8cc13cee74b75b19623986c1d
2021-03-26 09:13:59 -07:00
Alin Jerpelea
575022debc
arch: arm: kinetis: fix Mixed Case error
...
Fix Mixed Case error to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-26 09:03:11 -07:00
Alin Jerpelea
fafecbf107
arch: arm: kinetis: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-26 09:03:11 -07:00
Alin Jerpelea
d5beb72299
arch: arm: kinetis: Author 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-03-26 09:03:11 -07:00
Alin Jerpelea
cb296ee0e8
arch: arm: max326xx: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-26 09:01:37 -07:00
Alin Jerpelea
33eadd0a9a
arch: arm: max326xx: Author 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-03-26 09:01:37 -07:00
Xiang Xiao
4e66d55a17
arch/arm: Fix the style warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-26 17:01:24 +01:00
Alin Jerpelea
ee32535bc9
arch: arm: nuc1xx: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-26 09:44:34 -05:00
Alin Jerpelea
dd9d21be87
arch: arm: nuc1xx: Author 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-03-26 09:44:34 -05:00
Alin Jerpelea
da65128b8c
arch: arm: armv8-m: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 19:42:44 -07:00
Alin Jerpelea
df7bffe8fd
arch: arm: armv7-r: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 19:42:44 -07:00
Alin Jerpelea
2a9e424f9a
arch: arm: armv7-r: Author 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-03-25 19:42:44 -07:00
Alin Jerpelea
3ea545e7f3
arch: arm: armv7-a: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 19:42:44 -07:00
Alin Jerpelea
1d1da330da
arch: arm: armv7-a: Author 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-03-25 19:42:44 -07:00
Alin Jerpelea
8dc6fc74eb
arch: arm: armv7-m: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 19:42:44 -07:00
Alin Jerpelea
b2cd6fb980
arch: arm: armv6-m: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 19:42:44 -07:00
Alin Jerpelea
2f2bda3385
arch: arm: armv6-m: Author 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-03-25 19:42:44 -07:00
Alin Jerpelea
1809d56982
arch: arm: arm: Author 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-03-25 19:42:44 -07:00
Alin Jerpelea
01cde40bdc
arch: arm: imx: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 19:41:36 -07:00
Alin Jerpelea
188a76f1f9
arch: arm: imx: Author 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-03-25 19:41:36 -07:00
David Sidrane
9e881449d9
tiva:cc13x0_adi3_refsys fix typo
2021-03-25 10:53:24 -07:00
Alin Jerpelea
307b6ed7ca
arch: arm: efm32: fix Mixed case identifier found error
...
fix Mixed case identifier errors reported by nxstyle
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 10:53:13 -07:00
Alin Jerpelea
a1b653d8b6
arch: arm: efm32: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 10:53:13 -07:00
Alin Jerpelea
de435a8a1e
arch: arm: efm32: Author 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-03-25 10:53:13 -07:00
Alin Jerpelea
cf2aed1810
arch: arm: cm320: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 01:34:38 -07:00
Alin Jerpelea
17af7179a6
arch: arm: cm320: Author 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-03-25 01:34:38 -07:00
Alin Jerpelea
5419901c7b
arch: arm: common: nxstyle fixes
...
nxstyle files to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 01:34:38 -07:00
Alin Jerpelea
42ed13aa4d
arch: arm: common: Author 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-03-25 01:34:38 -07:00
Alin Jerpelea
d1e4a0cc28
arch: arm: c5471: fix nxstyle errors
...
Fi nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 01:34:38 -07:00
Alin Jerpelea
197729e1ff
arch: arm: c5471: Author 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-03-25 01:34:38 -07:00
Alin Jerpelea
532640d383
arch: arm: am335x: fix nxstyle errors
...
Fi nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 01:34:38 -07:00
Alin Jerpelea
a6b7c024de
arch: arm: am335x: Author 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-03-25 01:34:38 -07:00
Alin Jerpelea
b5fd0af658
arch: arm: a1x: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-25 01:34:38 -07:00
Alin Jerpelea
f2813416d1
arch: arm: a1x: Author 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-03-25 01:34:38 -07:00
Alin Jerpelea
63a35488a8
arch: arm: kl: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-24 23:58:46 -07:00
Alin Jerpelea
f707d3f78e
arch: arm: kl: Author 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-03-24 23:58:46 -07:00
Alin Jerpelea
7869b7185b
arch: arm: xmc4: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-24 23:58:46 -07:00
Alin Jerpelea
f2f0193960
arch: arm: xmc4: Author 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-03-24 23:58:46 -07:00
Alin Jerpelea
d83628af1d
arch: arm: tms570: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-24 23:58:46 -07:00
Alin Jerpelea
0308842cf2
arch: arm: tms570: Author 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-03-24 23:58:46 -07:00
Alin Jerpelea
29bf33839b
arch: arm: str71x: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-24 23:58:46 -07:00
Alin Jerpelea
f30b6f9532
arch: arm: str71x: Author 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-03-24 23:58:46 -07:00
Alin Jerpelea
7511dbd814
arch: arm: nrf52: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-24 23:58:46 -07:00
Alin Jerpelea
5867ddac59
arch: arm: nrf52: Author 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-03-24 23:58:46 -07:00
Alin Jerpelea
5360d9b23f
arch: arm: moxart: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-24 23:58:46 -07:00
Alin Jerpelea
dcfea2ad89
arch: arm: moxart: Author 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-03-24 23:58:46 -07:00
Alin Jerpelea
df6cc29957
arch: arm: lc823450: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-24 23:58:46 -07:00
Alin Jerpelea
d6e16cac0b
arch: arm: lc823450: Author 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-03-24 23:58:46 -07:00
Alin Jerpelea
295f8c2cac
arch: arm: eoss3: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-24 23:58:46 -07:00
Alin Jerpelea
5239764f67
arch: arm: tiva: fix Mixed case identifier errors
...
fix nxstyle error for Mixed Case Identifier
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-24 23:49:48 -07:00
Alin Jerpelea
648b2669d1
arch: arm: tiva: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-24 23:49:48 -07:00
Alin Jerpelea
fa0dd46c6c
arch: arm: tiva: Author 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-03-24 23:49:48 -07:00
Jonathan
1ec65ee5e7
samv7: Fix sam_putreg() parameter type
...
Fix sam_getreg() parameter
Fixing file style to pass in CI
2021-03-24 21:27:44 -07:00
Nathan Hartman
93f0912b09
arch/stm32h7 - Fix compiler warnings and error in stm32_dma.c
...
arch/arm/src/stm32h7/stm32_dma.c:
* Include <inttypes.h> explicitly for format specifiers.
* In functions stm32_mdma_capable(), stm32_mdma_dump(),
stm32_sdma_setup(), stm32_sdma_capable(), stm32_sdma_dump(),
stm32_bdma_setup(), stm32_bdma_capable(), stm32_bdma_dump(),
stm32_dmamux_dump(), stm32_dmachannel(), stm32_dmafree(), and
stm32_dmadump():
Where appropriate, use format specifiers from <inttypes.h> in
calls to dmainfo(). This removes numerous compiler warnings
like:
warning: format '%x' expects argument of type 'unsigned int',
but argument 3 has type 'uint32_t {aka long unsigned int}'
[-Wformat=]
* In function stm32_mdma_disable():
Remove wrong redefinition of 'dmachan' parameter as a local
variable. This fixes the following compiler error that occurs
when building with CONFIG_STM32H7_MDMA:
chip/stm32_dma.c:930:17: error: 'dmachan' redeclared as
different kind of symbol
DMA_CHANNEL dmachan = (DMA_CHANNEL)handle;
^~~~~~~
chip/stm32_dma.c:928:44: note: previous definition of 'dmachan'
was here
static void stm32_mdma_disable(DMA_CHANNEL dmachan)
^~~~~~~
chip/stm32_dma.c:930:43: error: 'handle' undeclared (first use
in this function); did you mean 'random'?
DMA_CHANNEL dmachan = (DMA_CHANNEL)handle;
^~~~~~
random
2021-03-24 21:21:57 -07:00
David Sidrane
21159666fc
stm32h7:SPI Fix 16 bit SPI mode
2021-03-24 15:17:20 -03:00
Petteri Aimonen
3dfc4e0afd
STM32 USB OTGFSDEV: Update comments
2021-03-24 11:12:40 -07:00
Petteri Aimonen
18bfef1b38
STM32 USB OTGFSDEV: Fix code style issues
2021-03-24 11:12:40 -07:00
Petteri Aimonen
3c610d5d70
STM32 USB OTGFSDEV: Fix handling of SETUP OUT longer than 64 bytes.
...
For example Windows RNDIS driver issues SETUP requests that are 76 bytes
long. Previously NuttX would read them all, but only if they arrive at
the same time. If host transfer scheduling causes a pause between the
two DATA packets, stm32_ep0out_receive() would proceed with an incomplete
transfer. The rest of the data could either be skipped by the error handler
branch, or be left in NAK state forever, stopping any further communication
on the endpoint.
This commit changes it so that the whole transfer has to be received before
SETUP handler is called. Depending on CONFIG_USBDEV_SETUP_MAXDATASIZE any
excess bytes will be discarded, but doing this in a controlled way ensures
deterministic behavior. In the specific case of RNDIS, the trailing bytes
are unused padding bytes and can be safely discarded.
2021-03-24 11:12:40 -07:00
Roberto Bucher
9a2cb311a3
File for the integration of pysimCoder with NUTTX
2021-03-23 20:37:56 -03:00
Xiang Xiao
6f6a5a7cb2
arch/arm: Fix nxstyle warning in stm32h7/stm32_dma.c
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-23 13:57:31 +01:00
David Sidrane
9800256507
stm32h7:DMA BDMA does not auto disabled on completion
2021-03-22 19:50:53 -07:00
Nathan Hartman
f83b30bda1
arch/stm32: Fix wrong Kconfig names for STM32G4xxx MCUs
...
arch/arm/src/stm32/Kconfig:
* configs ARCH_CHIP_STM32G431K, ARCH_CHIP_STM32G431C,
ARCH_CHIP_STM32G431R, ARCH_CHIP_STM32G431M, and
ARCH_CHIP_STM32G431V: Fix copy/paste of incorrect
names shown in the Kconfig menu.
2021-03-22 19:47:32 -07:00
Alin Jerpelea
1fdae80321
arch: arm: kinetis: fix nxstyle errors
...
fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-22 19:28:38 -07:00
Alin Jerpelea
b6a987afe0
arch: arm: imxrt: nxstyle fix
...
nxstyle is complaining that the headers are defines outside
Included Files section and we have to duplicate the definitions
to the imported files to avoid build errors.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-22 19:28:38 -07:00
Alin Jerpelea
881cfe4b70
arch: arm: kl: fix Mixed case identifier
...
Mixed case identifier fix to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-22 19:28:38 -07:00
Alin Jerpelea
ee0861ae7a
arch: arm: fixes for nxstyle errors
...
Nxstyle error fixes to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-22 19:28:38 -07:00
Alin Jerpelea
c39339a7a8
arch: arm: include: nxstyle fixes
...
nxstyle fixes to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-22 19:28:38 -07:00
Alin Jerpelea
4daa276903
arch: arm: include: Author 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-03-22 19:28:38 -07:00
Alin Jerpelea
35e0d13d18
arch: Author Sebastien Lorquet: update licenses to Apache
...
Sebastien Lorquet has submitted the ICL and we can migrate the 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-03-22 19:28:38 -07:00
Alin Jerpelea
85bcf1bd4c
arch: Author Alan Carvalho de Assis: update licenses to Apache
...
Alan Carvalho de Assis has submitted the ICL and we can migrate the 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-03-22 19:28:38 -07:00
Alin Jerpelea
37f91b023c
arch: Author David Sidrane: update licenses to Apache
...
David Sidrane has submitted the ICL and we can migrate the 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-03-22 19:28:38 -07:00
Alin Jerpelea
8dd660ecd4
nuttx: Author David S. Alessio: update licenses to Apache
...
David S. Alessio has submitted the ICL and we can migrate the 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-03-22 19:28:38 -07:00
Nathan Hartman
4653dc14d3
Fix typos (and nxstyle errors)
...
ReleaseNotes,
arch/arm/src/cxd56xx/cxd56_dmac_common.h,
arch/arm/src/efm32/efm32_dma.h,
arch/arm/src/lpc54xx/lpc54_lcd.c,
arch/arm/src/rp2040/rp2040_dmac.h,
arch/arm/src/stm32/stm32_dma.h,
arch/arm/src/stm32f0l0g0/stm32_dma.h,
arch/arm/src/stm32f7/stm32_dma.h,
arch/arm/src/stm32h7/stm32_dma.h,
arch/arm/src/stm32l4/stm32l4_dma.h,
arch/renesas/src/rx65n/rx65n_dtc.h,
fs/spiffs/src/spiffs_vfs.c,
net/route/cacheroute.h,
net/route/net_cacheroute.c,
net/route/net_foreach_fileroute.c,
net/route/net_foreach_ramroute.c,
net/route/net_foreach_romroute.c, and
net/route/route.h:
* Fix the following typos:
- remove spurious "are"
- "tot he" -> "to the"
arch/arm/src/stm32f0l0g0/stm32_dma.h and
arch/arm/src/stm32l4/stm32l4_dma.h:
* Fix nxstyle errors.
2021-03-21 21:51:14 +01:00
Michael Jung
d397e90b9d
stm32l5: Enable SPI support and license clearing
...
Since the original stm32l4 version of this code already has an ASF
license header do that for stm32l5, too.
Apply latest changes to stm32l4_spi.c to stm32l5_spi.c as well.
Update stm32l5/Kconfig to allow selection of SPI1/2/3.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-19 23:02:37 -07:00
Nathan Hartman
4de28efbcb
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/hardware/stm32_bdma.h:
* Fix nxstyle errors.
2021-03-19 22:48:35 -07:00
Michael Jung
a1d0360e5e
stm32l5_lse: Drive reduction after start-up
...
The LSE crystal oscillator driving strength can only be decreased to the
lower drive capability (LSEDRV = 00b) once the LSE is running, but not
to any other drive capability. Instead of letting the user select a
value between 0 and 3 and then failing the build if the selected value
was not 0, make it a boolean option.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-18 19:59:41 -07:00
Michael Jung
a0ca686490
stm32l5: Rename up_waste to stm32l5_waste
...
To comply to NuttX naming conventions.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-18 19:59:41 -07:00
Michael Jung
2dbfa54150
stm32l5: Optional LSE xtal drive strength ramp-up
...
Ported from stm32f7/h7: If configured this way, ramp-up the LSE crystal
oscillator driving strength until the LSE starts up.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-18 19:59:41 -07:00
Nathan Hartman
cbb8a542e5
arch/stm32f0l0g0: Fix nxstyle errors
...
arch/arm/include/stm32f0l0g0/chip.h:
arch/arm/include/stm32f0l0g0/irq.h:
arch/arm/include/stm32f0l0g0/stm32f0_irq.h:
arch/arm/include/stm32f0l0g0/stm32g0_irq.h:
* Fix nxstyle errors.
2021-03-18 22:55:51 +01:00
Nathan Hartman
5b813f0c14
arch/stm32l4: Fix nxstyle errors
...
arch/arm/include/stm32l4/stm32l4x3xx_irq.h:
arch/arm/include/stm32l4/stm32l4xrxx_irq.h:
* Fix nxstyle errors.
2021-03-17 21:49:30 +01:00
Xiang Xiao
335ba21657
arch/arm: Fix syscall number out of swi range in thumb mode
...
The immediate number is 8bits in thumb mode:
+---------------------+---------------+
|15 14 13 12 11 10 9 8|7 6 5 4 3 2 1 0|
+---------------------+---------------+
| 1 1 0 1 1 1 1 1| imm8 |
+---------------------+---------------+
The immediate number is 24bits in arm mode:
+-----------+-------------------------------------------------------------------------+
|31 30 29 28|27 26 25 24|23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0|
+-----------+-----------+-------------------------------------------------------------+
| cond | 1 1 1 1| imm24 |
+-----------+-----------+-------------------------------------------------------------+
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I62503cdc377fcee81864e88e981d389bce2e1b45
2021-03-17 14:52:58 -03:00
Jiuzhu Dong
e96c8b9283
fs: allocate file/socket dynamically
...
Change-Id: I8aea63eaf0275f47f21fc8d5482b51ffecd5c906
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 06:46:42 -07:00
SPRESENSE
2f29521dd1
cxd56_cpu1signal: Fix an issue that gnss does not work
...
Because a thread of gnss receiver is created by pthread in the
AppBringUp task, the thread would be killed when AppBringUp
task exits.
Change to use kthread_create instead of pthread_create to prevent
this issue.
2021-03-17 06:36:33 -07:00
SPRESENSE
f7047d8ea3
cxd56_gnss: Add missing include header for cxd56_gnss.c
...
cxd56_gnss.c uses file descriptor operation from next change.
0536953
Kernel module should prefer functions with nx/kmm prefix
But this change need to add fcntl.h in include header.
So, add missing header.
2021-03-17 03:11:54 -07:00
YAMAMOTO Takashi
9bd10898d2
arch/arm/src/lc823450: Make LC823450_IPL2 select BCH
2021-03-17 01:25:16 -07:00
Peter van der Perk
4dd457854d
[FlexCAN] Correct reset state for CTRL1 register
2021-03-16 19:50:58 -07:00
Nathan Hartman
f165270a80
arch/stm32l4: Fix nxstyle errors
...
arch/arm/include/stm32l4/chip.h:
arch/arm/include/stm32l4/irq.h:
arch/arm/include/stm32l4/stm32l4x5xx_irq.h:
arch/arm/include/stm32l4/stm32l4x6xx_irq.h:
* Fix nxstyle errors.
2021-03-16 19:38:30 -07:00
Michael Jung
b3ab373f3a
stm32l5: Fix findings with latest nxstyle
...
Fix some incorrect relative file paths in ASF headers found with the
latest version of nxstyle.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
fb14125320
stm32l5: Coding style fixes
...
Put blanks around the '+' in register address definitions.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
3581289661
stm32l5: Put a timeout on waiting for LSE
...
Do not run into an infinite loop if the LSE does not start up.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
c031e4d2ee
stm32l562xx_pinmap.h: Coding style fix
...
Remove spaces around binary-or operators in GPIO defines everywhere to
get a consistent coding style.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
8e14cb6065
stm32l5: Remove drive strengths from GPIO defines
...
As proposed by David Sidrane. Required drive strength is board specific
and should be defined in the respective board.h file.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
78a69a89d8
stm32l5: Remove unused CACHE_LINESIZE defines
...
Cortex-M33 does neither have an I- nor a D-Cache. Both defines are not
used across the stm32l5 architecture code. Thus, just remove them.
_Originally posted by @acassis in https://github.com/apache/incubator-nuttx/pull/2974#discussion_r588224862_
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
33892dcc54
armv8-m/arm_svcall.c: Fix compiler warning
...
regs[REG_R0] is uint32_t type, but '%d' expects int type.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
f3a5675cc4
stm32l5: Architecture Support for STM32L5
...
Architecture support for STMicroelectronics STM32L552xx and STM32L562xx
MCUs. This is based on corresponding code for STM32L4, but has been
considerably adjusted. Tested with Nucleo-L552ZE-Q and STM32L562E-DK
boards with simple NSH configurations.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Nathan Hartman
13816de7ac
arch/stm32f7: Fix nxstyle errors
...
arch/arm/include/stm32f7/chip.h:
arch/arm/include/stm32f7/irq.h:
arch/arm/include/stm32f7/stm32f72xx73xx_irq.h:
arch/arm/include/stm32f7/stm32f74xx75xx_irq.h:
arch/arm/include/stm32f7/stm32f76xx77xx_irq.h:
* Fix nxstyle errors.
2021-03-15 17:01:31 +01:00
Masayuki Ishikawa
73786e71ff
arch: sam34: Author Masayuki Ishikawa: Update license to Apache
...
Signed-off-by: Masayuki Ishikawa <asayuki.Ishikawa@jp.sony.com>
2021-03-14 22:23:05 -07:00
Yuichi Nakamura
40fe666d3f
arm/rp2040: Fix SPI halfword DMA transfer
2021-03-14 22:21:22 -07:00
Alin Jerpelea
f7c11c92c3
arch: Makefile: Alan Carvalho de Assis: update licenses to Apache
...
Alan Carvalho de Assis has submitted the SGA and we can migrate the 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-03-13 05:56:43 -08:00
Alin Jerpelea
bd94263a33
arch: Makefile: Author 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-03-13 05:56:43 -08:00
David Sidrane
0c57351f78
mmcsd:Stuck in 1-bit mode, Removed CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
...
mmcsd:Remove CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
stm32h7:sdmmc remove CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
stm32f7:sdmmc remove CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
stm32f7:sdmmc WRITE COMPLETE prevent false triggers
stm32h7:sdmmc WRITE COMPLETE prevent false triggers
While testing PR #2989 on the H7 I noticed that the cards
were staying in 1-bit mode. The root cause was that the
scr read path was using DMA without an invlidate.
This was caused by CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT,
but the sdmmc driver, did not use the delayed invalidate
nor would it work on 8 bytes.
The driver fully supported dcache mgt on runt buffers, but
the #ifdef CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT blocked it.
Reviewing the PR that added CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
it may have been valid at the time. But after the dcache operations
we fixed. It is not necessary and offers no benefit.
2021-03-12 16:42:16 -03:00
Nathan Hartman
6061981e37
arch/stm32h7: Fix nxstyle errors
...
arch/arm/include/stm32h7/irq.h:
arch/arm/include/stm32h7/stm32h7x7xx_irq.h:
* Fix nxstyle errors.
2021-03-12 16:58:51 +00:00
Masayuki Ishikawa
9aaa4068c1
arch: imx6: Fix an error message in imx_enet.c
...
Summary:
- This commit fixes an error message in imx_enet.c
Impact:
- None
Testing:
- Build only
Suggested-by: David Sidrane <David.Sidrane@NscDg.com>
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-12 11:30:08 +08:00
Yuichi Nakamura
174a4c1b68
arm/rp2040: Add RP2040 GPIO interrupt functions
2021-03-11 19:31:17 -03:00
Nathan Hartman
9fd0df3931
arch/stm32: Fix nxstyle errors
...
arch/arm/include/stm32/stm32f10xxx_irq.h:
arch/arm/include/stm32/stm32f20xxx_irq.h:
arch/arm/include/stm32/stm32f30xxx_irq.h:
arch/arm/include/stm32/stm32f33xxx_irq.h:
arch/arm/include/stm32/stm32f37xxx_irq.h:
arch/arm/include/stm32/stm32l15xxx_irq.h:
* Fix nxstyle errors.
2021-03-11 21:39:27 +00:00
Masayuki Ishikawa
ad094552f8
arch: cxd56xx: Add CONFIG_ARCH_LEDS_CPU_ACTIVITY to cxd56_idle.c and cxd56_irq.c
...
Summary:
- This commit adds CPU activity LED feature to cxd56_idle.c and cx56_irq.c
- An LED for the current CPU will turn off before calling WFI
- An LED for the current CPU will turn on when an interrupt happens
Impact:
- CONFIG_ARCH_LEDS_CPU_ACTIVITY=y only
Testing:
- defconfigs will be commited later.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-11 15:30:38 +01:00
Masayuki Ishikawa
2c753be0df
Revert "arch: cxd56xx: Fix cxd56_usbdev.c for SMP"
...
Summary:
- The original commit was added to avoid hardfault but the
root cause was the stack corruption which has been fixed by
the previous commit. So let me revert the original commit.
Impact:
- SMP only
Testing:
- spresense:rndis_smp with nxplayer + telnet
This reverts commit 197187d826
.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-10 14:14:52 +08:00
Gustavo Henrique Nihei
330eff36d7
sourcefiles: Fix relative path in file header
2021-03-09 23:18:28 +08:00
Gustavo Henrique Nihei
47cb41c92f
makefiles: Fix relative path in file header
2021-03-09 23:18:28 +08:00
Yuichi Nakamura
938b1daf02
arm/rp2040: RP2040 SPI DMA transfer support
2021-03-08 17:37:48 -03:00
Yuichi Nakamura
b69df289bd
arm/rp2040: Add RP2040 DMAC functions
2021-03-08 17:37:48 -03:00
Anthony Merlino
892b6393e3
stm32h7x7xx: Setup UART1 and UART6 clocks as part of APB2 bringup if enabled.
2021-03-08 01:51:54 -08:00
Anthony Merlino
3705202b85
Fix missing IO_CONFIG setting for STM32H747XI
2021-03-08 01:51:54 -08:00
Yuichi Nakamura
2d7aabf13b
arm/rp2040: Add RP2040 SPI device support
2021-03-08 17:06:07 +09:00
Yuichi Nakamura
a8d269df98
arm/rp2040: Add rp2040_gpio_init/put/get/setdir()
2021-03-08 17:06:07 +09:00
Anthony Merlino
40217e644f
stm32h7: Allow custom clock configuration to use stdclockconfig
2021-03-07 23:40:29 -08:00
Masayuki Ishikawa
197187d826
arch: cxd56xx: Fix cxd56_usbdev.c for SMP
...
Summary:
- This commit fixes hardfault when running nxplayer with rndis_smp
Impact:
- SMP only
Testing:
- Tested with rndis_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-07 19:51:12 -08:00
Anthony Merlino
67b9f5f9e3
Fix nxstyle issues.
...
# Conflicts:
# arch/arm/src/armv7-m/dwt.h
2021-03-07 02:35:56 -08:00
Anthony Merlino
afd6ad4ff5
arch/armv7-m: Adds dwt helper functions for controlling watchpoints in code.
...
In scenarios where there is suspicion that someone might be touching your data when you don't expect, you can setup a watchpoint, and then guard accesses that you know are valid. If the debugger halts due to the watchpoint, you'll see where the unexpected access is coming from.
2021-03-07 02:35:56 -08:00
David Sidrane
da2f9f1357
stm32h7:Ethernet Fixed hardfaults, from too big frames
2021-03-06 03:07:58 -08:00
David Sidrane
ac2e35bb0f
stm32f7:Ethernet Fixed hardfaults, from too big frames
2021-03-06 03:07:58 -08:00
David Sidrane
abda656076
stm32:Ethernet Fix too big frames
2021-03-06 03:07:58 -08:00
Peter Bee
e223f60c09
net/socket: move si_send/recv into sendmsg/recvmsg
...
Implement si_send/sendto/recvfrom with si_sendmsg/recvmsg, instead of
the other way round.
Change-Id: I7b858556996e0862df22807a6edf6d7cfe6518fc
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2021-03-05 04:46:13 -08:00
David Sidrane
8b73e30185
arch/arm/src/stm32h7/Kconfig
...
stm32h7:lse fix Kconfig help text
2021-03-04 07:10:18 -08:00
David Sidrane
296d94b5cb
stm32f7:lse Use Kconfig values directly
2021-03-04 00:16:10 -08:00
Fotis Panagiotopoulos
f423403dfa
stm32_wwdg debug log formatting
2021-03-03 19:02:04 -08:00
Nathan Hartman
3ac61053ce
arch/stm32, arch/stm32f7: Fix nxstyle errors
...
arch/arm/src/stm32/hardware/stm32_dma2d.h,
arch/arm/src/stm32/hardware/stm32_ltdc.h,
arch/arm/src/stm32/stm32_dma2d.c,
arch/arm/src/stm32/stm32_ltdc.c,
arch/arm/src/stm32f7/hardware/stm32_dma2d.h,
arch/arm/src/stm32f7/hardware/stm32_ltdc.h,
arch/arm/src/stm32f7/stm32_dma2d.c, and
arch/arm/src/stm32f7/stm32_ltdc.c:
* Fix nxstyle "mixed case identifier" errors for the
following identifiers:
DMA2D_xGPFCCR_ALPHA -> DMA2D_XGPFCCR_ALPHA
DMA2D_xGPFCCR_AM -> DMA2D_XGPFCCR_AM
DMA2D_xGPFCCR_CCM -> DMA2D_XGPFCCR_CCM
DMA2D_xGPFCCR_CM -> DMA2D_XGPFCCR_CM
DMA2D_xGPFCCR_CS -> DMA2D_XGPFCCR_CS
DMA2D_xGPFCCR_START -> DMA2D_XGPFCCR_START
LTDC_LxBFCR_BF1 -> LTDC_LXBFCR_BF1
LTDC_LxBFCR_BF2 -> LTDC_LXBFCR_BF2
LTDC_LxCFBLR_CFBLL -> LTDC_LXCFBLR_CFBLL
LTDC_LxCFBLR_CFBP -> LTDC_LXCFBLR_CFBP
LTDC_LxCR_CLUTEN -> LTDC_LXCR_CLUTEN
LTDC_LxCR_COLKEN -> LTDC_LXCR_COLKEN
LTDC_LxCR_LEN -> LTDC_LXCR_LEN
LTDC_LxWHPCR_WHSPPOS -> LTDC_LXWHPCR_WHSPPOS
LTDC_LxWHPCR_WHSTPOS -> LTDC_LXWHPCR_WHSTPOS
LTDC_LxWVPCR_WVSPPOS -> LTDC_LXWVPCR_WVSPPOS
LTDC_LxWVPCR_WVSTPOS -> LTDC_LXWVPCR_WVSTPOS
STM32_LTDC_LxWHPCR_WHSTPOS -> STM32_LTDC_LXWHPCR_WHSTPOS
STM32_LTDC_LxWVPCR_WVSTPOS -> STM32_LTDC_LXWVPCR_WVSTPOS
STM32_LTDC_Lx_BYPP -> STM32_LTDC_LX_BYPP
DMA2D_xGCOLR_BLUE -> DMA2D_XGCOLR_BLUE
DMA2D_xGCOLR_BLUE_MASK -> DMA2D_XGCOLR_BLUE_MASK
DMA2D_xGCOLR_BLUE_SHIFT -> DMA2D_XGCOLR_BLUE_SHIFT
DMA2D_xGCOLR_GREEN -> DMA2D_XGCOLR_GREEN
DMA2D_xGCOLR_GREEN_MASK -> DMA2D_XGCOLR_GREEN_MASK
DMA2D_xGCOLR_GREEN_SHIFT -> DMA2D_XGCOLR_GREEN_SHIFT
DMA2D_xGCOLR_RED -> DMA2D_XGCOLR_RED
DMA2D_xGCOLR_RED_MASK -> DMA2D_XGCOLR_RED_MASK
DMA2D_xGCOLR_RED_SHIFT -> DMA2D_XGCOLR_RED_SHIFT
DMA2D_xGOR -> DMA2D_XGOR
DMA2D_xGOR_MASK -> DMA2D_XGOR_MASK
DMA2D_xGOR_SHIFT -> DMA2D_XGOR_SHIFT
DMA2D_xGPFCCR_ALPHA_MASK -> DMA2D_XGPFCCR_ALPHA_MASK
DMA2D_xGPFCCR_ALPHA_SHIFT -> DMA2D_XGPFCCR_ALPHA_SHIFT
DMA2D_xGPFCCR_AM_MASK -> DMA2D_XGPFCCR_AM_MASK
DMA2D_xGPFCCR_AM_SHIFT -> DMA2D_XGPFCCR_AM_SHIFT
DMA2D_xGPFCCR_CM_MASK -> DMA2D_XGPFCCR_CM_MASK
DMA2D_xGPFCCR_CM_SHIFT -> DMA2D_XGPFCCR_CM_SHIFT
DMA2D_xGPFCCR_CS_MASK -> DMA2D_XGPFCCR_CS_MASK
DMA2D_xGPFCCR_CS_SHIFT -> DMA2D_XGPFCCR_CS_SHIFT
LTDC_LxBFCR_BF1_MASK -> LTDC_LXBFCR_BF1_MASK
LTDC_LxBFCR_BF1_SHIFT -> LTDC_LXBFCR_BF1_SHIFT
LTDC_LxBFCR_BF2_MASK -> LTDC_LXBFCR_BF2_MASK
LTDC_LxBFCR_BF2_SHIFT -> LTDC_LXBFCR_BF2_SHIFT
LTDC_LxCACR_CONSTA -> LTDC_LXCACR_CONSTA
LTDC_LxCACR_CONSTA -> LTDC_LXCACR_CONSTA
LTDC_LxCACR_CONSTA_MASK -> LTDC_LXCACR_CONSTA_MASK
LTDC_LxCACR_CONSTA_SHIFT -> LTDC_LXCACR_CONSTA_SHIFT
LTDC_LxCFBLNR_LN -> LTDC_LXCFBLNR_LN
LTDC_LxCFBLNR_LN -> LTDC_LXCFBLNR_LN
LTDC_LxCFBLNR_LN_MASK -> LTDC_LXCFBLNR_LN_MASK
LTDC_LxCFBLNR_LN_SHIFT -> LTDC_LXCFBLNR_LN_SHIFT
LTDC_LxCFBLR_CFBLL_MASK -> LTDC_LXCFBLR_CFBLL_MASK
LTDC_LxCFBLR_CFBLL_SHIFT -> LTDC_LXCFBLR_CFBLL_SHIFT
LTDC_LxCFBLR_CFBP_MASK -> LTDC_LXCFBLR_CFBP_MASK
LTDC_LxCFBLR_CFBP_SHIFT -> LTDC_LXCFBLR_CFBP_SHIFT
LTDC_LxCKCR_CKBLUE -> LTDC_LXCKCR_CKBLUE
LTDC_LxCKCR_CKBLUE -> LTDC_LXCKCR_CKBLUE
LTDC_LxCKCR_CKBLUE_MASK -> LTDC_LXCKCR_CKBLUE_MASK
LTDC_LxCKCR_CKBLUE_SHIFT -> LTDC_LXCKCR_CKBLUE_SHIFT
LTDC_LxCKCR_CKGREEN -> LTDC_LXCKCR_CKGREEN
LTDC_LxCKCR_CKGREEN -> LTDC_LXCKCR_CKGREEN
LTDC_LxCKCR_CKGREEN_MASK -> LTDC_LXCKCR_CKGREEN_MASK
LTDC_LxCKCR_CKGREEN_SHIFT -> LTDC_LXCKCR_CKGREEN_SHIFT
LTDC_LxCKCR_CKRED -> LTDC_LXCKCR_CKRED
LTDC_LxCKCR_CKRED -> LTDC_LXCKCR_CKRED
LTDC_LxCKCR_CKRED_MASK -> LTDC_LXCKCR_CKRED_MASK
LTDC_LxCKCR_CKRED_SHIFT -> LTDC_LXCKCR_CKRED_SHIFT
LTDC_LxCLUTWR_BLUE -> LTDC_LXCLUTWR_BLUE
LTDC_LxCLUTWR_BLUE -> LTDC_LXCLUTWR_BLUE
LTDC_LxCLUTWR_BLUE_MASK -> LTDC_LXCLUTWR_BLUE_MASK
LTDC_LxCLUTWR_BLUE_SHIFT -> LTDC_LXCLUTWR_BLUE_SHIFT
LTDC_LxCLUTWR_CLUTADD -> LTDC_LXCLUTWR_CLUTADD
LTDC_LxCLUTWR_CLUTADD -> LTDC_LXCLUTWR_CLUTADD
LTDC_LxCLUTWR_CLUTADD_MASK -> LTDC_LXCLUTWR_CLUTADD_MASK
LTDC_LxCLUTWR_CLUTADD_SHIFT -> LTDC_LXCLUTWR_CLUTADD_SHIFT
LTDC_LxCLUTWR_GREEN -> LTDC_LXCLUTWR_GREEN
LTDC_LxCLUTWR_GREEN -> LTDC_LXCLUTWR_GREEN
LTDC_LxCLUTWR_GREEN_MASK -> LTDC_LXCLUTWR_GREEN_MASK
LTDC_LxCLUTWR_GREEN_SHIFT -> LTDC_LXCLUTWR_GREEN_SHIFT
LTDC_LxCLUTWR_RED -> LTDC_LXCLUTWR_RED
LTDC_LxCLUTWR_RED -> LTDC_LXCLUTWR_RED
LTDC_LxCLUTWR_RED_MASK -> LTDC_LXCLUTWR_RED_MASK
LTDC_LxCLUTWR_RED_SHIFT -> LTDC_LXCLUTWR_RED_SHIFT
LTDC_LxDCCR_DCALPHA -> LTDC_LXDCCR_DCALPHA
LTDC_LxDCCR_DCALPHA -> LTDC_LXDCCR_DCALPHA
LTDC_LxDCCR_DCALPHA_MASK -> LTDC_LXDCCR_DCALPHA_MASK
LTDC_LxDCCR_DCALPHA_SHIFT -> LTDC_LXDCCR_DCALPHA_SHIFT
LTDC_LxDCCR_DCBLUE -> LTDC_LXDCCR_DCBLUE
LTDC_LxDCCR_DCBLUE -> LTDC_LXDCCR_DCBLUE
LTDC_LxDCCR_DCBLUE_MASK -> LTDC_LXDCCR_DCBLUE_MASK
LTDC_LxDCCR_DCBLUE_SHIFT -> LTDC_LXDCCR_DCBLUE_SHIFT
LTDC_LxDCCR_DCGREEN -> LTDC_LXDCCR_DCGREEN
LTDC_LxDCCR_DCGREEN -> LTDC_LXDCCR_DCGREEN
LTDC_LxDCCR_DCGREEN_MASK -> LTDC_LXDCCR_DCGREEN_MASK
LTDC_LxDCCR_DCGREEN_SHIFT -> LTDC_LXDCCR_DCGREEN_SHIFT
LTDC_LxDCCR_DCRED -> LTDC_LXDCCR_DCRED
LTDC_LxDCCR_DCRED -> LTDC_LXDCCR_DCRED
LTDC_LxDCCR_DCRED_MASK -> LTDC_LXDCCR_DCRED_MASK
LTDC_LxDCCR_DCRED_SHIFT -> LTDC_LXDCCR_DCRED_SHIFT
LTDC_LxPFCR_PF -> LTDC_LXPFCR_PF
LTDC_LxPFCR_PF -> LTDC_LXPFCR_PF
LTDC_LxPFCR_PF_MASK -> LTDC_LXPFCR_PF_MASK
LTDC_LxPFCR_PF_SHIFT -> LTDC_LXPFCR_PF_SHIFT
LTDC_LxWHPCR_WHSPPOS_MASK -> LTDC_LXWHPCR_WHSPPOS_MASK
LTDC_LxWHPCR_WHSPPOS_SHIFT -> LTDC_LXWHPCR_WHSPPOS_SHIFT
LTDC_LxWHPCR_WHSTPOS_MASK -> LTDC_LXWHPCR_WHSTPOS_MASK
LTDC_LxWHPCR_WHSTPOS_SHIFT -> LTDC_LXWHPCR_WHSTPOS_SHIFT
LTDC_LxWVPCR_WVSPPOS_MASK -> LTDC_LXWVPCR_WVSPPOS_MASK
LTDC_LxWVPCR_WVSPPOS_SHIFT -> LTDC_LXWVPCR_WVSPPOS_SHIFT
LTDC_LxWVPCR_WVSTPOS_MASK -> LTDC_LXWVPCR_WVSTPOS_MASK
LTDC_LxWVPCR_WVSTPOS_SHIFT -> LTDC_LXWVPCR_WVSTPOS_SHIFT
* Fix all other nxstyle errors in the affected files.
2021-03-03 18:49:20 -08:00
ligd
f9d20ea4d2
sigdeliver: fix system block when kill signal to idle in SMP
...
Bug description:
CONFIG_SMP=y
Suppose we have 2 cores in SMP, here is the ps return:
PID GROUP CPU PRI POLICY TYPE NPX STATE STACK USED FILLED COMMAND
0 0 0 0 FIFO Kthread N-- Assigned 004076 000748 18.3% CPU0 IDLE
1 0 1 0 FIFO Kthread N-- Running 004096 000540 13.1% CPU1 IDLE
nsh> kill -4 0
or:
nsh> kill -4 1
system blocked.
Reason:
In func xx_sigdeliver() restore stage, when saved_irqcount == 0, that means
rtcb NOT in critical_section before switch to xx_sigdeliver(), then we need
reset the critical_section state before swith back.
Fix:
Add condition to cover saved_irqcount == 0.
Change-Id: I4af7f95e47f6d78a4094c3757d39b01ac9d533b3
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-03-03 15:03:32 +00:00
Yuichi Nakamura
9d0b3594f6
arm/rp2040: Add RP2040 I2C device support
2021-03-03 09:35:45 -03:00
Yuichi Nakamura
60b18467f3
arm/rp2040: Add rp2040_gpio_set_pulls()
2021-03-03 09:35:45 -03:00
David Sidrane
ab5f46d46c
stm32h7:Add DBGMCU
2021-03-02 18:28:19 -08:00
Nathan Hartman
a3f0923ad0
arch/stm32f7: Fix nxstyle errors
...
arch/arm/src/stm32f7/stm32_tim.h:
* Fix nxstyle errors.
2021-03-02 21:34:33 +00:00
David Sidrane
1e5754232a
stm32f7:Add option to auto select LSE CAPABILITY
...
This Knob will cycle through the values from
low to high. To avoid damaging the crystal.
We want to use the lowest setting that gets
the OSC running. See app note AN2867
2021-03-02 14:34:56 -03:00
David Sidrane
9fbd7f9dc5
stm32h7:Add option to auto select LSE CAPABILITY
...
This Knob will cycle through the correct*
values from low to high. To avoid damaging
the crystal. We want to use the lowest setting
that gets the OSC running. See app note AN2867
*It will take into account the rev of the silicon
and use the correct code points to achive the drive
strength. See Eratta ES0392 Rev 7 2.2.14 LSE oscillator
driving capability selection bits are swapped.
2021-03-02 14:34:56 -03:00
Michael Jung
fbfddda28b
armv8-m: Fix EXC_RETURN for non-secure usage
...
With TrustZone support in armv8-m the bit-fields in EXC_RETURN have been
extended. Bit 6 ('S') now specifies whether the interrupted program was
running in the Non-Secure (S=0) or Secure (S=1) security state.
Furthermore, Bit 0 ('ES' - Exception Secure) specifies the
security state athe exception is taken to (0: Non-Secure, 1: Secure).
When NuttX is run together with TrustedFirmware-M as the application in
the non-secure world both the S and the ES bits have to be set to '0'.
For armv8-m those are also the correct values if TrustZone is not
implemented on the respective MCU or if it is disabled.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-02 07:28:42 -03:00
Nathan Hartman
75eb3e8ec2
arch/stm32f7: Fix nxstyle errors
...
arch/arm/src/stm32f7/stm32_lowputc.c:
* Fix nxstyle errors.
2021-03-01 18:13:06 +00:00
Xiang Xiao
3d24288a66
arm/cxd56xx: Beautify the coding style in cxd56_gnss.c
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-01 10:00:13 -05:00
Xiang Xiao
9473434587
Ensure the kernel component don't call userspace API
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-01 09:23:09 +09:00
Masayuki Ishikawa
ef1826e133
arch: armv6-m: Apply armv7-m signal handling logic
...
Summary:
- This commit applies armv7-m signal handling logic
Impact:
- armv6-m signal handling
Testing:
- Tested with ostest with the following configs
- raspberrypi-pico:nsh, raspberrypi-pico:smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-26 22:23:03 -06:00
Fotis Panagiotopoulos
40fdf388bd
Fixed __stack_overflow_trap declaration typo.
2021-02-26 12:08:16 -08:00
Nathan Hartman
9d48beb2c8
arch/stm32f7: Fix nxstyle errors
...
arch/arm/src/stm32f7/stm32_ltdc.h,
arch/arm/src/stm32f7/stm32_pm.h,
arch/arm/src/stm32f7/stm32_pmsleep.c,
arch/arm/src/stm32f7/stm32_pmstandby.c,
arch/arm/src/stm32f7/stm32_pmstop.c,
arch/arm/src/stm32f7/stm32_pwm.h:
* Fix nxstyle errors.
2021-02-26 17:13:05 +00:00
Peter van der Perk
4842868be2
[FlexCAN] Fix TX drop #2792 and correctly set CAN timings to non-zeroed registers
2021-02-26 06:14:33 -08:00
Michal Lenc
04fc5e314d
arch/arm/src/imxrt: updated flexcan driver to support classical and FD frames at once
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-02-25 22:31:04 -08:00
Yuichi Nakamura
a556bbf3a4
arm/rp2040: Fix LDFLAGS for boot stage2
2021-02-25 11:25:27 -08:00
Masayuki Ishikawa
8085010ae8
arch: arm: Add 'select ARM_HAVE_WFE_SEV' to ARCH_CHIP_RP2040
...
Summary:
- This commit adds 'select ARM_HAVE_WFE_SEV' to ARCH_CHIP_RP2040
- Now NuttX spinlock uses WFE/SEV to reduce power consumption
- Also, modify a comment on rp2040
Impact:
- rp2040 only
Testing:
- Tested with raspberrypi-pico:smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-24 19:12:22 -08:00
Nathan Hartman
7c5174a53b
arch/stm32f7: Fix nxstyle errors
...
arch/arm/src/stm32f7/stm32_config.h,
arch/arm/src/stm32f7/stm32_dma.h,
arch/arm/src/stm32f7/stm32_dma2d.h,
arch/arm/src/stm32f7/stm32_dtcm.h,
arch/arm/src/stm32f7/stm32_dumpgpio.c,
arch/arm/src/stm32f7/stm32_ethernet.h,
arch/arm/src/stm32f7/stm32_gpio.c,
arch/arm/src/stm32f7/stm32_gpio.h:
* Fix nxstyle errors.
2021-02-24 22:39:49 +00:00
Yuichi Nakamura
01699e00e0
arm/rp2040: Raspberry Pi Pico SMP support
2021-02-25 07:20:59 +09:00
David Sidrane
62321fa5db
s32k1xx:Support ramfunc
2021-02-23 18:11:41 -08:00
Nathan Hartman
c90fffcc09
arch/stm32f7: Fix nxstyle errors
...
arch/arm/src/stm32f7/stm32_pwr.c,
arch/arm/src/stm32f7/stm32_pwr.h,
arch/arm/src/stm32f7/stm32_usbhost.h:
* Fix nxstyle errors.
2021-02-22 18:18:58 -08:00
Yuichi Nakamura
7b8c72ec1b
boards: raspberrypi-pico: Add nshsram defconfig for SRAM build
2021-02-22 09:11:09 -08:00
Masayuki Ishikawa
cf72133d3c
rp2040: Continue to build even if PICO_SDK_PATH is not set
...
Summary:
- In the previous implementation, the build system stops if
PICO_SDK_PATH is not set.
- However, this behavior is not good for CI. Because the path
is only used to generate a flash image.
- This commit fixes this issue
Impact:
- rp2040 only
Testing:
- Tested with and without PICO_SDK_PATH
2021-02-21 20:30:58 -08:00
Alexander Vasiljev
8bb50b578b
arch/stm32h7: add definitions for DAC
2021-02-21 07:39:05 -08:00
Yuichi Nakamura
96a473d39d
arch/arm: Add support for boot stage2 from Raspberry Pi Pico SDK
2021-02-20 03:45:24 -08:00
Yuichi Nakamura
ed1da60f52
arch/arm: Add RP2040 (Raspberry Pi Pico's SoC) support
2021-02-20 03:45:24 -08:00
Yuichi Nakamura
d0002b24c7
arm: ARMv6-M vector table offset register support
2021-02-19 19:24:09 -08:00
Byron Ellacott
9a1b726bae
fs: change geometry types from size_t
to blkcnt_t
and blksize_t
...
This change reflects that the geometry isn't related to the largest
allocatable unit on the platform.
Calls to read and write block devices are also affected and have
been updated.
2021-02-18 20:38:22 -08:00
Gustavo Henrique Nihei
7750de72bb
stdint.h: Use conversion macros for the definition of MIN and MAX constants
2021-02-18 18:35:35 -08:00
Augusto Fraga Giachero
43a98662f3
lpc17xx_40xx/lpc17_40_i2c.c: Propagate I2C I/O errors
...
Check if all messages were transferred, if not, return -ENXIO.
This is particularly useful when the slave returns an unexpected NAK,
the application code should catch the error to avoid failing silently.
2021-02-18 18:33:05 -08:00
Brennan Ashton
9f1017feb3
board/freedom-k64f: Add usbdev support with cdcacm example
2021-02-14 19:51:34 -08:00
Nathan Hartman
01248cae8d
arch/stm32f7: Fix nxstyle errors
...
arch/arm/src/stm32f7/stm32_qencoder.c,
arch/arm/src/stm32f7/stm32_rng.c,
arch/arm/src/stm32f7/stm32_rtc.c,
arch/arm/src/stm32f7/stm32_rtc.h,
arch/arm/src/stm32f7/stm32_rtc_lowerhalf.c,
arch/arm/src/stm32f7/stm32_sai.h,
arch/arm/src/stm32f7/stm32_sdmmc.h,
arch/arm/src/stm32f7/stm32_spi.h,
arch/arm/src/stm32f7/stm32_tim_lowerhalf.c,
arch/arm/src/stm32f7/stm32_uid.c,
arch/arm/src/stm32f7/stm32_userspace.c,
arch/arm/src/stm32f7/stm32_userspace.h,
arch/arm/src/stm32f7/stm32f72xx73xx_rcc.c,
arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c:
* Fix nxstyle errors.
2021-02-12 10:27:13 -08:00
Masayuki Ishikawa
c024b414f8
arch: cxd56xx: Introduce driver-specific spinlock in cxd56_serial.c
...
Summary:
- This commit introduces driver-specific spinlock in cxd56_serial.c
to improve performance
Impact:
- SMP only
Testing:
- Tested with spresense:wifi and spresense:wifi_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-09 11:29:18 -08:00
Masayuki Ishikawa
d87f350831
arch, boards, drivers, include, sched, wireless: Change spinlock APIs.
...
Summary:
- This commit changes spinlock APIs (spin_lock_irqsave/spin_unlock_irqrestore)
- In the previous implementation, the global spinlock (i.e. g_irq_spin) was used.
- This commit allows to use caller specific spinlock but also supports to use
g_irq_spin for backword compatibility (In this case, NULL must be specified)
Impact:
- None
Testing:
- Tested with the following configurations
- spresnse:wifi, spresense:wifi_smp
- esp32-devkitc:smp (QEMU), sabre6-quad:smp (QEMU)
- maxi-bit:smp (QEMU), sim:smp
- stm32f4discovery:wifi
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-07 21:28:56 -08:00
Masayuki Ishikawa
96d4bc11c0
arch: s32k1xx: Fix style warnings in s32k1xx_edma.c
...
Summary:
- This commit fixes style warnings in s32k1xx_edma.c
Impact:
- None
Testing:
- N/A
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-04 21:49:16 -08:00
Masayuki Ishikawa
9f414cf6db
arch: max32660: Fix style warnings and compile errors
...
Summary:
- This commit fixes style warnings under max32660
- Also fix compile errors in max32660_gpio.c with CONFIG_DEBUG_GPIO_INFO=y
Impact:
- None
Testing:
- Built with max32660-evsys:nsh
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-04 21:49:16 -08:00
Masayuki Ishikawa
dabd835bb7
arch: imxrt: Fix style warnings in imxrt_edma.[c,h]
...
Summary:
- This commit fixes style warnings in imxrt_edna.[c,y]
Impact:
- None
Testing:
- N/A
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-04 21:49:16 -08:00
Masayuki Ishikawa
12a515ebb6
arch: imxrt: Introduce CONFIG_NET_GUARDSIZE to imxrt_enet.c
...
Summary:
- In the previous imxrt_enet.c, imxrt_enet.c assumed that
CONFIG_NET_ETH_PKTSIZE includes the ethernet CRC (4bytes)
- However, most of the driver implementation explicitly
add CONFIG_NET_GUARDSIZE for the CRC to the internal buffer
- This commit conforms to such rules
Imapct:
- No impact
Testing:
- Tested with iperf with imxrt1060-evk
- NOTE: need to add the following configs
+CONFIG_EXAMPLES_IPERF=y
+CONFIG_EXAMPLES_IPERFTEST_DEVNAME="eth0"
+CONFIG_IOB_NBUFFERS=128
+CONFIG_NET_ETH_PKTSIZE=1514
+CONFIG_NET_GUARDSIZE=4
+CONFIG_RR_INTERVAL=200
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-04 00:29:07 -08:00
Huang Qi
aabb870d6b
stm32f7/stm32_qspi.c: Fix warning of format strings
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2021-02-03 08:49:46 +00:00
David Sidrane
18ce105e8b
stm32f412:Corrected Pin count
...
Port C was not working because the GPIO pin count was
wrong. The 48 pin packages has 34 GPIO (Not counting PH0 & PH1)
It is GPIOA GPIO B (sans PB11) and GPIOC PC13-PC15
2021-02-02 18:41:39 -08:00
Matias N
45b392be7e
nRF52: add support for building SoftDevice BLE controller
2021-02-02 14:40:26 -08:00
Matias N
74e7e2b5b2
nRF52 tickless RTC: fix timer not firing on edge case
...
The calls via RTC API weren't fast enough for the edge case
of minimum counter value, resulting in the timer never
expiring as the counter had already passed the compare value.
This now uses direct register access functions and also
gets the latest counter value in edge case.
2021-02-02 14:37:22 -08:00
Matias N
27ac9a6948
nRF52 SPI: fix for RX transfers when !SPI_EXCHANGE
2021-02-02 14:37:22 -08:00
Matias N
e9a45ea183
nRF52 SPI: use PPI API instead of direct register access
2021-02-02 14:37:22 -08:00
Peter van der Perk
22437698f1
[imxrt] Fix FlexCAN tx dropping frames
2021-02-02 17:51:29 -03:00
Pavel Pisa
56be7c54ea
arch/arm/src/samv7/sam_mcan.c: fix some mismatches caused by renaming.
...
The MCAN driver private structure has been renamed to struct sam_mcan_s,
but some functions reference sam_can_s. There are missing defines
of return variable in some functions.
Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2021-02-01 18:28:35 -08:00
Nathan Hartman
d82cc3ccc6
arch/stm32f7: Fix nxstyle errors
...
arch/arm/src/stm32f7/chip.h,
arch/arm/src/stm32f7/stm32_adc.h,
arch/arm/src/stm32f7/stm32_allocateheap.c,
arch/arm/src/stm32f7/stm32_bbsram.h,
arch/arm/src/stm32f7/stm32_can.h,
arch/arm/src/stm32f7/stm32_capture.c,
arch/arm/src/stm32f7/stm32_capture.h:
* Fix nxstyle errors.
2021-01-31 19:55:34 +00:00
Alan C. Assis
b0d611d3dc
Replace ARM_LWL_CONSOLE with generic LWL_CONSOLE
2021-01-31 06:14:50 -08:00
Masayuki Ishikawa
5bcdeb0851
arch: imx6: Fix a compile error with CONFIG_DEBUG_ASSERTIONS=y
...
Summary:
- This commit fixes a compile error in imx_enet.c
with CONFIG_DEBUG_ASSERTIONS=y
Impact:
- None
Testing:
- Tested with sabre-6quad:netnsh with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-29 12:09:47 -03:00
Masayuki Ishikawa
585884fde9
arch: imx6: Add CONFIG_IMX_ENET_NTXBUFFERS check in imx_enet.c
...
Summary:
- This commit checks CONFIG_IMX_ENET_NTXBUFFERS without
CONFIG_NET_TCP_WRITE_BUFFERS
Impact:
- None
Testing:
- Tested with sabre-6quad:netnsh with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-29 00:05:01 -08:00
Masayuki Ishikawa
6140969f16
arch: imx6: Fix imx_enet.c if CONFIG_IMX_ENET_NTXBUFFERS=1
...
Summary:
- This commit fixes imx_enet.c if CONFIG_IMX_ENET_NTXBUFFERS=1
- Also adds some ninfo() debug messages
Impact:
- imx_enet.c only
Testing:
- Tested with sabre-6quad:netnsh with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-28 18:41:34 -08:00
Masayuki Ishikawa
977367ce04
arch: imx6: Apply the latest imxrt/imxrt_enet.c to imx6/imx_enet.c
...
Summary:
- Since imx_enet.c is based on imxrt_enet.c and still under debugging,
the differences should be minimum to keep tracking the changes
Impact:
- None
Testing:
- Tested with sabre-6quad:netnsh with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-27 22:58:29 -08:00
Matias N
e5200d4af9
nrf52: add stackcheck support
2021-01-27 09:49:16 -08:00
baggio63446333
7723ce46ce
arch: cxd56xx: Add I2C bitbang lower driver
...
Add I2C bitbang lower driver for cxd56xx.
2021-01-26 13:59:30 -03:00
Matias N
d2f9544556
nRF52 GPIO: tiny optimization, do not decode PORT when no PORT1
2021-01-24 19:03:56 -08:00
Matias N
28caf27229
nRF52: add I2C bitbang implementation
2021-01-24 19:03:56 -08:00
Alin Jerpelea
56ef94086f
arch: arm: cxd56xx: update license to Apache 2.0
...
This is a license change to Apache 2.0 license.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-25 09:09:30 +09:00
Xiang Xiao
94da3e4c3a
arch: Remove critical section inside up_schedule_sigaction
...
since nxsig_tcbdispatch already hold it for us
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I2fe6ad840bdca3ec0eaa76a9af3b6929c7d5a721
2021-01-22 08:34:07 +01:00
David Sidrane
a2f82542ef
stm32f412:Replaced Kludged pinmap with one for SoC.
...
The stm32f412 was not a clean port. This is one step to fix
it. The shortcuts taken has caused more wasted hours finding
bad pin mappings then doing the job correctlry to begin with.
stm32:Kconfig Add CAN2 on STM32F412
2021-01-21 06:56:33 -08:00
Matias N
ed5e494298
nRF52: FIX wrong bitmask for DRIVE setting
...
This bug made certain values of DRIVE setting
to be wrongly applied (which can be dangerous
under certain situations since for example H0D1
was mapped to H0H1).
2021-01-21 00:36:56 -08:00
Matias N
5fc34a6e8c
nRF52: support stack coloration
2021-01-18 17:29:36 -03:00
Nathan Hartman
3620728db2
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_dtcm.c:
arch/arm/src/stm32h7/stm32_lowputc.c:
* Fix nxstyle issues.
2021-01-18 17:28:05 -03:00
Brennan Ashton
b6fbcb649c
nrf52: Add a static copy buffer for i2c
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2021-01-18 00:45:59 -08:00
Brennan Ashton
3a64783273
nrf52: Add simple i2c test configuration
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2021-01-17 23:46:01 -08:00
raiden00pl
0f1c026a16
nrf52_i2c: add support for I2C_M_NOSTART flags
2021-01-17 13:39:28 -08:00
Nathan Hartman
df8139c59b
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_rtc.c:
arch/arm/src/stm32h7/stm32_rtc.h:
* Fix nxstyle issues.
2021-01-17 09:52:17 -08:00
Matias N
93ef2e7174
nrf52 GPIO: set GPIO drive setting and missing input buffer configuration
2021-01-16 21:04:44 -08:00
Matias N
2fcfd63f8e
nrf52: fix build without serial
2021-01-16 21:04:44 -08:00
Matias N
6f3f1c07fb
nrf52 i2c: disable peripheral while configuring
2021-01-16 21:04:44 -08:00
Matias N
e1b3374bce
nrf52 spi: build fixes and a missing register setting (polarity)
2021-01-16 21:04:44 -08:00
Matias N
ebe596bcd1
nrf52: enable and fix build for SPI BITORDER
2021-01-16 21:04:44 -08:00
Matias N
5d4463121f
nrf52: fix SPI3 irq macro naming
2021-01-16 21:04:44 -08:00
Matias N
c526f01ba7
nrf52: fix build for PWM without multichan enabled
2021-01-16 21:04:44 -08:00
Masayuki Ishikawa
497e2f9e0c
arch: tiva: Fix lm3s_ethernet.c with DEBUGASSERT
...
Summary:
- This commit fixes DEBUGASSERT in lm3s_ethernet.c
Impact:
- lm3s_ethernet.c only
Testing:
- Tested with lm3s6965-ek:discover with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-16 10:40:17 +01:00
Nathan Hartman
75d3ae959f
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_sdmmc.h:
* Fix nxstyle issues.
2021-01-15 23:23:08 +01:00
Nathan Hartman
fda9f63bd8
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_tim.c:
* Fix nxstyle issues.
2021-01-15 23:23:08 +01:00
Nathan Hartman
c76fd28b83
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_uid.c:
* Fix nxstyle issues.
2021-01-15 23:23:08 +01:00
Nathan Hartman
07b1014ef0
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_usbhost.h:
* Fix nxstyle issues.
2021-01-15 23:23:08 +01:00
Nathan Hartman
938db2fa9e
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_userspace.c:
arch/arm/src/stm32h7/stm32_userspace.h:
* Fix nxstyle issues.
2021-01-15 23:23:08 +01:00
Masayuki Ishikawa
5f0e334974
arch: cxd56xx: Fix a compile warning with CONFIG_DEBUG_ERROR=y
...
Summary:
- This commit fixes a compile warning in cxd56_sdhci.c
Impact:
- None
Testing:
- Built with spresense:wifi
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-14 20:48:25 -06:00
David Sidrane
657088318a
stm32412: Fixes pinmap CAN1
2021-01-13 11:01:44 -06:00
Nathan Hartman
095d99717b
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_rcc.c:
arch/arm/src/stm32h7/stm32_rcc.h:
* Fix nxstyle issues.
2021-01-13 11:01:03 -06:00
Xiang Xiao
0dc6990166
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-13 08:57:58 +01:00
Xiang Xiao
0536953ded
Kernel module should prefer functions with nx/kmm prefix
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-13 08:57:58 +01:00
Nathan Hartman
15480e51cf
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_qencoder.c:
* Fix nxstyle issues.
2021-01-12 19:06:44 +01:00
Nathan Hartman
2cfbfa8213
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_pwr.c:
* Fix nxstyle issues.
2021-01-07 01:11:43 +01:00
Nathan Hartman
f30097d0ab
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_pmstop.c:
* Fix nxstyle issues.
2021-01-07 01:11:43 +01:00
Nathan Hartman
4c82459851
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_dma.h:
* Fix nxstyle issues.
2021-01-07 01:11:43 +01:00
Nathan Hartman
8cc9308da7
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/chip.h:
* Fix nxstyle issues.
2021-01-07 01:11:43 +01:00
ligd
f63db66382
mqueue: add file_mq_xx for kernel use
...
Change-Id: Ida12f5938388cca2f233a4cde90277a218033645
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-01-05 02:40:43 -06:00
Nathan Hartman
4ccaedf91f
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_adc.c:
arch/arm/src/stm32h7/stm32_adc.h:
* Fix nxstyle issues.
2021-01-04 13:04:51 -06:00
Nathan Hartman
ec0b2f063c
arch/stm32h7: Fix nxstyle errors
...
arch/arm/src/stm32h7/stm32_bbsram.h:
* Fix nxstyle issues.
2021-01-03 20:30:45 -06:00
Nathan Hartman
7592fc17d3
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_otghs.h:
* Fix nxstyle issues.
2021-01-01 18:17:03 +01:00
Nathan Hartman
588227ed7b
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_otgfs.h:
* Fix nxstyle issues.
2020-12-31 20:32:13 +01:00
Xiang Xiao
c647faa117
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-31 09:37:29 +01:00
Xiang Xiao
0defe43282
OS internal function should indicate the error by return negative value
...
instead to change errno value by calling set_errno
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-31 09:37:29 +01:00
Nathan Hartman
81224cc596
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_spi.h:
* Fix nxstyle issues.
2020-12-30 10:20:15 -06:00
Nathan Hartman
763aae8155
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_rtc.h:
* Fix nxstyle issues.
2020-12-29 08:36:31 -06:00
Peter van der Perk
673a4b5b39
arch: S32K/Kinetis: Fix RTC settime prescaler
2020-12-28 23:32:33 +01:00
Masayuki Ishikawa
b784fd6c3c
arch: cxd56xx: Replace license header with Apache License 2.0
...
Summary:
- This commit replaces SHES related headers under cxd56xx
Impact:
- No impact
Testing:
- Build check only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-28 08:43:35 +01:00
Nathan Hartman
080b2dfceb
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_exti.h:
arch/arm/src/stm32/stm32_flash.c:
arch/arm/src/stm32/stm32_fsmc.c:
arch/arm/src/stm32/stm32_fsmc.h:
arch/arm/src/stm32/stm32_hciuart.h:
arch/arm/src/stm32/stm32_mpuinit.h:
arch/arm/src/stm32/stm32_rtc.c:
* Fix nxstyle issues.
2020-12-24 23:21:16 +01:00
Nathan Hartman
dad32ccd47
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_dma.h:
* Fix nxstyle issues.
2020-12-23 20:35:42 -06:00
Masayuki Ishikawa
ace6e70f57
arch: imx6: Add imx_enet driver
...
Summary:
- This commit adds imx_enet driver derived from imxrt_enet
Impact:
- imx6 only
Testing:
- Tested with sabre-6quad:netnsh
- NOTE: telnetd works with QEMU
2020-12-23 16:56:25 -03:00
Masayuki Ishikawa
1725e50a13
arch: imx6: Fix peripheral IP offsets in AIPS-2
...
Summary:
- This commit fixes peripheral IP offsets in AIPS-2
Impact:
- No impact because there is no drivers
Testing:
- Tested with sabre-6quad:nsh and sabre-6quad:smp
2020-12-23 16:56:25 -03:00
Masayuki Ishikawa
4ce99f324e
arch: imx6: Fix style warnings in imx_memorymap.h
2020-12-23 16:56:25 -03:00
Fotis Panagiotopoulos
e26daf9357
STM32 FLASH latency is calculated based on Vin.
2020-12-23 08:13:45 -08:00
Michal Lenc
52416888f7
fix nx style warnings and errors
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-23 11:19:53 -03:00
Masayuki Ishikawa
ec73a4e69c
arch & sched: task: Fix up_exit() and nxtask_exit() for SMP
...
Summary:
- During repeating ostest with sabre-6quad:smp (QEMU),
I noticed that pthread_rwlock_test sometimes stops
- Finally, I found that nxtask_exit() released a critical
section too early before context switching which resulted in
selecting inappropriate TCB
- This commit fixes this issue by moving nxsched_resume_scheduler()
from nxtask_exit() to up_exit() and also removing
spin_setbit() and spin_clrbit() from nxtask_exit()
because the caller holds a critical section
- To be consistent with non-SMP cases, the above changes
were done for all CPU architectures
Impact:
- This commit affects all CPU architectures regardless of SMP
Testing:
- Tested with ostest with the following configs
- sabre-6quad:smp (QEMU, dev board), sabre-6quad:nsh (QEMU)
- spresense:wifi_smp
- sim:smp, sim:ostest
- maix-bit:smp (QEMU)
- esp32-devkitc:smp (QEMU)
- lc823450-xgevk:rndis
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-21 23:29:56 -06:00
Nathan Hartman
78f308ff2c
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_dac.h:
* Fix nxstyle issues.
2020-12-21 20:20:17 +01:00
Nathan Hartman
4cefc5ce7a
stm32g4: Fix incorrect FLASH wait states
...
When the architectural support for STM32G4 family was added, the
reference manual (RM0440) was at revision 2. Since then, it has
undergone several revisions. One significant change is in the
table of FLASH wait states: section 3.3.3 table 9. The outcome
of this change is that fewer FLASH wait states are needed for
most CPU clock (HCLK) frequencies. Notably, if running the CPU
clock at the maximum 170 MHz, only 4 FLASH wait states are
needed, rather than the previously programmed 8 wait states.
This gives a noticeable performance boost.
arch/arm/src/stm32/stm32g4xxxx_rcc.c:
* FLASH_ACR_LATENCY_SETTING: Reimplement compile-time logic
that selects the required wait state setting to use the new
updated table.
* Update all comments to indicate that RM0440 Rev 5 is used.
* Update section numbers mentioned in comments in cases where
they have changed due to added sections in the manual.
2020-12-21 18:43:49 +01:00
Nathan Hartman
4facd82ae0
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_ltdc.h:
arch/arm/src/stm32/stm32_pmsleep.c:
arch/arm/src/stm32/stm32_pmstandby.c:
* Fix nxstyle issues.
2020-12-19 00:16:47 -06:00
chao.an
4a559807a5
arch/netdev: try tcp timer in every txavail call
...
In the current implementation, the first transmission of the new
connection handshake is depends entirely by tcp_timer(), which will
caused 0.5s - 1s delay each time in connect().
This patch is mainly to improve the performance of TCP handshake.
Original:
nsh> tcp_client
[ 1.536100] TCP connect start.
[ 2.000200] TCP connect end. DIFF: tick: 4641, 464ms.
[ 3.000300] TCP connect start.
[ 4.000400] TCP connect end. DIFF: tick: 10001, 1000ms.
[ 5.000500] TCP connect start.
[ 6.000600] TCP connect end. DIFF: tick: 10001, 1000ms.
[ 7.000700] TCP connect start.
[ 8.000800] TCP connect end. DIFF: tick: 10001, 1000ms.
Optimized:
nsh> tcp_client
[ 3.263600] TCP connect start.
[ 3.263700] TCP connect end. DIFF: tick: 1, 0ms.
[ 4.263800] TCP connect start.
[ 4.263800] TCP connect end. DIFF: tick: 0, 0ms.
[ 5.263900] TCP connect start.
[ 5.263900] TCP connect end. DIFF: tick: 0, 0ms.
[ 6.264000] TCP connect start.
[ 6.264000] TCP connect end. DIFF: tick: 0, 0ms.
[ 7.264100] TCP connect start.
[ 7.264100] TCP connect end. DIFF: tick: 0, 0ms.
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-18 14:16:11 +09:00
Christian
abcc41d17d
fix: arch/.../stm32h7x3xx_memorymap.h invalid address map for fdcan
2020-12-16 20:27:07 -06:00
RICHNER Jonathan
6339fcfdd3
arch/arm/src/stm32h7/stm32_ethernet.c: Fix typo in multicast address hash
...
table registers for STM32H7
2020-12-16 10:01:25 -06:00
Abdelatif Guettouche
ecede04263
arch/*/src/Makefile: Generate dependencies for head files.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-12-15 21:00:52 -06:00
Xiang Xiao
625eef20f0
arch: Remove the special check for idle thread in up_use_stack
...
since the idle thread don't call up_use_stack anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-16 09:54:29 +09:00
Xiang Xiao
efee1c6ded
arch: Initialize the idle thread stack info directly
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-16 09:54:29 +09:00
Michal Lenc
e1596e80aa
arch/arm/src/imxrt/imxrt_usdhc.c: fixed no DMA build error
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-15 12:39:58 -08:00
Nathan Hartman
b960bee78b
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_tim.c:
* Fix nxstyle errors.
2020-12-15 19:10:30 +01:00
Bernd Walter
2ccc37f2a8
Fix syntax for BOARD_GCLK*_RUN_IN_STANDBY and BOARD_GCLK*_OUTPUT_ENABLE
...
with GCLK1-8
2020-12-15 08:46:10 +01:00
Nathan Hartman
3adadbe5d7
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_usbhost.h:
* Fix nxstyle errors.
2020-12-15 06:47:20 +01:00
Nathan Hartman
705c64e5ff
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_wwdg.c:
* Fix nxstyle errors.
2020-12-13 22:54:03 +01:00
Nathan Hartman
2fda2451e3
arch/stm32: Add register definitions for STM32G4 ADC
...
arch/arm/src/stm32/hardware/stm32_adc_v2g4.h:
* New file.
arch/arm/src/stm32/hardware/stm32_adc.h:
* Distinguish between the normal STM32 ADC IPv2 core and the
modified IPv2 core used in the G4 family, and include either
stm32_adc_v2.h or stm32_adc_v2g4.h as needed.
2020-12-12 13:58:51 +01:00
Nathan Hartman
3864912dc8
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32l15xxx_rtcc.c:
* Fix nxstyle errors.
2020-12-11 15:04:13 -03:00
Xiang Xiao
73d4832c15
arch/arm/imxrt: replace clock_systimespec with clock_systime_timespec
...
since clock_systimespec doesn't exist anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-11 04:20:40 -08:00
Masayuki Ishikawa
6158b6b77b
spinlock: Introduce SP_WFE() and SP_SEV()
...
Summary:
- This commit introduces SP_WFE() and SP_SEV() to be used for spinlock
- Also, use wfe/sev instructions for ARMV7-A to reduce power consumption
Impact:
- ARMV7-a SMP only
Testing:
- sabre-6quad:smp (QEMU, dev board)
- maix-bit:smp, esp32-devkitc:smp, spresense:smp sim:smp (compile only)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-11 05:58:35 -06:00
Masayuki Ishikawa
b599823f3b
arch: armv7-a: Remove unnecessary #ifdef CONFIG_SMP in arm_unblocktask.c
...
Summary:
- Because this_task() returns the current task of the current CPU
Impact:
- SMP only
Testing:
- Tested with sabre-6quad:smp (QEMU)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-10 20:27:59 -06:00
Nathan Hartman
648ec7bee4
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32l15xxx_rcc.c:
* Fix nxstyle errors.
2020-12-10 18:30:24 +01:00
Masayuki Ishikawa
409c65ce0b
arch, sched: Fix global IRQ control logics for SMP
...
Summary:
- This commit fixes global IRQ control logic
- In previous implementation, g_cpu_irqset for a remote CPU was
set in sched_add_readytorun(), sched_remove_readytorun() and
up_schedule_sigaction()
- In this implementation, they are removed.
- Instead, in the pause handler, call enter_critical_setion()
which will call up_cpu_paused() then acquire g_cpu_irqlock
- So if a new task with irqcount > 1 restarts on the remote CPU,
the CPU will only hold a critical section. Thus, the issue such as
'POSSIBLE FOR TWO CPUs TO HOLD A CRITICAL SECTION' could be resolved.
- Fix nxsched_resume_scheduler() so that it does not call spin_clrbit()
if a CPU does not hold a g_cpu_irqset
- Fix nxtask_exit() so that it acquires g_cpu_irqlock
- Update TODO
Impact:
- All SMP implementations
Testing:
- Tested with smp, ostest with the following configurations
- Tested with spresense:wifi_smp (NCPUS=2,4)
- Tested with sabre-6quad:smp (QEMU, dev board)
- Tested with maix-bit:smp (QEMU)
- Tested with esp32-core:smp (QEMU)
- Tested with lc823450-xgevk:rndis
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-10 08:33:42 +01:00
raiden00pl
0c05f2ea38
stm32: add stm32g43x support and nucleo-g431rb board
2020-12-09 09:43:25 -03:00
Nathan Hartman
c257c458ad
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_rng.c:
* Fix nxstyle errors.
2020-12-09 09:21:42 +01:00
Juha Niskanen
7bc7b611d6
arch/arm/src/lc823450: fully parenthesize MIN and MAX macros
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-08 12:58:40 -06:00
Nathan Hartman
c162069cd5
arch/stm32: Fix nxstyle errors (and one typo)
...
arch/arm/src/stm32/stm32_dma2d.h
arch/arm/src/stm32/stm32_fmc.h
arch/arm/src/stm32/stm32_freerun.h
arch/arm/src/stm32/stm32_pm.h
* Fix nxstyle errors.
arch/arm/src/stm32/hardware/stm32g4xxxx_dmamux.h
* Fix typo in comment.
2020-12-07 22:22:02 +01:00
raiden00pl
979a5b7fd4
stm32: convert all STM32G47X specific code to generic STM32G4 series code.
...
This is an initial step towards supporting other STM32G4 chips.
2020-12-06 13:37:02 -05:00
YAMAMOTO Takashi
b18c2e6cc5
arch/arm/src/arm/arm_assert.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
c3791e7c23
arch/arm/src/armv7-m/arm_assert.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
330aa43f72
arch/arm/src/stm32/stm32_adc.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
44f88cd71a
arch/arm/src/lpc17xx_40xx/lpc17_40_can.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
065d310cf2
arch/arm/src/stm32f0l0g0/stm32_adc.c: Don't assume debug macro expansion
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
a600b2478d
arch/arm/src/s32k1xx/s32k1xx_flexcan.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
1c7bdcea98
arch/arm/src/s32k1xx/s32k1xx_lpspi.c: Fix a syslog format
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
cba6e69ccf
arch/arm/src/s32k1xx/s32k1xx_lpi2c.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
fbf7d7cdf9
arch/arm/src/sam34/sam_emac.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
2829ecd18a
arch/arm/src/sam34/sam_spi.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
5461bb2462
arch/arm/src/sam34/sam4s_nand.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
fcca968c0b
arch/arm/src/sam34/sam_wdt.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
f22982f7e6
arch/arm/src/sam34/sam_wdt.c: Appease nxstyle
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
8eb0712dec
arch/arm/src/sam34/sam_hsmci.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
8af7af12b3
arch/arm/src/sama5/sam_emacb.c: Fix a syslog format
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
83b24f0382
arch/arm/src/armv7-a/arm_syscall.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
3152ee6c62
arch/arm/src/sama5/sam_emacb.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
c3bcf80a18
arch/arm/src/sama5/sam_xdmac.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
c8eb8ac9c1
arch/arm/src/sama5/sam_xdmac.c: Appease nxstyle
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
59dc739895
arch/arm/src/sama5/sam_ssc.c: Fix syslog formats
2020-12-06 07:41:37 -06:00
Matias N
ec83dc2ad3
nxstyle fixes
2020-12-05 21:44:49 -06:00
Matias N
de9842ab60
LPC43 RIT: build fixes
2020-12-05 21:44:49 -06:00
YAMAMOTO Takashi
a927f98a23
arch/arm/src/imxrt/imxrt_flexcan.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
29400f0e38
arch/arm/src/sama5/sam_tsd.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
9510c968cd
arch/arm/src/sama5/sam_hsmci.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
a88da8f7d7
arch/arm/src/sama5/sam_spi.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
1a71802a06
arch/arm/src/sama5/sam_dmac.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
cc9c652a58
arch/arm/src/sama5/sam_dmac.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
260b1af52b
arch/arm/src/sama5/sam_dmac.c: Remove non ascii characters
...
0x91 and 0x92. I don't know what they are.
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
2a94c70ec8
arch/arm/src/sama5/sam_twi.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
05bf54fdbc
arch/arm/src/sama5/sam_lcd.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
4c3d8e7429
arch/arm/src/sama5/sam_lcd.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
7cb69a652d
arch/arm/src/samv7/sam_twihs.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
ec4b3d3e84
arch/arm/src/samd5e5/sam_eic.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
7eacf123ec
arch/arm/src/samd5e5/sam_tc.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
113b2b899a
arch/arm/src/samv7/sam_spi.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
17f8bcc574
arch/arm/src/sama5/sam_sdmmc.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
84fa0a9b6c
arch/arm/src/sama5/sam_ehci.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
cf9e8bb03e
arch/arm/src/sama5/sam_ohci.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
ad158866ed
arch/arm/src/sama5/sam_ohci.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
471e94c57b
arch/arm/src/sama5/sam_gmac.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
9450e02f3a
arch/arm/src/sama5/sam_emaca.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
700eaaa6fe
arch/arm/src/sama5/sam_udphs.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
e297ed9cfe
arch/arm/src/sama5/sam_memories.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
c538bdb6fa
arch/arm/src/sama5/sam_memories.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
ac905598ca
arch/arm/src/stm32/stm32_freerun.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
c28c9387a1
arch/arm/src/stm32/stm32_freerun.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
99000d306d
arch/arm/src/stm32/stm32_iwdg.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
raiden00pl
a95512e05d
nxstyle fixes
2020-12-05 07:46:06 -06:00
raiden00pl
9407d06d92
stm32/hardware: remove redundand ifdefs to keep headers consistent
2020-12-05 07:46:06 -06:00
yjdwbj
6aba444359
Added: MT29F2G Nand Flash block driver for sam4s-xplained-pro.
...
Fixed: SDIO Interface hanging after inserted SD Card.
Disabled the CONFIG_SYSTEMTICK_EXTCLK, using nxsig_usleep instead of usleep
2020-12-04 22:41:46 -08:00
Nathan Hartman
607ff94793
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_eth.h:
* Fix nxstyle errors.
2020-12-04 23:15:01 +01:00
David Sidrane
b73026ee55
imxrt:serial support single-wire mode
2020-12-03 22:42:52 -08:00
David Sidrane
4aa7ba827b
imxrt:imxrt_lowputc Fixed parity settings.
...
imxrt UART must be placed in 9 bit mode (M=1) with when 8 bit
data with parity is required. If left in 8 bit mode (M=0) with
parity then D7 of the TX/RX register becomes parity bit. Hence
what is called 9-bit or 8-bit Mode Select is a misnomer.
8 bit mode when parity is enabled is realy 7 bit with parity.
2020-12-03 22:42:52 -08:00
Nathan Hartman
e4c725481c
arch/stm32: Fix nxstyle errors
...
arch/arm/src/stm32/stm32_alarm.h,
arch/arm/src/stm32/stm32_can.h,
arch/arm/src/stm32/stm32_capture.h:
* Fix nxstyle errors.
2020-12-03 20:20:47 +01:00
Michal Lenc
07f2a76f6e
arch/imxrt: Added NETDEV_LATEINIT option for Ethernet
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-02 23:48:16 -06:00
Fotis Panagiotopoulos
09b6aca971
nxstyle fixes.
2020-12-02 11:27:15 -08:00
Fotis Panagiotopoulos
f538839720
FLASH waiting cycles are configured based on HCLK.
2020-12-02 11:27:15 -08:00
Nathan Hartman
32b49e6db8
arch/stm32: Fix a wrong bitfield definition
...
arch/arm/src/stm32/hardware/stm32_adc_v2.h:
* ADC_CFGR1_JAWD1EN: Change from (1 << 22) to (1 << 24)
and update comment.
2020-12-02 11:20:57 -06:00
YAMAMOTO Takashi
e973f644ad
arch/arm/src/samv7/sam_emac.c: Fix syslog formats
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
9c71b3adbc
arch/arm/src/samv7/sam_emac.c: Fix syslog formats
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
1eb6f9c569
arch/arm/src/samv7/sam_hsmci.c: Fix syslog formats
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
20f353af89
arch/arm/src/samv7/sam_twihs.c: Fix syslog formats
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
bcb0231add
arch/arm/src/samv7/sam_xdmac.c: Fix syslog formats
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
5d8c613d82
arch/arm/src/samv7/sam_xdmac.c: Appease nxstyle
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
4de9428d95
arch/arm/src/imxrt/imxrt_usdhc.c: Fix syslog formats
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
985a7ad227
arch/arm/src/imxrt/imxrt_irq.c: Fix syslog formats
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
c3092f3699
arch/arm/src/lpc17xx_40xx/lpc17_40_spi.c: Fix a syslog format
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
4d4a0139d2
arch/arm/src/stm32l4/stm32l4_adc.c: Fix a syslog format
2020-12-02 02:53:47 -06:00