Commit Graph

31693 Commits

Author SHA1 Message Date
Matt Thompson 357455ff0f fix typo 2018-01-24 19:23:11 -08:00
Matt Thompson 1ae8daf5d5 SAMDL: Added SAMD DAC header file. Fixed SAMD EVSYS header. Added SAMD TC header file. Fixed some minor typos 2018-01-24 19:06:00 -08:00
Gregory Nutt 822e67692b configs/flipnclick-sam3x: Using JTAG (vs. Bossac) I was finally able to load code and verify the basic NSH configuration. Updated READMEs. Also switched to USART0 (vs UART0) for the serial console because I was not getting bi-directional communication on the VCOM. 2018-01-24 19:00:51 -08:00
Alexander Oryshchenko 9e965247e4 arch/arm/src/stm32/stm32f40xxx_i2c.c: Correct some recent changes to STM32F4 I2C that broke poll mode of operation. 2018-01-24 19:00:51 -08:00
Alexander Oryshchenko ec6145e8f7 arch/arm/src/stm32/stm32_spi.c: Removed unnecessary (and incorrect) speed limitation 2018-01-24 19:00:51 -08:00
Alexander Oryshchenko 871419c3cd arch/arm/src/stm32: Make STM32 usable with an external RTC. drivers/timers/ds3231.c: Correct some debug statments. 2018-01-24 19:00:51 -08:00
Alexander Oryshchenko f232c862da drivers/mtd/at24xx.c: Correct page size for AT24C02 part. 2018-01-24 19:00:51 -08:00
Gregory Nutt bfbedceea0 Update some comments. 2018-01-24 19:00:51 -08:00
Gregory Nutt 58b95f4629 net/udp: Fix memory leak with UDP + write buffer is closed. Also update TODO and comments and refresh a configuration. 2018-01-24 19:00:51 -08:00
Gregory Nutt 7f245e2720 net/udp: UDP write buffering is basically functional but needs a lot more verification. 2018-01-24 19:00:51 -08:00
Gregory Nutt f04dec14cc net/udp and tcp: Yet another (cosmetic) change to UDP and TCP write buffer macro naming. 2018-01-24 19:00:51 -08:00
Gregory Nutt 7dc436a134 net/udp: Resolves final design issues with UDP write buffering. 100% code complete but also 100% untested. 2018-01-24 19:00:51 -08:00
Gregory Nutt 2f548a880c net/udp: In sendto(), return EHOSTUNREACH if if the network is down. 2018-01-24 19:00:51 -08:00
Gregory Nutt 880176e1cb This commit adds an as-of-yet untested implemented of UDP write buffering.
Squashed commit of the following:

    net/udp:  Address most of the issues with UDP write buffering.  There is a remaining issue with handling one network going down in a multi-network environment.  None of this has been test but it is certainly ready for test.  Hence, the feature is marked EXPERIMENTAL.
    net/udp:  Some baby steps toward a corrected write buffering design.
    net/udp:  Remove pesky write buffer macros.
    Eliminate trailing space at the end of lines.
    net/udp:  A little more UDP write buffering logic.  Still at least on big gaping hole in the design.
    net/udp:  Undefined CONFIG_NET_SENDTO_TIMEOUT.
    net/udp:  Crude, naive port of the TCP write buffering logic into UDP.  This commit is certainly non-functional and is simply a starting point for the implementatin of UDP write buffering.
    net/udp:  Rename udp/udp_psock_sendto.c udp/udp_psock_sendto_unbuffered.c.
2018-01-24 19:00:51 -08:00
Gregory Nutt 055a3ef844 net/udp: Remove some conditional logic that was true if there is only a single network device, but not true in the multi-device context. 2018-01-24 19:00:51 -08:00
Gregory Nutt 5ab4eb4f30 net/tcp: Write buffering logic should not wait for a free buffer if the socket was opened non-blocking. Also, rename the TCP write buffering macros from WRB_* to TCPWB_* to make room in the namespace for write buffering with other protocols. 2018-01-24 19:00:51 -08:00
Gregory Nutt fccd44387a The existence of the network driver ioctl() method should depend on CONFIG_NETDEV_IOCTL rather than CONFIG_NETDEV_PHY_IOCTL. The former enables the method, the later enables a subset of possible driver IOCTLs. This change should be basically a no-operation. The affected ioctl methods only support those subset of driver IOCTLs selected by CONFIG_NETDEV_PHY_IOCTL and the network logic will tolerate a nul ioctl method. 2018-01-24 19:00:51 -08:00
David Alessio 65afc69dc8 Merged in david_alessio/nuttx/refactor-pll-setup (pull request #581)
Refactor pll setup

* fix typo in #def

* refactor PLL setup code...

* refactored PLL/CLK config, easier, checks for correctness

* call go_os_start if STACK_COLORIZED

* smarter config of EXTCLK output freq

* cosmetic

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-24 19:00:51 -08:00
Juha Niskanen 2ef098dfda fs/userfs: use correct req type in userfs_truncate, remove use of undeclared buf 2018-01-24 19:00:51 -08:00
Mateusz Szafoni 6fd85ff076 Merged in raiden00/nuttx (pull request #579)
Master

* stm32_hritm: add interface to get timer clock frequency

    stm32_hrtim: fix timer freq calculation

    stm32_hrtim: add compar/capture registers significant bits checking

    stm32_hrtim: minor changes

* stm32f334-disco: add buck converter and boost converter logic

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-24 19:00:51 -08:00
Fanda Vacek e02a46f1d5 NUCLEO F432KC typo fixed, correct name is L432KC
Just README.txt and comments affected, no changes in the code
2018-01-24 19:00:51 -08:00
Gregory Nutt ef54d16116 Update TODO list 2018-01-24 19:00:51 -08:00
Gregory Nutt 1c502d4f72 configs/nucleo-l432kc: Fix numerous cloning errors/typos. 2018-01-24 19:00:51 -08:00
Fanda Vacek c4e8dbbe6e Issue #85: /dev/userleds is not working for nucleo-l432kc fixed 2018-01-24 19:00:51 -08:00
Gregory Nutt 2f0bc1907b Update README and some comments 2018-01-24 19:00:51 -08:00
Gregory Nutt 414c449cf9 sched/sched: Fix some priority inheritance related issues noted during review of logic. Also add some REVISIT comments for some issues noted in the design. 2018-01-24 19:00:51 -08:00
Gregory Nutt c7f293d388 Documentation: Fix copy/paste error in NX graphics document. Noted by Henjiu Kang. 2018-01-24 19:00:51 -08:00
Gregory Nutt 5a102fb227 Change ASSERT(false) to DEBUGPANIC(). 2018-01-24 19:00:51 -08:00
Gregory Nutt 1f54842c1e sched/sched/sched_sporadic.c: fix compiler error when priority inheritance is enabled. Noted by eunb.song@samsung.com 2018-01-24 19:00:50 -08:00
Masayuki Ishikawa cd1641305a sched/semaphore: Add ASSERT(false) in nxsem_post() if no waiting task is found.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-24 19:00:50 -08:00
Gregory Nutt 75b1844b7b include/termios.h: Update comments; fix long lines. 2018-01-24 19:00:50 -08:00
Gregory Nutt 5350d7efa2 configs/lpcxpresso-lpc54628: Update README 2018-01-24 19:00:50 -08:00
Gregory Nutt af2ac8063f configs/lpcxpresso-lpc54628/lvgl: Add LittlevGL graphics demo configuration. 2018-01-24 19:00:50 -08:00
Gregory Nutt a65ebeeb2c drivers/input/ft5x06.c: Remove cool logic to disable polling when there there is no client waiting for read data. That was a great idea to save CPU cycles when there is nothing reading from the touchscrren but, unfortunately, does not work with readers that open the driver in non-blocking mode. So I think we just have to eat the CPUs even when there is nothing waiting for touchscreen input. 2018-01-24 19:00:50 -08:00
Gregory Nutt 9776a32e26 configst/stm3240g-eval: Remove only bogus logic to start the NX server. That was there only to support the knxwm configuration and was implemented priorit to boardctl(BOARCIOC_NX_START). 2018-01-24 19:00:50 -08:00
Masayuki Ishikawa c48a6a78fb configs/lc823450-xgevk: Update README.txt and defconfigs
Update comments on SMP in README.txt
Enable SYSTEM_TIME64 in defconfigs.
Enable INSTRUMENTATION in rndis configuration.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-24 19:00:50 -08:00
Masayuki Ishikawa c93bbdcbc8 arch/arm/src/lc823450: Change irqwarn() to ASSERT() in up_ack_irq()
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-24 19:00:50 -08:00
Masayuki Ishikawa c70df0960d arch/arm/src/lc823450: Assign I2S IRQ handling to CPU0
Previous commit assumed that the caller is running on CPU0.
However, the caller sometimes runs at CPU1.  This patch will
assign the caller to CPU0 explicitly.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-24 19:00:50 -08:00
Matt Thompson d7cc0c7368 SAMDL: SPI must be disabled before changing the mode bits in CTRLA register 2018-01-17 17:23:05 -08:00
Matt Thompson bd70ac9c2f Merge remote-tracking branch 'upstream/master' 2018-01-17 11:51:57 -08:00
Gregory Nutt d481ac347d configs: Both CONFIG_LIB_BOARDCTL=y and CONFIG_BOARD_INITIALIZE=y is not meaningful in the standalone NxWM. CONFIG_LIB_BOARDCTL=y is the better option so CONFIG_BOARD_INITIALIZE=y removed from these configurations. 2018-01-17 13:51:29 -06:00
Gregory Nutt 6deebac4ae configs: There should be either CONFIG_LIB_BOARDCTL=y or CONFIG_BOARD_INITIALIZE=y in the defconfig of every standalone NxWM configuration to assure that all of the board resources are initialized... especially the touchscreen since it it now a part of the board driver initialization. 2018-01-17 12:12:07 -06:00
Gregory Nutt 3ff30608ef arch/arm/src/samdl: Mostly cosmetic improvements to previous commit. 2018-01-17 11:39:43 -06:00
Gregory Nutt 2d95fa6d2a arch/arm/src/samdl: Correct a link time error if CONFIG_SAMDL_EIC is not enabled. 2018-01-17 11:16:21 -06:00
Dmitriy Linikov 667ff07e6a Merged in hardlulz/modem-3.0-nuttx/fix-smartfs-build (pull request #574)
Fixed misprint in smartfs_utils.c

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-17 17:01:27 +00:00
Gregory Nutt c456b87dcd configs: CONFIG_MAX_TASKS muast be a power of 2 2018-01-17 10:54:39 -06:00
Gregory Nutt 43390c78ea configs: Since the touch screen initialization is now called from one-time board-initialization logic, it no longer needs protection from re-entry. 2018-01-17 10:14:03 -06:00
Gregory Nutt 301bf1ee77 This commit eliminates the BOARDIOC_TSCTEST_SETUP command.
Squashed commit of the following:

    configs:  Each board now initializes the touchscreen controller as a normal part of its board bring-up.  board_tsc_setup() is gone; the touchscreen controller is now treated like any other on-board device.
    Remove all support for BOARDIOC_TSCTEST_SETUP
    Move prototype for board_tsc_setup() from include/nuttx/board.h to individual board header files.
2018-01-17 09:33:28 -06:00
DL 7d1f133774 Fixed misprint in smartfs_utils.c 2018-01-17 15:57:06 +03:00
Masayuki Ishikawa 21eff99d72 Merged in masayuki2009/nuttx.nuttx/sched_note (pull request #573)
SMP: Introduce spin_lock_wo_note() and spin_unlock_wo_note()

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-17 07:04:24 +00:00