Commit Graph

145 Commits

Author SHA1 Message Date
Gregory Nutt
8c61c2f31b Remove trailing spaces at the end of lines. 2018-08-13 07:39:38 -06:00
Marcin Wyrwas
18ca531b40 Merged in plwm/nuttx/stm32f746g-disco-touchscreen (pull request #701)
stm32f746g-disco: touchscreen support

* fixed FT5x06 driver to correctly close (previously it unregistered interrupt handler during close)
* added LittlevGL demo for STM32F746G-DISCO

Approved-by: GregoryN <gnutt@nuttx.org>
2018-08-01 21:31:39 +00:00
Fanda
b05f846121 Merged in fvacek/nuttx/nxterm (pull request #686)
Nxterm

* stm32f746g-disco/nxdemo

    configuration to build working nxdemo application

    related to #109

* stm32f746g-disco/nxterm config

    NXTerm example for stm32f746g-disco board

Approved-by: GregoryN <gnutt@nuttx.org>
2018-07-17 17:00:25 +00:00
Fanda
f6069328b3 Merged in fvacek/nuttx (pull request #685)
stm32f746g-disco/nxdemo

configuration to build working nxdemo application

related to #109

Approved-by: GregoryN <gnutt@nuttx.org>
2018-07-17 16:43:51 +00:00
Alan Carvalho de Assis
283b73edc5 Fix lots of typos in C comments and Kconfig help text 2018-07-08 18:24:45 -06:00
Gregory Nutt
22cd0d47fa This commit attempts remove some long standard confusion in naming and some actual problems that result from the naming confusion. The basic problem is the standard MTU does not include the size of the Ethernet header. For clarity, I changed the naming of most things called MTU to PKTSIZE. For example, CONFIG_NET_ETH_MTU is now CONFIG_NET_ETH_PKTSIZE.
This makes the user interface a little hostile.  People thing of an MTU of 1500 bytes, but the corresponding packet is really 1514 bytes (including the 14 byte Ethernet header).  A more friendly solution would configure the MTU (as before), but then derive the packet buffer size by adding the MAC header length.  Instead, we define the packet buffer size then derive the MTU.

The MTU is not common currency in networking.  On the wire, the only real issue is the MSS which is derived from MTU by subtracting the IP header and TCP header sizes (for the case of TCP).  Now it is derived for the PKTSIZE by subtracting the IP header, the TCP header, and the MAC header sizes.  So we should be all good and without the recurring 14 byte error in MTU's and MSS's.

Squashed commit of the following:

    Trivial update to fix some spacing issues.
    net/: Rename several macros containing _MTU to _PKTSIZE.
    net/: Rename CONFIG_NET_SLIP_MTU to CONFIG_NET_SLIP_PKTSIZE and similarly for CONFIG_NET_TUN_MTU.  These are not the MTU which does not include the size of the link layer header.  These are the full size of the packet buffer memory (minus any GUARD bytes).
    net/: Rename CONFIG_NET_6LOWPAN_MTU to CONFIG_NET_6LOWPAN_PKTSIZE and similarly for CONFIG_NET_TUN_MTU.  These are not the MTU which does not include the size of the link layer header.  These are the full size of the packet buffer memory (minus any GUARD bytes).
    net/: Rename CONFIG_NET_ETH_MTU to CONFIG_NET_ETH_PKTSIZE.  This is not the MTU which does not include the size of the link layer header.  This is the full size of the packet buffer memory (minus any GUARD bytes).
    net/: Rename the file d_mtu in the network driver structure to d_pktsize.  That value saved there is not the MTU.  The packetsize is the memory large enough to hold the maximum packet PLUS the size of the link layer header.  The MTU does not include the link layer header.
2018-07-04 14:10:40 -06:00
Marcin Wyrwas
898fdbded0 Merged in plwm/nuttx/stm32f746g-disco-sdram (pull request #665)
Add support for STM32F746G-disco board SDRAM

* add support for STM32F746G-disco board SDRAM

* changed fb config to use SDRAM and fixed compilation

Approved-by: GregoryN <gnutt@nuttx.org>
2018-07-02 23:49:55 +00:00
Gregory Nutt
500d2c2289 arch/arm/src/lpc11,lpc17,lpc43,stm32,stm32l4: Fix scope of naming. CONFIG_CAN_TSEG1->CONFIG_LPC17_CAN_TSEG, for example. 2018-06-28 15:44:42 -06:00
Gregory Nutt
45cdc3a3d0 arch/arm/src/lpc11,lpc17,stm32,stm32l4: Fix scopy of nameing. CONFIG_CANx_BAUD->CONFIG_LPC17_CANx_BAUD, for example. 2018-06-28 14:47:14 -06:00
Marcin Wyrwas
1c76e10c06 Merged in plwm/nuttx/stm32f746g-disco-lcd (pull request #661)
add support for STM32F746G-disco board LCD

Approved-by: GregoryN <gnutt@nuttx.org>
2018-06-25 23:44:31 +00:00
Gregory Nutt
8bd9cfe038 Squashed commit of the following:
arch/arm:  Remove support for CONFIG_ARMV7M_CMNVECTOR.  It is now the only vector support available.  Also remove CONFIG_HAVE_CMNVECTOR.  That no longer signifies anything."
    arch/arm/src/stm32:  This commit removes support for the dedicated vector handling from the STM32 architecture support. Only common vectors are now supported.
2018-06-20 12:30:37 -06:00
Gregory Nutt
e4922ed9f0 Remove instructures to CD to tools/ before running ./configure.sh
Squashed commit of the following:

    configs/*/README.txt: Replace each occurrence of './configure.sh' with 'tools/configure.sh'
    configs/*/README.txt:  Remove 'cd ..' after each './configure.sh'
    configs/*/README.txt:  Remove 'cd -' after each './configure.sh'
    configs/*/README.txt:  Remove 'cd tools' before each './configure.sh'
    configs/README.txt:  Remove instruction to CD tools/ before running configure.sh.
2018-05-09 11:41:46 -06:00
Gregory Nutt
091e3f732e net/udp: Fix several issues using connected UDP sockets: sendto() should not accept and address. Normally send() should be used instead. recvfrom() is no longer necessary. recvfrom() and poll() should not reset to accept any addresses but should, instead, only accept inputs and events from the connected remore peer. On of these issues was noted by 李桂丁 <liguiding@pinecone.net>. Changes were made as summarized here: http://www.masterraghu.com/subjects/np/introduction/unix_network_programming_v1.3/ch08lev1sec11.html 2018-04-25 08:43:38 -06:00
Goran Mekić
f6e087a05c Merged in mekanix/nuttx/feature/clang (pull request #632)
Add clang support to stm32f746g-disco board

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-04-24 22:46:03 +00:00
Gregory Nutt
dc8941e958 configs/: Add definition of strip to many Make.defs files. 2018-03-25 09:25:37 -06:00
Louis Mayencourt
bd81664b31 configs/stm32f746g-disco: Add stm32f746g-disco Ethernet configuration. Add USART1 support (connected to the USB virtual serial port) 2018-02-19 14:38:22 -06:00
Gregory Nutt
0f10f6bdec configs/*/include; Remove prototype of stm32_boardinitialize() from board.h files. The authorative prototype is in arch/arm/src/stm32*/stm32*_start.h 2017-12-16 20:02:03 -06:00
Gregory Nutt
f6f4856cc6 Eliminate some warnings found in build testing. 2017-08-13 12:24:48 -06:00
Gregory Nutt
873de7b480 configs/*/README.txt: Update to the new URL for obtaining the ARM toolchain. 2017-08-13 07:18:19 -06:00
Ivan Ucherdzhiev
aac877a268 STM32F746-Disco: Add ADC3 support. 2017-08-05 12:54:42 -06:00
Gregory Nutt
8a785c4b66 Spirit Network Device: Fix a deadlock. Also several other design improvements to eliminate corner cases. 2017-08-03 08:37:05 -06:00
Gregory Nutt
d5e7ebed02 configs/stm32f746g-disco: Remove inclusion of STm32-specifiy header files from board.h 2017-08-02 17:34:29 -06:00
Ivan Ucherdzhiev
e0fd3a2d11 Fix for stm32f746g-disco board for button support with interrupt. This change is tested with buttons app example and it is working with interrupts (signals). I tried the test with polling but at this point it doesn't work. 2017-08-02 17:28:55 -06:00
Gregory Nutt
2c504003f3 stm32f746g-disco: Make the initialization logic identical to the standard way that is done for all other board. 2017-08-01 07:02:29 -06:00
Ivan Ucherdzhiev
a9e4e02c81 Fixes for compilation of stm32f746g-disco 2017-08-01 06:50:53 -06:00
Gregory Nutt
5f31999b75 Trivial fix to spacing 2017-07-27 11:50:59 -06:00
Titus von Boxberg
28eab902d0 No FSMC, only FMC for STM32F7 2017-07-27 18:27:01 +02:00
Titus von Boxberg
ee6416d3df inconsistency: the stm32f746 does not feature a DSI interface 2017-07-19 19:14:49 +02:00
Titus von Boxberg
006fa75171 corrected typos and inconsistencies for USB OTG configuration 2017-07-18 11:43:53 +02:00
Gregory Nutt
382def3df5 Move remaining, unique Make.defs files into scripts directory. 2017-07-11 12:13:36 -06:00
Gregory Nutt
e40ccc1b60 Move remaining, unique Make.defs files into scripts directory. 2017-07-11 11:14:11 -06:00
Gregory Nutt
5a9eebe270 More conversions of defconfig files to compressed format. All but Windows native configurati9ons. 2017-07-09 20:05:59 -06:00
Gregory Nutt
44545781e5 configs/: Remove dangline space at the end of lines in .txt files. 2017-06-28 13:18:41 -06:00
Gregory Nutt
cd54a0340f Fix a typo. And typo in Kconfig file is reflect in all defconfig files. 2017-06-15 14:29:09 -06:00
Gregory Nutt
b0fda33e13 Kconfig: Rename CONFIG_ARM_TOOLCHAIN_IAR to CONFIG_ARCH_TOOLCHAIN_IAR 2017-05-13 16:01:38 -06:00
Gregory Nutt
6e4918c557 Remove CONFIG_ARM_TOOLCHAIN_GNU; replace with CONFIG_ARCH_TOOLCHAIN_GNU 2017-05-13 13:28:15 -06:00
Gregory Nutt
7fe112fe4c Kconfig/deconfigs: Add CONFIG_ARCH_TOOLCHAIN_GNU to indicate that the toolchain is based on GNU gcc/as/ld. This is in addition to the CPU-specific versions of the same definition. 2017-05-13 11:44:12 -06:00
Gregory Nutt
0de294a586 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
Sebastien Lorquet
aca2e36d67 stm32 devboards 2017-04-28 18:26:05 +02:00
Gregory Nutt
9aac1dd44d configs: Remove all setenv.bat files. Remove all references to setenv.sh and setenv.bat from all config README files. 2017-04-26 10:12:13 -06:00
Gregory Nutt
1620ff05f4 Remove all setenv.sh files. 2017-04-26 07:49:37 -06:00
Gregory Nutt
77f980e676 Buttons: Correct some comments left after last button-related change: 32- vs 8-bit bit set. 2017-04-09 14:44:49 -06:00
Gregory Nutt
f9e402018b Buttons: Change return value of board_buttons() and the type of btn_buttonset_t to uint32_t so that more than 8 buttons can be supported. 2017-04-09 07:22:49 -06:00
Gregory Nutt
c071e2a30c Make sure that CONFIG_PTHREAD_MUTEX_ROBUST=y is selected every configuration that enabled pthreads. 2017-03-27 09:21:03 -06:00
Gregory Nutt
b07d3fc305 Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES 2017-03-27 09:08:14 -06:00
Gregory Nutt
c428661e18 apps/examples/usbterm is gone because it can be configured to perform an illegal call into the OS. Remove all traces of CONFIG_EXAMPLES_USBTERM* and all of the illegal device support. 2017-03-09 15:39:28 -06:00
Gregory Nutt
d0813aa0c5 Refresh all ARM configurations 2017-03-09 10:23:41 -06:00
Gregory Nutt
4f5e0e3519 board_button_irq: Button IRQ logic no longer returns the xcpt_t oldhandler. There value is useless and dangerous after the recent changes to interrupt argument passing. 2017-03-02 15:27:55 -06:00
Gregory Nutt
4c82827ab1 board_button_irq: Button IRQ logic no longer returns the xcpt_t oldhandler. There value is useless and dangerous after the recent changes to interrupt argument passing. 2017-03-02 14:37:22 -06:00
Gregory Nutt
67de2e5f66 Add argument to STM32 EXTI interrupt handlers. 2017-02-27 14:21:30 -06:00