Commit Graph

34844 Commits

Author SHA1 Message Date
raiden00pl
04ea439121 Merged in raiden00/nuttx_h7 (pull request #880)
Initial PWM support for STM32H7

arch/arm/src/stm32h7: port PWM from STM32

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-03 11:51:00 +00:00
Masayuki Ishikawa
fd387b6b8c Merged in masayuki2009/nuttx.nuttx/fix_usrsock (pull request #879)
net/usrsock: Fix debug logs and remove DEBUGASSERT from usrsockdev_do_request()

In a client mode, socket() will be the first request for usrsockdev_do_request().
However, in a server mode, the first request to accepted sockets will be recv()
or others which depend on applications. So I think we should remove this
DEBUGASSERT from usrsockdev_do_request().

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-03 11:43:43 +00:00
Gregory Nutt
4a211df02e Update a README 2019-06-02 19:26:01 -06:00
Gregory Nutt
167ecaa496 arch/z16/src/z16f/Kconfig and configs/z16f2800100zcog/scripts/Make.defs: Add support for the lastest 5.2.1 version of the ZDS-II toolchain. 2019-06-02 19:21:00 -06:00
Gregory Nutt
87fd570d3a arch/z16/src: Replicate build changes make for ez80 and z8 for zneo. 2019-06-02 18:43:43 -06:00
Gregory Nutt
27bb130bf8 arch/z80/src/: Fix a few more ez80 compile issues. Update README files. 2019-06-02 18:35:32 -06:00
Gregory Nutt
2cf195e6d1 configs: Fix included path used in all arch/z80 XDS-II builds (ez80 and z8). 2019-06-02 16:16:44 -06:00
Gregory Nutt
fc79fc5ce1 arch/z80/src: Fix ez80 compile problems due to New ZDS-II toolchain and ongoing bit rot due to non-C89 code creeping into the core OS. 2019-06-02 15:36:38 -06:00
Jason Harris
6a98b2825e configs/axoloti: Adds initial support for the Axoloti sound/music synthesizer board. Board is based on STM32F427 SoC. See http://www.axoloti.com/. 2019-06-02 12:58:56 -06:00
Gregory Nutt
2357446491 include/nuttx/net/bluetooth.h: Ignore content if CONFIG_NET_BLUETOOTH is not set. This is necessary because bt_hci.h content was previously comment out because it uses several compiler specific things include zero-dimensione arrays and uint64_t. Neither are supported by the C89 ZiLOG ZDS-II compiler. 2019-06-02 12:57:18 -06:00
Gregory Nutt
2767e80459 Squashed commit of the following:
ez80:  Fixing a few more compile problems.  I am afraid that the 5.3.0 compiler it too buggy to use.
    ez80:  Additional build-related fixed.
    eZ80:  Updating to use the newest ZDSII 5.3.0 toolchain.
2019-06-02 11:05:31 -06:00
Gregory Nutt
396552ac4c configs/lpcxpresso-lpc54628: Enable DATE command in twm4nx1 and twm4nx2 configurations. 2019-06-01 14:10:04 -06:00
Mateusz Szafoni
dffed7ab51 arch/arm/src/stm32f0l0g0/stm32g0_rcc.c: Fixes some problems found in build testing. 2019-05-31 09:22:07 -06:00
rajan gill
0ceac9a969 arch/arm/src/stm32/stm32_adc.c: The attached patch fixes a compilation error when verbose analog debugging is enabled for the stm32 adc: not all stm32s have an SQR4 register. 2019-05-31 08:50:38 -06:00
Dave Marples
d518cbb170 arch/arm/src/stm32/Kconfig: Add MEDIUM_DENSITY selection. 2019-05-31 07:55:43 -06:00
Jussi Kivilinna
ddcc6dd501 drivers/usbmisc/fusb303.c: Toggle enable bit off/on after detaching 2019-05-31 07:40:06 -06:00
Valmantas Paliksa
d3cedfb823 net/tcp/tcp_send_buffered.c: Fix deadlock in iob_copyin when iob buffers are exhausted and network lock is taken. 2019-05-31 07:29:17 -06:00
Gregory Nutt
aa18720d14 Upate a README 2019-05-31 07:27:15 -06:00
Gregory Nutt
491520350a Fix a spelling error that was cloned in many files. 2019-05-31 07:24:19 -06:00
Juha Niskanen
c77e016ee8 arch/arm/src/stm32l4, drivers/sensors/t67xx.c: Fix trivial build failures caused by recent commits 2019-05-31 07:22:02 -06:00
Jussi Kivilinna
591d0e7471 arch/arm/src/stm32l4/: Fix USB device PMA accesses. USB PMA accesses are done as 16-bit words on STM32L4 instead of 32-bit words on STM32L1. 2019-05-31 07:21:42 -06:00
Jussi Kivilinna
73c1658535 arch/arm/src/stm32l4/stm32l4_pwr.c: Enable PWR peripheral for setting USV 2019-05-31 07:21:24 -06:00
Jussi Kivilinna
4bcd1806f0 arch/arm/src/stm32l4/stm32l4_hsi48.c: Enable CRS_CR_CEN with CRS_CR_AUTOTRIMEN 2019-05-31 07:20:49 -06:00
Dave Marples
30620dfeb6 arch/arm/src/imxrt/imxrt_lowputc.c: Add changes omitted from 173897afb9 2019-05-30 17:22:18 -06:00
Gregory Nutt
2eb4fe5ffb Make sure sections are aligned to 32-bits in all LD linker scripts. This fixes and issues noted specifically for the SAMD21 by Bernd Walter, but should be applicable to all other LD scripts as well.
Squashed commit of the following:

    configs/:  Add . = ALIGN(4); before every .data section
    configs/:  Add . = ALIGN(4); before every ARM.extab section
    configs/:  Add . = ALIGN(4); before every definition of __exidx_start
    configs/:  Add . = ALIGN(4); before every .init_section.
    configs/:  Convert TABs to spaces in all ld linker scripts.  This just makes things easier to modify with scripts because the files are more consistent.
2019-05-30 16:51:38 -06:00
Dave Marples
173897afb9 This commit implements RS485 RX/TX switching and RTS/CTS flow control for the IMXRT family. It has been tested on 1020 but I don't see any reason for issues on any other family member. 2019-05-30 13:45:36 -06:00
raiden00pl
64feadfc21 Merged in raiden00/nuttx_lora/g0_port (pull request #878)
arch/stm32g0, configs/nucleo-g071rb: the basic NSH configuration is now functional

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-30 11:44:10 +00:00
Juha Niskanen
c9ecd548e0 configs/stm32l4r9ai-disco: Add ksh config, some updates for I2C, SPI and DFSDM support. 2019-05-28 09:31:36 -06:00
Juha Niskanen
7214f8ae76 arch/arm/src/stm32l4/stm32l4_i2c.c: Add support for 16 and 120 MHz timings, board can use HSI16 clock for I2C 2019-05-28 09:23:40 -06:00
Juha Niskanen
fac5cc77b0 arch/arm/src/stm32l4/stm32l4xrxx_rcc.c: Use Range 1 Boost mode if SYSCLK is higher than 80 MHz 2019-05-28 09:14:08 -06:00
raiden00pl
f4caf4b3ec Merged in raiden00/nuttx_pe (pull request #877)
Improvements for STM32 PWM

arch/arm/src/stm32/stm32_pwm: add support for all PWM modes

arch/arm/src/stm32/stm32_pwm: add interface to change PWM mode

arch/arm/src/stm32/stm32_pwm: refactor pwm_mode_configure()

arch/arm/src/stm32/stm32_pwm: STM32_PWM_CHANx corresponds to the timer channel and STM32_PWM_OUTx corresponds to the timer channel output

arch/arm/src/stm32/stm32_pwm: add CHAN5 and CHAN6 to PWM_TIMx_NCHANNELS

arch/arm/src/stm32/stm32_pwm: calculate the PWM_TIMx_NCHANNELS if CONFIG_STM32_PWM_MULTICHAN is selected

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-28 15:07:43 +00:00
Jason Harris
cc2d97f942 arch/arm/src/stm32/stm32_fsmc.h: Fix the include file guarding name in stm32/stm32_fsmc.h. 2019-05-27 11:15:37 -06:00
Gregory Nutt
3ec7c17c16 arch/arm/src/stm32f7: Fix another error related to chip/->hardware/ name change. 2019-05-27 10:41:44 -06:00
Gregory Nutt
e74aedb046 Fix errors found in build testing. 2019-05-27 09:21:18 -06:00
Gregory Nutt
5cdd038df2 Rename STM32F0L0 to STM32F0L0G0 since it now alsow supports the STM32G0 thanks to Mateusz Szafoni's contribution
Squashed commit of the following:

    arch/arm:  Rename include/stm32f0l0 and src/stm32f0l0 to stm32f0l0g0.

    Change all occurrences of lower-case stm32f0l0 to stm32f0l0g0.

    Change all occurrences of upper-case STM32F0L0 to STM32F0L0G0.
2019-05-27 08:16:24 -06:00
Gregory Nutt
dbb40e5fe7 arch/arm/src/stm32f0l0/hardware: Fix some cosmetic naming problems associated with chip/ vs hardware/ sub-directories. 2019-05-27 08:03:46 -06:00
Jason Harris
2c3ca9d756 Here's a patch to split the STM32 FMC/FSMC functionality (FSMC = flexible static memory controller, FMC = flexible memory controller = FSMC + sdram support). This commit makes FMC it's own thing rather than piggy backing on the FSMC code. The peripherals have a few utility functions and this commits lets you have a common function in the arch/arm/src/stm32 rather than having duplicate functions in the board code. 2019-05-27 07:21:52 -06:00
raiden00pl
9c676a9e67 Merged in raiden00/nuttx_lora (pull request #876)
Initial support for STM32G0

configs: initial support for nucleo-g071rb

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-27 11:48:57 +00:00
Gregory Nutt
a82e8db811 configs/lpcxpresso-lpc54628: Modify the TWM configurations to properly inject keyboard data. This way, in the case of multiple NxTERMs, only the NxTerm at the top of the heiararchy gets the keyboard input. Otherwise, it is not possible to use multiple NxTerms with each the keyboard input going to a different NxTerm window. 2019-05-26 13:17:56 -06:00
Gregory Nutt
788f77a9af Cosmetic 2019-05-26 12:33:42 -06:00
Gregory Nutt
f60301665b fs/procfs/fs_procfs.c: procfs_initialize() is used only within fs/procfs/fs_procfs.c and, hence, should be marked 'static'. 2019-05-25 14:12:00 -06:00
Daniel Agar
642c0f8df6 Merged in dagar/nuttx/pr-stm32f7_dtcm_profcs (pull request #875)
STM32F7 DTCM add procfs register

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-25 19:57:26 +00:00
Gregory Nutt
035842b3ed Fix an error and more warnings found in build testing. 2019-05-25 12:13:27 -06:00
Gregory Nutt
b21c12bd18 Fix errors found in build testing:
arch/mips/src:  Previous commit used CP0 register definitions that were not defined in the cp0.h header file.  Probably these were from the Microchip hacked up GCC toolchain but are not generally available.  Fix:  Add definitions to NuttX cp0.h header file.

mm/iob:  Eliminate some warnings about testing the value of an undefined pre-processor variable.
2019-05-25 11:45:22 -06:00
Gregory Nutt
d5bbbba8ad Rename all remaining arch/xxx/src/xxx/chip to arch/xxx/src/xxx/hardware. 2019-05-25 09:27:28 -06:00
Gregory Nutt
4126ec86cb Rename arch/arm/src/stm32/chip to arch/arm/src/stm32/hardware. 2019-05-25 08:31:02 -06:00
Gregory Nutt
91db79663d Rename arch/arm/src/samv7/chip to arch/arm/src/samv7/hardware. 2019-05-25 08:17:40 -06:00
Gregory Nutt
bc5cacc79f Rename arch/arm/src/samd5e5chip to arch/arm/src/samd5e5/hardware. 2019-05-25 08:12:10 -06:00
Gregory Nutt
2ebc21b005 Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
Gregory Nutt
d3679df0cc Rename arch/arm/src/sama5/chip to arch/arm/src/sama5/hardware. 2019-05-25 07:59:12 -06:00