raiden00pl
ad8c09d0a1
stm32: include support for TIMERS_V3
2021-04-14 10:53:50 -04:00
raiden00pl
7c11397469
stm32: add definitions for TIMERS_V3. All credit goes to Nathan Hartman (hartmannathan)
2021-04-14 10:53:50 -04:00
raiden00pl
6d69600905
stm32/Kconfig: move configuration common for G4 under STM32_STM32G4XXX option
2021-04-14 10:53:50 -04:00
Marco Krahl
8456f3615e
drivers/1wire: Moves header and adjusts include paths
...
Moves header to 1wire include sub directory.
Moves over common crc definitions to new interface.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2021-04-14 02:49:28 -05:00
raiden00pl
beebb57445
stm32g4xx: add support for FOC
2021-04-13 14:38:28 -05:00
raiden00pl
835b129c94
stm32g4xx: add DBGMCU definitions
2021-04-13 14:38:28 -05:00
Anthony Merlino
9c8c2b0db2
Separate CLOCK_TIMEKEEPING and SCHED_TICKLESS.
2021-04-13 11:42:31 -05:00
raiden00pl
c90a6bdf2b
stm32/Kconfig: enable ADCx DMA support if DMAMUX enabled
2021-04-13 12:08:17 -03:00
raiden00pl
bf04ef9a3c
stm32g4: add support for DMA (DMAMUX)
2021-04-13 12:08:17 -03:00
raiden00pl
fbb7e95ebf
stm32g4xxxx_dmamux.h: rename defs to match other chips and add DMAMAP defs
2021-04-13 09:20:18 -05:00
raiden00pl
a735252d78
stm32h7,stm32g0: fix typos in DMAMUX
2021-04-13 09:20:18 -05:00
raiden00pl
62001bff3b
stm32g4xx: add support for PWM
2021-04-13 09:19:52 -05:00
raiden00pl
4c741bc9a5
stm32/Kconfig: G4 chips use TIMERS_V2
2021-04-13 09:19:52 -05:00
raiden00pl
ff2ae3e894
stm32g4xx: add support for ADC
2021-04-13 09:29:09 -03:00
Alin Jerpelea
20d315abfe
NuttX: Falker Atomacao Agrícola Ltda: update licenses to Apache
...
Falker Atomacao Agrícola Ltda has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-13 05:28:28 -05:00
Anthony Merlino
1a5a7a1b63
stm32h7: Allow OTGHS to use internal FS PHY
2021-04-12 23:21:34 -05:00
Jukka Laitinen
3f6bb76e01
arch/arm/src/stm32f7/stm32_allocateheap.c: Fix MPU alignments
...
Change the logic for allocating user heap for PROTECTED_BUILD:
- Don't rely on SRAM1_END alignment
- Make better use of MPU subregions when allocating the heap
- Don't duplicate the calculation of user heap start in kernel heap
allocation; use the previous calculation directly
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-04-12 23:20:18 -05:00
Jukka Laitinen
ea36c2c7ea
Remove MPU_RASR_S bit from stm32f7 MPU user mode intsram configration
...
For some reason, setting the "shareable" bit makes the SRAM not writable
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-04-12 23:20:18 -05:00
Xiang Xiao
3f9908f7d1
Remove the unnecessary math.h inclusion
...
or move from header file to source file since math.h doesn't always exist
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-12 22:58:23 -04:00
Anthony Merlino
2b46a0fdde
stm32h7: Adds guards around stm32_iocompensation.
2021-04-12 15:08:52 -07:00
Anthony Merlino
a45b8cc17c
stm32h7: Add support for IO compensation.
2021-04-12 15:08:52 -07:00
jturnsek
bbe875876d
Modified FlexSPI driver
2021-04-12 17:22:14 -03:00
jturnsek
7453e76d98
FlexSPI NOR driver
2021-04-12 11:35:44 -03:00
Dong Heng
31854ca135
riscv/esp32c3: Fix heap end address
2021-04-12 01:36:11 -05:00
Masayuki Ishikawa
7ce1033aa2
arch: k210: Fix interrupt stack corruption in SMP mode
...
Summary:
- I noticed that stack corruption happens due to recent refactoring
- This commit fixes this issue
Impact:
- SMP only
Testing:
- Tested with maix-bit:smp (QMU and dev board)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-04-11 13:00:40 -05:00
Alan Carvalho
ac5fb7d701
esp32: Fix GPIO Pull-Up/Pull-Down using RTC GPIO
...
Some ESP32 GPIO pins (2, 4, 12, 13, 25, 27, 32) weren't accepting
pull-up/pull-down resistors. These pins are RTC GPIO pins and need
to have pull-up/pull-down configured in the RTC registers.
Co-authored-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-04-11 14:36:02 +01:00
raiden00pl
cf645fc9ba
arch/arm/src/stm32/stm32_foc.c: add modifications to support STM32F1
...
- generalize DBGMCU for PWM timer
- use ADC common data only if coupled ADC present
- rename some ADC definitions that collide with stm32_adc.h
2021-04-11 03:52:21 -05:00
raiden00pl
021a89569d
arch/arm/src/stm32: introduce DBGMCU IP core versions
2021-04-11 03:52:21 -05:00
raiden00pl
3caf26fe3e
arch/arm/src/stm32/stm32_adc.c: support adc_inj_startconv also for STM32F1
2021-04-11 03:52:21 -05:00
Anthony Merlino
2aa2b7669f
stm32f7 tickless: Fix handling of overflow for different width timers.
2021-04-10 23:38:16 -05:00
Anthony Merlino
f979dd72c1
stm32/stm32f7 tickless: Fix clearing and checking of interrupts.
2021-04-10 23:38:16 -05:00
Anthony Merlino
dd00c6427e
stm32 tickless: Fixes printf warnings
2021-04-10 23:38:16 -05:00
Xiang Xiao
3f67c67aaf
arch: Fix the stack boundary calculation and check
...
All supported arch uses a push-down stack:
The stack grows toward lower addresses in memory. The stack pointer
register points to the lowest, valid working address (the "top" of
the stack). Items on the stack are referenced as positive(include zero)
word offsets from sp.
Which means that for stack in the [begin, begin + size):
1.The initial SP point to begin + size
2.push equals sub and then store
3.pop equals load and then add
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-10 08:39:54 -07:00
Alin Jerpelea
7424683d29
arch: lpc17xx_40xx: Mixed Case Identifier fix
...
Fix for Mixed Case Identifier reported by nxstyle.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-10 06:46:32 -05:00
Alin Jerpelea
6f5537eae2
arch: lpc2378: Fix for Mixed Case Identifier errors
...
Fix for Mixed Case Identifier errors reported by nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-10 06:46:32 -05:00
Alin Jerpelea
08612337f6
NuttX: nxstyle fixes
...
nxstyle fixes to pass CI.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-10 06:42:19 -05:00
Alin Jerpelea
eac1d28aae
NuttX: Janne Rosberg: update licenses to Apache
...
Janne Rosberg has submitted the ICLA and we can migrate the licenses
to Apache.
David Sidrane has submitted the ICLA and we can migrate the licenses
to Apache.
Ivan Ucherdzhiev has submitted the ICLA 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-04-10 06:42:19 -05:00
Alin Jerpelea
a2813b142f
NuttX: Jose Pablo Carballo: update licenses to Apache
...
Jose Pablo Carballo has submitted the ICLA 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-04-10 06:42:19 -05:00
Alin Jerpelea
231b8518b7
NuttX: Ken Pettit: update licenses to Apache
...
Ken Pettit has submitted the ICLA and we can migrate the licenses
to Apache.
Sebastien Lorquet has submitted the ICLA 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-04-10 06:42:19 -05:00
Xiang Xiao
0fdde5be26
arch/esp32: Fix error: Mixed case identifier found
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-10 12:00:06 +01:00
Alin Jerpelea
3c939c42fb
arch: x86: Mixed Case Identifier fix
...
Fix for Mixed Case Identifier reported by nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-09 08:04:41 -05:00
Alin Jerpelea
3b576758f1
arch: z80: nxstyle fixes
...
Fix for TABs and Mixed Case identifiers reported by nxstyle
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-09 08:04:41 -05:00
chenwen
4ca34ac5b5
risc-v/esp32c3: Fix the issue of getting wrong Wi-Fi password
2021-04-09 03:44:29 -05:00
Anthony Merlino
d37275f348
stm32f7: Freeze tickless timer during debug halt.
2021-04-08 23:38:00 -05:00
Gustavo Henrique Nihei
4d4250fcca
xtensa/esp32: Improve SPI polling to use the entire HW buffer
2021-04-08 23:36:28 -05:00
chenwen
a41d37cffd
arch/risc-v/src/common/riscv_initialize.c: Add telnet_initialize to riscv's up_initialize
2021-04-08 23:18:32 -05:00
Alin Jerpelea
e1d8b62209
arch: lpc43xx: spifilib_fam_standard_cmd.c: fix nxstyle errors
...
fix errors reported by nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 22:49:09 -05:00
Alin Jerpelea
42d17dcaf4
arch: lpc43xx: Mixed Case Identifier fix
...
Fix for Mixed Case Identifier reported by nxstyle tool.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 22:48:46 -05:00
Alin Jerpelea
602d384325
arch: tms570: fix Mixed Case Identifier
...
Fix Mixed Case Identifier reported by nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 22:48:46 -05:00
Alin Jerpelea
37b314f29f
LICENSE: add 3rd party license for Texas Instruments Incorporated
...
Add 3rd party licenses for Texas Instruments Incorporated to the LICENSE file.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-08 22:48:46 -05:00