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