Commit Graph

10512 Commits

Author SHA1 Message Date
Gregory Nutt
d9f549121c ieee802154_req_data: Don't modify the IOB until we are certain that no EINTR errors will occur. Otherwise, the retry will fail 2017-06-20 14:27:22 -06:00
Gregory Nutt
192bacbd7f ieee802154 network driver now retries if ieee802154_req_data() returns EINTR. In clicker2-stm32 6LoWPAN configuration, increased the number of TX descriptors to match then number of IOBs. 2017-06-20 13:30:17 -06:00
Gregory Nutt
a82ab4b729 mac802154_req_data() can return without releasing the exclsem 2017-06-20 11:23:31 -06:00
Gregory Nutt
6dafb4f532 6LoWPAN: Add debug statements; Update configuration, need to specific 6LoWPAN compatible port numbers. 2017-06-20 10:37:32 -06:00
Gregory Nutt
68a2b84277 Update a README 2017-06-19 16:01:35 -06:00
Gregory Nutt
c5ae864624 /configs/clicker2-stm32/mrf24j40-6lowpan: Enables both client and server UDP tests on the target; Update a README file. 2017-06-19 13:28:48 -06:00
Gregory Nutt
476ca8238b Update TODO list and some defconfigs. 2017-06-19 10:56:34 -06:00
Gregory Nutt
94b607bda0 Update TODO, enable UDP example in clicker1-stm32/mrf24j40-6lowpan example, make sure that CONFIG_EXAMPLES_UDP_NETINIT is set in all other examples/udp configurations. 2017-06-19 09:59:10 -06:00
Gregory Nutt
cfea8adacb L should be capitalized in 6LoWPAN 2017-06-18 16:00:08 -06:00
Gregory Nutt
84a75996fb IEEE 802.15.4 Network Driver: Add logic to setup the network mask, update the MAC-based IPv6 addressing when the network is brought up. The idea is that addressing changes are supposed to occur only while the network is down but won't take effect until the network is up again. 2017-06-18 15:26:56 -06:00
Gregory Nutt
50df37931d ieee802.15.4: Missing one name change 2017-06-18 11:29:09 -06:00
Gregory Nutt
2d4ba3ee3f IEEE 802.15.4 MAC: Add list management and prioritization logic that will permit the MAC layer to support bound multiple clients. 2017-06-18 11:00:47 -06:00
Gregory Nutt
8d4439e683 Update some 6loWPAN configurations based on changes to NSH Kconfig 2017-06-17 11:29:25 -06:00
Gregory Nutt
c27cee2a94 configs/sim/sixlowpan: Refresh configuration. 2017-06-17 07:34:35 -06:00
Gregory Nutt
a0722750d8 clicker2-stm32: mrf24j40-6lowpan configuration needs to enabled the ieee 802.15.4 MAC network device as well. 2017-06-16 18:02:46 -06:00
Gregory Nutt
4588226d71 Clicker2-STM32: Enable networking and 6loWPAN in the mrf24j40-6lowpan configuration. Fix a couple of new 6loWPAN compile issues revealed by this new configuration. 2017-06-16 16:47:27 -06:00
Gregory Nutt
1f42ab7b7d Clicker2-stm32: Allow both IEEE 802.15.4 MAC character and network devices to be registered. 2017-06-16 15:40:00 -06:00
Gregory Nutt
ab2028d73e Fix a long line in a README file 2017-06-16 09:55:21 -06:00
Gregory Nutt
c8f6475749 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-16 09:34:57 -06:00
Gregory Nutt
5245cbc6f5 STM32 SPI/I2S: Back out a bad pin mapping change from 4ab2a3661e. Try to staighten out some I2C3 and SPI3 pin configuration stuff. 2017-06-16 09:34:22 -06:00
Gregory Nutt
389144412c Merge branch 'ieee802154' of bitbucket.org:nuttx/nuttx into ieee802154 2017-06-16 07:53:07 -06:00
Gregory Nutt
777964a0cf Clicker2-STM32: Enable RAMLOG in mrf24j40-6lowpan configuration. Update README. 2017-06-16 07:49:23 -06:00
Gregory Nutt
af25740ca5 Update README: 2017-06-15 16:37:18 -06:00
Gregory Nutt
0878286f71 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-15 14:29:55 -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
b8e968f191 clicker2-stm32: Add a configuratino that will, eventually, be used for 6loWPAN testing. 2017-06-15 14:26:10 -06:00
Gregory Nutt
150907a9b4 Rename configs/mrf24j40-radio to mrf24j40-mac 2017-06-15 12:30:58 -06:00
Gregory Nutt
535ea4e0f5 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-15 10:34:38 -06:00
Gregory Nutt
4a88d6a50a Merge branch 'ieee802154' of bitbucket.org:nuttx/nuttx into ieee802154 2017-06-15 10:32:55 -06:00
Gregory Nutt
1bb5a74035 configs/.gitignore: Make sure that any .gdbinit, .project, or .cproject files are ignore so that they are less likely to be included in a patch or PR. 2017-06-15 10:12:02 -06:00
Anthony Merlino
e30501ebd4 wireless/ieee802154: Lots of fixes, cleanup, new functionality. Functional 2017-06-15 12:11:52 -04:00
Gregory Nutt
d8da813562 stm32f103-minimum: Fix compiler error in MCP2415 logic. 2017-06-14 14:54:07 -06:00
Gregory Nutt
78281ef8e0 configs/stm32f103-minimum/mcp2515/defconfig: Enable CONFIG_CAN_TXREADY=y to eliminate a warning. 2017-06-14 10:10:57 -06:00
Gregory Nutt
8ae5450268 pthreads: Move pthread_yield from sched/pthreads to libc/pthreads. it is a simple wrapper for sched_yield and does not belong within the OS. 2017-06-14 07:31:10 -06:00
David Sidrane
611612c6f2 freedom-k66f:Use SPI driver.
Initalize SPI1 on connector J6. No real use, as of yet.
2017-06-13 17:46:57 -10:00
David Sidrane
fbea5abef0 freedom-k66f:Refreshed config 2017-06-13 17:46:57 -10:00
raiden00pl
fe7148dff0 nucleo-f334r8: cosmetics 2017-06-11 21:14:48 +02:00
raiden00pl
43e0c28acb nucleo-f334r8: add HRTIM initialization 2017-06-11 20:52:43 +02:00
Gregory Nutt
40f60d6da5 Update to coding standard document and to a README file. 2017-06-11 10:01:14 -06:00
Alan Carvalho de Assis
b7ca90a721 stm32f103-minimum: Use separated read_ops for GPIO interrupt pins 2017-06-11 07:20:18 -06:00
Gregory Nutt
6e0ec04084 Update README 2017-06-10 17:54:16 -06:00
Gregory Nutt
2b8abbb3c6 configs: Add readme for B-L465E-IOT01A Development kit. This port is currently under consideration (but may not actually happen) 2017-06-10 08:58:47 -06:00
Alan Carvalho de Assis
fa2c7a694f stm32f103-minimum: Fix a small BUG when reading from output pin. We need a different read_ops to read from output pin. This patch fixes the issue:
nsh> gpio -o 0 /dev/gpout1
Driver: /dev/gpout1
  Output pin:    Value=1
  Writing:       Value=0
  Verify:        Value=1

Now:

nsh> gpio -o 0 /dev/gpout1
Driver: /dev/gpout1
  Output pin:    Value=1
  Writing:       Value=0
  Verify:        Value=0
2017-06-09 15:09:03 -06:00
Gregory Nutt
bf6709b887 configs/: Back out many of the changes in two recent commits: Too many changes from SPIDEV_WIRELESS to SPIDEV_CONTACTLESS. Specifically NRF24L01 should still be SPIDEV_WIRELESS. 2017-06-08 15:34:13 -06:00
Gregory Nutt
44b532e648 configs/: a few more places where SPIDEV_WIRELELSS should be SPIDEV_CONTACTLESS. 2017-06-08 14:42:31 -06:00
Gregory Nutt
30cbb3059f Cosmetic: Removing trailing whitespace at the end of lines. 2017-06-08 13:12:08 -06:00
Alan Carvalho de Assis
04eefd7c8b stm32f103-minimum: dd GPIO device driver example for STM32F103-Minimum. This chang adds the initialization needed by stm32f103-minimum board to support the NuttX GPIO Subsystem. 2017-06-08 11:23:46 -06:00
Nicolas Estibals
fb8cfe857e configs/stm32f103-minumum SPI: SPIDEV_WIRELESS used when this has changed to SPIDEV_CONTACTLESS 2017-06-08 11:15:08 -06:00
David Sidrane
182259921f teensy-3.x:Refreshed config and made board self powered 2017-06-06 14:38:59 -10:00
David Sidrane
04a46d8d35 teensy-3.x:Refreshed config 2017-06-06 14:38:59 -10:00
David Sidrane
ad0cbd3f83 teensy-3.x:Removed call to khci_usbattach
The call is not need by the driver if CONFIG_USBDEV_BUSPOWERED=y
  The class register will enable the soft connect pull up. The
  khci_usbattach call only set a flag, and that  flag is only tested
  in the class register. On a USB powered device if we are running we
  are attached.
2017-06-06 14:38:59 -10:00
David Sidrane
7581cad592 teensy-3.x:Refreshed config 2017-06-06 14:38:59 -10:00
David Sidrane
5b07459af1 Freedom-k66f:Refreshed config 2017-06-06 14:38:59 -10:00
David Sidrane
3f4d096707 Kinetis:teensy-3.x Define USBOTG-FS Read from FLASH access in board config
Allow the board config to define the USBOTG-FS to have Read access to
   FLASH.
2017-06-06 14:38:59 -10:00
Gregory Nutt
ff2b54a5e0 nucleo-f4x1re User LEDS: Issue #51 reports compilation problems with stm32_userled.c. Reported by Gappi92. 2017-06-01 06:44:24 -06:00
Gregory Nutt
90dda9357e pthread robust mutexes: Fix memmory trashing problem: the main task may also use mutexes; need to check thread type before accessing pthread-specific mutex data structures. Problem noted by Jussi Kivilinna. 2017-05-31 10:55:37 -06:00
Gregory Nutt
dc3a7e54a9 Cosmetic 2017-05-30 11:36:54 -06:00
Gregory Nutt
f86287fd43 PIC32MXMMB: Fix a few copy-paste errors. 2017-05-27 09:23:23 -06:00
Gregory Nutt
7f9700804f Add file needed with previouis commit. 2017-05-27 09:17:46 -06:00
Gregory Nutt
90680e28d4 PIC32MX7MMB: Repartition files to match newer configurations. Add support for PROCFS file system. Default is now Pinguino toolchain. Verifty networking. 2017-05-27 09:11:50 -06:00
Gregory Nutt
e71472b508 PIC32MX7MMB: add support for the Pinquino toolchain 2017-05-27 08:04:02 -06:00
Alan Carvalho
2b3eb7344c Merged in acassis/nuttx_acassis/pcd8544 (pull request #381)
Pcd8544

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-26 14:44:23 +00:00
Alan Carvalho de Assis
f5732f0d15 Add board support to use the Nokia 5110 LCD display driver 2017-05-26 10:53:16 -03:00
Alan Carvalho de Assis
bab5de15f6 Remove warning from MCP2515 compilation 2017-05-23 19:41:58 -03:00
Gregory Nutt
38ae28e978 MCP2515: Changes from review of last PR 2017-05-23 12:22:49 -06:00
Alan Carvalho de Assis
607b9b5a8c Add board support to test Microchip MCP2515 driver 2017-05-23 14:29:36 -03:00
Taras Drozdovsky
0fdb000e53 Fix define CONFIG_AUDIO_CS43L22 typo 2017-05-21 17:09:53 -06:00
Taras Drozdovsky
4ab2a3661e STM32F4: add cs43l22 audio driver and i2s driver 2017-05-21 14:14:09 -06:00
Gregory Nutt
d764942e9d Update README and a Document 2017-05-20 16:36:55 -06:00
Gregory Nutt
b10d2bbc8c Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-14 16:37:10 -06:00
Anthony Merlino
8ec0b71a59 wireless/ieee802154: Updates configuration settings 2017-05-14 17:59:19 -04:00
Gregory Nutt
8acfea1197 Fix some typos 2017-05-14 12:14:31 -06:00
Simon Piriou
7e75d61ea0 photon/wlan: disable network logs and add nsh over telnet 2017-05-14 19:33:44 +02: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
Alan Carvalho de Assis
6811e18980 Fix the libcanard link version to get it compiling without errors. 2017-05-12 16:59:44 -03:00
Alan Carvalho de Assis
853d332b6c Move CAN subsystem to its own directory and put device drivers there
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2017-05-12 11:48:47 -03:00
Gregory Nutt
2c807e4750 Makefile edited online with Bitbucket 2017-05-12 02:48:30 +00: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
Gregory Nutt
3d73a04259 Merged l432kc into master 2017-05-09 11:03:42 -06:00
Gregory Nutt
2043e1a114 IOBs: Move from driver/iob to a better location in mm/iob 2017-05-09 07:35:30 -06:00
Sebastien Lorquet
ce4c18afe4 More unbuilt stm32 -> stm32l4 changes 2017-05-09 11:15:08 +02:00
Sebastien Lorquet
8c0a70e25c Typo 2017-05-09 11:09:02 +02:00
Sebastien Lorquet
565c952077 Update defconfig, fix nucleo-32 uart pinout 2017-05-09 11:00:56 +02:00
Sebastien Lorquet
14831a18c6 cleanup all external peripherals 2017-05-09 10:01:26 +02:00
Sebastien Lorquet
b2bb795520 Final fixes to get the nucleo-l432kc config build. execution not tested yet 2017-05-09 09:00:37 +02:00
Sebastien Lorquet
ff4f5fdba2 Merge branch 'master' into l432kc 2017-05-09 08:42:13 +02:00
Gregory Nutt
d5d96a6efe Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-08 14:35:00 -06:00
Alan Carvalho de Assis
13f1ba03d5 Photon: Add README file 2017-05-08 13:14:21 -06:00
Gregory Nutt
88ec3d3aea Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-06 11:31:26 -06:00
Gregory Nutt
5e81391d79 Update a configuration. 2017-05-06 11:25:39 -06:00
Gregory Nutt
6062553748 Refresh a configuration 2017-05-06 09:38:26 -06:00
Gregory Nutt
37d8e4fa79 Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-05 09:36:22 -06:00
Juha Niskanen
35883ff9ae Merged in juniskane/nuttx_stm32l4/l4dev (pull request #347)
STM32L4: add support for many new MCUs from STM32L4X3XX product line and Nucleo-L452 board

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-05 15:31:07 +00:00
Anthony Merlino
dd40014279 wireless/ieee802154: Removes radio IOCTL. Starts bringing radio and MAC closer with well-defined interface. 2017-05-05 11:15:38 -04:00
Gregory Nutt
2ecaf33bb6 nucleo-144: Default for choice in Kconfig was not one of the possible choices. 2017-05-05 06:48:53 -06:00
Juha Niskanen
a7b452bc5b configs/nucleo-l496zg: Kconfig was copied from nucleo-144
Removed as most options have not been tested.
2017-05-05 15:32:07 +03:00
Sebastien Lorquet
c597202ac7 Merge branch 'master' into l432kc 2017-05-05 10:54:26 +02:00
Gregory Nutt
969c1ab614 6loWPAN: Replace some Rime address naming with more consistent short/exended address terminology 2017-05-04 08:20:59 -06:00
Gregory Nutt
6a45afdd75 Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-04 07:11:19 -06:00
Juha Niskanen
0ce7815efe configs: add nucleo-l452re board files 2017-05-04 15:24:16 +03:00
Juha Niskanen
dd1b9dfa81 STM32L4: modularize Kconfig to support different product lines/families
This is modeled after STM32F7. Idea is to declare each chip in Kconfig
but allow for flash size override. Commit adds many STM32L4_HAVE_XXX
feature test macros.
2017-05-04 15:22:51 +03:00
Gregory Nutt
fa060b7901 photon/wlan: Update defconfig 2017-05-02 09:40:12 -06:00
Sebastien Lorquet
8a3bf0f9f3 Merge branch 'master' into l432kc 2017-05-02 17:19:44 +02:00
Sebastien Lorquet
db4fd71f4f first attempt at a nucleo-l432kc board 2017-05-02 17:18:15 +02:00
Gregory Nutt
e94865a317 Merge remote-tracking branch 'origin/master' into photon 2017-05-02 08:49:19 -06:00
Mateusz Szafoni
1feaae7222 Merged in raiden00/nuttx (pull request #338)
OPAMP support for STM32F33XX
2017-05-02 13:57:56 +00:00
Juha Niskanen
f01ceffc0d configs: add nucleo-f091rc board files 2017-05-02 07:36:10 -06:00
Juha Niskanen
1829282442 configs: add nucleo-l496zg board files 2017-05-02 07:36:09 -06:00
Gregory Nutt
f7a28c09b0 Merge remote-tracking branch 'origin/master' into photon 2017-05-01 18:06:23 -06:00
Gregory Nutt
e87991bbdc Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-01 18:05:38 -06:00
Gregory Nutt
0e3438b854 clicker2-stm32: Add protected build knsh configuration. 2017-05-01 15:19:23 -06:00
Gregory Nutt
e43b86dbd0 Merge remote-tracking branch 'origin/master' into photon 2017-04-30 17:42:37 -06:00
Simon Piriou
fe77735960 bcmf: add netdev support for Broadcom FullMAC driver 2017-04-30 20:36:35 +02:00
Gregory Nutt
dee736bd0d STM32F0 I2C: Pin definitions should specify open drain (and probably 50Mhz). 2017-04-30 10:28:16 -06:00
Gregory Nutt
0a9dd3876b STM32F0 I2C: Upate driver to use the standard interrupt parameter passing logic. 2017-04-30 09:19:51 -06:00
Gregory Nutt
446af7e987 Nucleo-F072RB: Add support for the I2C driver used by I2C tools. 2017-04-30 08:02:03 -06:00
raiden00pl
c3109acb29 nucleo-f334r8: Add OPAMP support 2017-04-30 11:13:13 +02:00
Alan Carvalho de Assis
b688d41516 STM32F0 I2C: Initial cut at driver. Still a work in progress. 2017-04-29 16:53:47 -06:00
Gregory Nutt
84c887f48c Update a README and some comments. 2017-04-29 15:53:23 -06:00
Gregory Nutt
a7901f5c4c Merge remote-tracking branch 'origin/master' into photon 2017-04-29 12:35:01 -06:00
Gregory Nutt
f826877c61 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-29 12:27:49 -06:00
Gregory Nutt
e9a5477506 Add an instance argument to the SPIDEV definitions. 2017-04-29 12:26:52 -06:00
Gregory Nutt
3482172a16 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-29 10:06:35 -06:00
Gregory Nutt
b6b16bf4da Fix forward references that were mangled in last large changes. 2017-04-29 06:59:35 -06:00
Simon Piriou
0d1a79719a bcmf: add escan ioctls support + cleanup 2017-04-28 19:44:48 +02:00
Sebastien Lorquet
b78137049c Final batch 2017-04-28 18:31:44 +02:00
Sebastien Lorquet
abc8322728 more kinetis 2017-04-28 18:31:10 +02:00
Sebastien Lorquet
68af2a9354 more stm32 2017-04-28 18:30:23 +02:00
Sebastien Lorquet
6d830f46e9 nxp boards 2017-04-28 18:29:43 +02:00
Sebastien Lorquet
6574f8e610 pic32 boards 2017-04-28 18:28:45 +02:00
Sebastien Lorquet
c2251e8e40 ti boards 2017-04-28 18:28:09 +02:00
Sebastien Lorquet
1bb76c43d3 atmel boards 2017-04-28 18:27:30 +02:00
Sebastien Lorquet
35b3abc6b2 kinetis boards 2017-04-28 18:26:39 +02:00
Sebastien Lorquet
aca2e36d67 stm32 devboards 2017-04-28 18:26:05 +02:00
Gregory Nutt
d1fc0040d7 STM32F103-Mininum: Rename an incorrectly named file. 2017-04-27 17:57:37 -06:00
Gregory Nutt
1b3ab950a4 STM32F103-Mininum: Rename an incorrectly named file. 2017-04-27 17:44:07 -06:00
Gregory Nutt
f1aa43512a Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-27 17:00:11 -06:00
Gregory Nutt
2e6908b384 IOCTLS. Separate wireless character driver IOCTL commands from wireless network driver IOCTL commands. Move from wireless.h to ioctl.h. 2017-04-27 16:58:30 -06:00
Gregory Nutt
a7dc83b70d Update a README file. 2017-04-27 09:26:12 -06:00
Gregory Nutt
a134178034 Enabled wireless IOCTL commands in photon/wlan configuration 2017-04-26 12:30:18 -06:00
Anthony Merlino
b52de42d16 Merged in merlin17/nuttx/ieee802154 (pull request #336)
wireless/ieee802154: Lots of little fixes and changes to get everything to build

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-26 16:50:56 +00:00
Gregory Nutt
1ae795a348 Remove ./configs/photon/wlan/setenv.sh 2017-04-26 10:42:50 -06:00
Gregory Nutt
7d8140708e Merge remote-tracking branch 'origin/master' into photon 2017-04-26 10:42:19 -06:00
Gregory Nutt
804395e2c6 Remove /configs/clicker2-stm32/mrf24j40-radio/setenv.sh 2017-04-26 10:40:39 -06:00
Gregory Nutt
feba99e99c Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-26 10:39:45 -06:00
Gregory Nutt
2f9028b547 Remove all remaining references to setenv.h and setenv.bat. 2017-04-26 10:28:37 -06: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
Anthony Merlino
9e760dcf6a wireless/ieee802154: Lots of little fixes and changes to get everything to build 2017-04-26 11:36:06 -04:00
Simon Piriou
6bb2db8c15 bcmf: enable DMA for SDIO transfers 2017-04-26 17:23:53 +02:00
Gregory Nutt
1620ff05f4 Remove all setenv.sh files. 2017-04-26 07:49:37 -06:00
Gregory Nutt
232fbf7f00 CONFIG_DEBUG_HARDFAULT should be available for Cortex-M0 too. configs/nucle-f072rb/nsh: Correct amount of available SRAM in defconfig. 2017-04-26 07:45:40 -06:00
Gregory Nutt
ace460ad0e configs/photon/src/stm32_wlan.c: Remove unused, inappropriate network driver registration. 2017-04-25 13:02:50 -06:00
Gregory Nutt
afea57d43a Photon: Rename ld.script to photon_jtag.ld for symmetry. 2017-04-25 12:03:27 -06:00
Gregory Nutt
16038d1685 photon/wlan: Minor config changes to get a clean build. 2017-04-25 08:23:53 -06:00
Gregory Nutt
559660a530 Move bogus top-level config-wlan to configs/photon/wlan/defconfig. 2017-04-25 07:44:25 -06:00
Gregory Nutt
a57c79e8b3 wireless/ieee80211: Add broadcom network device registration logic. 2017-04-24 10:43:57 -06:00
Simon Piriou
c0862c862f photon: cleanup and refactor bcmf driver 2017-04-23 23:39:17 +02:00
Gregory Nutt
6601912f12 Add URL for dfu-util 2017-04-23 10:56:33 -06:00
Simon Piriou
e1a4e88a55 photon: add DOWNLOAD function to upload firmware through DFU 2017-04-23 10:16:17 -06:00
Gregory Nutt
d8e4cbcfd5 Merge remote-tracking branch 'spiriou/wlan_dev' into photon 2017-04-22 08:26:40 -06:00
Gregory Nutt
9d094a28be Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-21 11:17:35 -06:00
Juha Niskanen (Haltian)
c04c49dac0 Add support for the STM32F09X family. 2017-04-21 08:23:25 -06:00
Gregory Nutt
d08b802998 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-20 16:19:42 -06:00
Gregory Nutt
bfb93338f6 Move net/iob to drivers/iob so that the I/O buffering feature can be available to other drivers when networking is disabled. 2017-04-20 16:08:49 -06:00
Gregory Nutt
bcc6b61fc1 Move include/nuttx/net/iob.h to include/drivers/iob.h; rename CONFIG_NET_IOB to CONFIG_DRIVERS_IOB 2017-04-20 14:53:30 -06:00
Gregory Nutt
547f6c7cc3 SIM: Fix some bad naming changes associated with the simulated touchscreen. 2017-04-20 07:51:27 -06:00
Gregory Nutt
a8563bf9be Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-19 11:20:20 -06:00
Gregory Nutt
d3e1ea84f6 Update README 2017-04-19 11:19:40 -06:00
Gregory Nutt
575fb0acbf Nucleo-F072RB: Enable board_app_inititalize, procfs, and built-in functions. 2017-04-19 07:26:51 -06:00
Gregory Nutt
0d83fce263 Really trivial change in spacing. 2017-04-18 14:12:15 -06:00
Gregory Nutt
52cddc45de Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-18 10:38:08 -06:00
Gregory Nutt
27e212a291 Nucleo-F072RB: Various fixes to get the first clean build. 2017-04-18 10:37:05 -06:00
Gregory Nutt
b45472baf8 Nucleo-F072RB: Add board configuration 2017-04-18 10:07:03 -06:00
Gregory Nutt
8420e68a9b STM32F0: The STM32F2 does not have use alternate function groupings as does the F1. Rather, it is like other members of the STM32 family with An alternate setting AF0-AF7 for each pin. 2017-04-18 08:40:14 -06:00
Gregory Nutt
8a5ed57262 Nucleo-F072RB: Add directory and README file. 2017-04-18 08:16:21 -06:00
Gregory Nutt
04ebdbb336 Move: CONFIG_ADC_NO_START_CONV from drivers/adc/Kconfig to arch/arm/src/stm32[f7]/Kconfig as STM32[F7]_ADC_NO_START_CONV. Refresh all configurations with any reference to CONFIG_ADC_NO_START_CONV. 2017-04-18 07:16:35 -06:00
Gregory Nutt
de22d24f8e More changes UART to USART. Fix garbage code in stm32f0_serial.h that was clearing HAVE_USART 2017-04-17 18:37:52 -06:00
Alan Carvalho de Assis
363fe88dbd Fix stm32f0discovery defconfig to use standard serial 2017-04-17 17:59:33 -06:00
Gregory Nutt
2c01aaad59 STM32F0: Add basic support for STM32F07x family 2017-04-17 16:54:07 -06:00
Gregory Nutt
0ef4e37c9e Upate some comments. 2017-04-17 14:28:19 -06:00
Alan Carvalho de Assis
b0597583da Fix System Clock value to 48MHz and remove MCLK definition 2017-04-17 12:48:07 -06:00
Gregory Nutt
efd674e09f STM32F0-Discovery: Clarifie clock calculations in board.h 2017-04-17 12:24:23 -06:00
Gregory Nutt
8df9e7f8ce STM32F0-Discovery: Correct part number in board.h 2017-04-17 11:18:13 -06:00
Alan Carvalho de Assis
3249da6557 STM32F0: Fix HSI clock definition 2017-04-17 11:14:24 -06:00
Gregory Nutt
cd62425433 STM32F0: type of regval should be uint32_t in clockconfig(). Fix a warning from __start(). 2017-04-17 09:17:31 -06:00
Gregory Nutt
ef02a8b97e Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-15 08:54:06 -06:00
Gregory Nutt
0652cbfd12 Update TODO list and README files. 2017-04-15 07:40:14 -06:00
Gregory Nutt
fffdba0835 Revert "Add a placeholder for nucleo-64 boards. Currently these are in various directories nucleo-f303re, nucleo-f334r8, and nucleo-l476rg but need to be consolidated here because these are all the same boards."
This reverts commit 935cc4e3de.
2017-04-14 17:15:58 -06:00
Gregory Nutt
935cc4e3de Add a placeholder for nucleo-64 boards. Currently these are in various directories nucleo-f303re, nucleo-f334r8, and nucleo-l476rg but need to be consolidated here because these are all the same boards. 2017-04-14 13:30:36 -06:00
Gregory Nutt
beee02843a wireless/ieee802154: Fix some easy compilation problems introduced with header file changes. 2017-04-14 12:05:28 -06:00
Alan Carvalho de Assis
4602212612 Fix serial compilation issues 2017-04-14 11:42:20 -06:00
Gregory Nutt
badd36170d IEEE802.15.4: There is only one instance of the IEEE802.15.4 MAC lower level. There is no need for the interface to be indirect via a vtable. In this case, standard global functions should be used. 2017-04-14 10:38:46 -06:00
Gregory Nutt
a7ad683c89 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-14 08:57:39 -06:00
Gregory Nutt
2158c2d582 STM32F0 Discovery: Remove inclusion of stm32_rcc.h in board.h 2017-04-14 08:53:24 -06:00
Alan Carvalho de Assis
2a7909aade Small fixes to get stm32f0discovery compiled correctly 2017-04-14 08:50:47 -06:00
Alan Carvalho de Assis
2cc7744b0c Add stm32f0discovery board support 2017-04-14 08:34:38 -06:00
Gregory Nutt
56c5970b5b Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-13 06:57:45 -06:00
Gregory Nutt
39b62c6b46 Changes from review of last PR 2017-04-13 06:50:33 -06:00
Brian Webb
1a9403313e Adds USB host support to stm32f411-disco board. 2017-04-12 20:37:34 -07:00
Gregory Nutt
aa823e8d6e Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-10 15:27:01 -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
5104eb530f Photon: Add logic to automatically mount the procfs file system on startup. Fix some LED-related configuration conflicts. 2017-04-09 13:46:27 -06:00
Gregory Nutt
de2c368249 Eliminate a warning about garbage at the end of the line. 2017-04-09 12:13:47 -06:00
Gregory Nutt
c3a9c7eda6 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-09 10:16:57 -06:00
Gregory Nutt
dedc3c15d4 Add support for NuttX controlled LEDS and for board_initialize. Separate initialize logic to stm32_bringup.c so that in initialization can occur either through board_initialize() or through board_app_initialize(). Same as with most other newer board configurations. 2017-04-09 10:16:05 -06:00
Gregory Nutt
2bfb284989 Add support for NuttX controlled LEDS and for board_initialize. Separate initialize logic to stm32_bringup.c so that in initialization can occur either through board_initialize() or through board_app_initialize(). Same as with most other newer board configurations. 2017-04-09 09:19:25 -06:00
Gregory Nutt
55b32430e1 Fix photon/nsh/defconfig, was turning on non-existent LED support when the configuration was refreshed. 2017-04-09 07:48:40 -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
51cd421ce7 Ieee802.15.4 MAC network driver. A little more logic (but still only partial). Add interface definitions to header file. 2017-04-08 19:11:57 -06:00
Gregory Nutt
d4e434278c Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-08 13:10:39 -06:00
Mark Schulte
35ca733108 pthread.h: Fix rwlock initializer 2017-04-08 12:34:08 -06:00
Gregory Nutt
94730f69d1 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-07 17:05:37 -06:00
Bob Ryan
3465f6be53 Disable serial console on stm32f103-minimum usbnsh example project config. Devices enumerate after this change. 2017-04-06 17:41:07 -07:00
Gregory Nutt
11ad71a2e6 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-06 10:01:02 -06:00
Gregory Nutt
869e3b5b73 sim/sixlowpan: Now support apps/examples/udpblaster too. 2017-04-06 09:36:57 -06:00
Simon Piriou
e5c4a28c3a photon: wlan support 2017-04-05 21:55:21 +02:00
Gregory Nutt
cdd3cb2201 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-05 13:18:52 -06:00
Gregory Nutt
b7c55660cb 6loWPAN: Correct more address manipulations. 2017-04-05 13:04:22 -06:00
Gregory Nutt
cb70ce7d3c 6loWPAN: Correct some IPv6 addresses and operations on IPv6 addresses. 2017-04-05 12:11:09 -06:00
Gregory Nutt
ca7040b7c1 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-03 15:28:46 -06:00
Gregory Nutt
7cb34d969d 6loWPAN: More fixes from early debug. 2017-04-03 15:25:36 -06:00
Gregory Nutt
2c06f8ab78 6loWPAN: Updates/fixes from early testing with the IEEE802.15.4 loopback driver. 2017-04-03 12:01:04 -06:00
Gregory Nutt
e9d831ac60 wireless/ieee802154: Add initialization logic for loopback driver; configs/sim: Add configuration for testing 6loWPAN; net/sixlowpan: Fix for compilation with debug output enabled. 2017-04-03 09:15:00 -06:00
Gregory Nutt
068ac948e1 sim: Add a configuration for testing 6loWPAN. 2017-04-03 08:46:16 -06:00
Gregory Nutt
0bf2931d5f Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-02 17:50:34 -06:00
Gregory Nutt
1b6630ee75 6loWPAN: Fix compile errors and warnings when building the complete 6loWPAN configuration. 2017-04-02 17:46:22 -06:00
Gregory Nutt
916bd80f9f Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-30 16:30:43 -06:00
Gregory Nutt
c3289afa9c Fix error in last update to a README 2017-03-30 12:29:19 -06:00
Gregory Nutt
0ded0f5866 Update README and comments 2017-03-30 08:43:07 -06:00
Jussi Kivilinna
dffb8a67e3 Add entropy pool and strong random number generator
Entropy pool gathers environmental noise from device drivers, user-space, etc., and returns good random numbers, suitable for cryptographic use. Based on entropy pool design from *BSDs and uses BLAKE2Xs algorithm for CSPRNG output.

Patch also adds /dev/urandom support for using entropy pool RNG and new 'getrandom' system call for getting randomness without file-descriptor usage (thus avoiding file-descriptor exhaustion attacks). The 'getrandom' interface is similar as 'getentropy' and 'getrandom' available on OpenBSD and Linux respectively.
2017-03-30 07:38:37 -06:00
Anthony Merlino
e7863aed73 configs/clicker2-stm32: Adds logic to create an 802.15.4 MAC and register a character driver 2017-03-29 14:09:27 -04:00
Gregory Nutt
3a4e8a5946 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-29 10:57:04 -06:00
Gregory Nutt
5fb222180c 6loWPAN: IEEE802.15.4 MAC driver will need a special form of the network device structure to manage fragmentation of the large packet into frames. 2017-03-29 10:17:34 -06:00
Sebastien Lorquet
28e74ec058 Nucleo L476RG: More naming fixes. 2017-03-29 07:16:27 -06:00
Gregory Nutt
4472ed246a Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-28 15:12:19 -06:00
Anthony Merlino
abab1e68a8 configs/clicker2-stm32: Fixes minor SPI configuration issues 2017-03-28 17:06:34 -04:00
Gregory Nutt
0fec3f9541 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-28 15:02:54 -06:00
Sebastien Lorquet
db8b38f848 STM32 L4: More SPI clean-up. Lower case replacements. 2017-03-28 08:58:43 -06:00
Sebastien Lorquet
9221e15811 STM32 L4: Fix some bad naming in the SPI driver. 2017-03-28 07:28:55 -06:00
Gregory Nutt
3fbf59e2bc MRF24J40: Take advantage of new OS features for interrupt parameter passing. 2017-03-27 10:48:58 -06:00
Gregory Nutt
77e4953fe3 Eliminate a 'make menuconfig' warning 2017-03-27 09:42:36 -06:00
Gregory Nutt
16c3ea1f53 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-27 09:21:48 -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
a3304d206e Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-26 15:47:16 -06:00
Gregory Nutt
7d57a2b2bd Trivial changes from review of last PR. 2017-03-25 10:38:41 -06:00
Mateusz Szafoni
c174074dd8 Merged in raiden00/nuttx (pull request #299)
Add COMP character driver

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-25 16:29:02 +00:00
raiden00pl
045f0edfac Merge remote-tracking branch 'upstream/master' 2017-03-25 17:12:11 +01:00
raiden00pl
645a11ce65 nucleo-f334r8: Use new COMP driver 2017-03-25 16:59:20 +01:00
Gregory Nutt
700d4e6580 Clicker2 STM32: NSH configuration does not need FAT support. 2017-03-25 07:23:19 -06:00
Gregory Nutt
dfb9fe9b67 Clicker2-STM32: Rename configuration to mrf24j40-radio. Update remove. Remove some bad settings in the defconfig file (like OTGFS host support). 2017-03-25 07:20:04 -06:00
Gregory Nutt
ac9fa3d710 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-25 07:01:20 -06:00
Gregory Nutt
b47e1888f5 Clicker2-STM32: Add usbnsh configuration. 2017-03-25 06:59:27 -06:00
Gregory Nutt
ebaed18be0 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-24 18:10:16 -06:00
Gregory Nutt
af85aca1aa Remove some whitespace at the end of some lines 2017-03-24 18:09:19 -06:00
Gregory Nutt
210ac0f77d configs/: Rename all xyz_wifi.c files to stm32_cc3000.c. 2017-03-24 18:06:03 -06:00
Gregory Nutt
3949ab38fd configs/: Rename all stm32_wireless.c files to stm32_cc3000.c. 2017-03-24 18:05:44 -06:00
Gregory Nutt
f48defee68 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-24 17:59:49 -06:00
Gregory Nutt
2506eb32a7 Fix a comment 2017-03-24 17:59:09 -06:00
Gregory Nutt
e77a511a13 configs/: Rename all xyz_wifi.c files to stm32_cc3000.c. 2017-03-24 17:30:58 -06:00
Gregory Nutt
532940ae56 configs/: Rename all stm32_wireless.c files to stm32_cc3000.c. 2017-03-24 17:21:28 -06:00
Gregory Nutt
e97a13ea90 MRF24J40/Clicker2: Add an MRF24J40 device configuration to the Clicker2 STM32 board. Fix a few errors discovered during build. 2017-03-24 13:49:40 -06:00
Gregory Nutt
c3990e1b7f Update README and some comments 2017-03-24 12:46:01 -06:00
Gregory Nutt
c12b066f14 Update README file 2017-03-24 12:11:31 -06:00
Gregory Nutt
b3f259e488 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-24 10:18:00 -06:00
Gregory Nutt
3a07455493 Trivial changes from review of last PR 2017-03-24 10:16:18 -06:00
Anthony Merlino
77b9f72083 configs/clicker2-stm32: Cleans up minor issues 2017-03-24 11:37:37 -04:00
Anthony Merlino
e826006818 configs/clicker2-stm32: Fixes missing semicolon on function prototype 2017-03-24 11:14:40 -04:00
Anthony Merlino
4a4805da88 configs/clicker2-stm32: Fixes issues with stm32_mrf24j40 2017-03-24 11:11:04 -04:00
Gregory Nutt
20b8ccd9d4 More updates to README.txt 2017-03-23 13:43:48 -06:00
Gregory Nutt
123a057be9 Update README 2017-03-23 11:43:32 -06:00
Gregory Nutt
2ec72c8f94 Clicker2-STM32: Add a README file 2017-03-23 11:17:43 -06:00
Gregory Nutt
56559c3330 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-23 07:54:46 -06:00
Gregory Nutt
9e4052e506 Clicker2-STM32: Add some mostly bogus MAC initializatinon logic. 2017-03-23 07:20:10 -06:00
Gregory Nutt
40a8ef3c00 Clicker2-STM32: Add logic to register the MRF24J40 radio character device. 2017-03-23 06:58:54 -06:00
Gregory Nutt
3fb0a00c35 Small changes from review of last PR. Plus spacing and typo fix. 2017-03-22 17:32:52 -06:00
Gregory Nutt
947acd6c1a Small changes from review of last PR 2017-03-22 15:53:12 -06:00
Gregory Nutt
22651dcae2 Clicker2-STM32: Add framework for MRF24J40 support. Untested and still some missing logic. 2017-03-22 15:20:05 -06:00
Gregory Nutt
4c6646ad5d Clicker2-STM32: Add definitions for remaining mikroBUS pins. 2017-03-22 13:28:16 -06:00
David S. Alessio
7f2c4c4274 XMC4xxx: Add FPU support 2017-03-22 12:04:32 -06:00
Gregory Nutt
6168d43c2c Clicker2 STM32: Add SPI support 2017-03-22 11:58:19 -06:00
Gregory Nutt
c4579e775a Fix some typos; Make sure some private functions have static storage class 2017-03-22 11:04:44 -06:00
Gregory Nutt
1f13b21f87 Clicker2-STM32: Fixes for a clean build 2017-03-22 10:02:26 -06:00
Gregory Nutt
571aad3cf1 Merge remote-tracking branch 'origin/master' into clicker2 2017-03-22 09:56:59 -06:00
Gregory Nutt
5861d9610c Clicker2-STM32: Add an NSH configuration 2017-03-22 09:46:17 -06:00
Gregory Nutt
3f4c4c36f6 clicker2-stm32: Add src/ directory 2017-03-22 09:33:26 -06:00
Gregory Nutt
cfa55cb1bc Clicker2: Add kernel and scripts directories. 2017-03-22 08:26:01 -06:00
Gregory Nutt
4af55cee6e README.txt edited online with Bitbucket 2017-03-22 00:55:44 +00:00
Gregory Nutt
6bc83dd53c Cosmetic changes from review of last PR. 2017-03-21 15:35:12 -06:00
Gregory Nutt
9919e33705 Trivial changes to comments. 2017-03-21 15:31:53 -06:00
Anthony Merlino
4c1d670c58 Merged in merlin17/nuttx/stm32-clicker2 (pull request #286)
WIP: Add support for Mikroelektronika Clicker 2 for STM32

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 21:29:41 +00:00
Anthony Merlino
3b5c6da014 WIP: Add support for Mikroelektronika Clicker 2 for STM32 2017-03-21 17:27:08 -04:00
Gregory Nutt
343f7ceab2 XMC4xxx: Misc clock clean-up; PBDIV should be controllable from board.h 2017-03-21 15:05:17 -06:00
Gregory Nutt
248c821730 Update a README file. 2017-03-21 12:30:48 -06:00
Gregory Nutt
21a626878a XMC4xxx: Clean up problems associated with USIC initialization. USIC still does not work in UART mode. 2017-03-21 10:55:52 -06:00
Gregory Nutt
1e9bc166d4 XMC4500 Relax: Add README.txt file. Fix some comments. 2017-03-21 10:02:23 -06:00
Gregory Nutt
4ba091933e XMC4xxx: Fix for early bringup problems 2017-03-20 16:31:35 -06:00
Gregory Nutt
e1f86f407f XMC4500-Relax: Add LED support. 2017-03-20 14:33:48 -06:00
Gregory Nutt
3a91ba5264 XMC4xxx: Plug last holes to get a first, clean build. 2017-03-20 13:46:02 -06:00
Gregory Nutt
985c137b78 XMC4xxx: Finishes system timer logic. 2017-03-20 13:20:31 -06:00
Gregory Nutt
8a3422f837 XMC4xxx: Complete lowputc logic 2017-03-20 11:25:51 -06:00
Gregory Nutt
e8a30890f2 Cosmetic changes from review of last PR. 2017-03-19 13:05:31 -06:00
raiden00pl
726fd224db nucleo-f334r8: Add COMP support 2017-03-19 18:46:20 +01:00
Gregory Nutt
59b9ef8fdc XMC4xxx: Revise configuration for USICs. Three USICs but 4 UARTs possible with each channel of USIC. 2017-03-19 11:10:31 -06:00
raiden00pl
8491cd65bc configs/nucleo_f334r8: add ADC example 2017-03-18 16:39:40 +01:00
Gregory Nutt
3f0c4871c8 Merge remote-tracking branch 'origin/master' into xmc4 2017-03-18 06:48:37 -06:00
Brian Webb
0a95536b85 Adds driver support for the XBox One controller. Currently only the latest version (XBox One X) controller works. The older XBox One controllers do not enumerate correctly. 2017-03-17 20:48:21 -07:00
Gregory Nutt
5693f26a5e XMC4xx: Fix several early compilation problems. 2017-03-16 11:30:02 -06:00
Gregory Nutt
fe610e7a1d XMC4500 Relax: Add basic board support infrastructure of Infineon XMC4500 Relax Lite v1 2017-03-16 10:52:01 -06:00
Gregory Nutt
66d001d0e1 XMC4xxx: Initial clock configuration logic. 2017-03-16 09:48:57 -06:00
Gregory Nutt
77f244ed7b XMC4xx: Add logic to get the CPU frequency. 2017-03-15 10:22:24 -06:00
Simon Piriou
bf9391a1fe photon: porting wlan device 2017-03-14 21:13:36 +01:00
Gregory Nutt
b808084e57 Move wireless IOCTLs from include/nuttx/net/ioctl to include/nuttx/wireless/wireless.h. Add some linux compatible structures to use with the IOCTL commands. 2017-03-13 09:51:31 -06:00
Simon Piriou
e10ce5ce51 Photon: add basic support for wlan chip 2017-03-12 16:57:59 +01:00
Gregory Nutt
9b11187b2a STM32 OTG HS: A little research reveals that only the F2 RCC initialization set the OTGHSULPIEN bit and Photon is the only F2 board configuration that uses OTG . Therefore, we can simplify the conditional logic of the last PR. Negative logic was used (#ifndef BOARD_DISABLE_USBOTG_HSULPI) to prevent bad settings in other configurations. But give these facts, the preferred positive logic now makes more sense (#ifdef BOARD_ENABLE_USBOTG_HSULPI). 2017-03-11 18:00:38 -06:00
Gregory Nutt
e0f7b9582a STM32: Review of last STM32 F2 PR. Progate changes to STM32 F4 and F7 OTGHS. Rename some configs/photon/src files. Naming can be either photon_ or stm32_ but must be consistent. 2017-03-11 16:31:11 -06:00
Simon Piriou
ef0fe50ae6 photon: add LEDs and BUTTONS support 2017-03-11 18:26:46 +01:00
Simon Piriou
70d8f0189d stm32f20xxx: add BOARD_DISABLE_USBOTG_HSULPI flag 2017-03-11 18:15:18 +01:00
Simon Piriou
f542e16847 photon: add usb otg hs support and usbnsh app 2017-03-11 14:19:22 +01:00
Simon Piriou
a1c0117103 photon: add iwdg timer support 2017-03-11 13:51:09 +01:00
Gregory Nutt
34ebdfe51c Update README 2017-03-10 17:20:15 -06:00
Gregory Nutt
644b2fabbc Costmetic changes from review of last PR 2017-03-10 13:11:53 -06:00
Simon Piriou
0198540532 configs: add Particle Photon board support 2017-03-10 19:39:21 +01:00
Gregory Nutt
d391f9d7d3 Update a README 2017-03-09 17:11:54 -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
110ae16af2 Remove all references to arch_usbhost_initialize(). That was incorrectly called from apps/examples/hidkbd. That is violation of the OS interfacing rules and will no longer be supported. USB host should be initialized as part of the board bring-up logic was with any other devices and should not involve illegal calls from applications into the OS. 2017-03-09 14:46:31 -06:00
Gregory Nutt
a3b4475474 STM32, STM32 F7, and STM32 L4: Back out part of 3331e9c49a. Returning immediately int he case of a NAK makes the Mass Storage Class driver unreliable. The retry/timeout logic is necessary. This implementation tries to implement a compromise: If a NAK is received after some data is received, then the partial data received is returned as with 3331e9c49a. If if a NAK is received with no data, then no longer returns the NAK error immediately but retries until data is received or a timeout occurs. Initial testing indicates that this fixes the issues the MSC. However, I hae concerns that if multiple sectors are read in one transfer, there could be NAKs between sectors as well and, in that case, then change will still cause failures. 2017-03-09 13:49:25 -06:00
Gregory Nutt
d49ea44df2 Olimex STM32 P407: USB host support for USB FLASH sticks is now supported in the base nsh configuration. 2017-03-09 13:00:00 -06:00
Gregory Nutt
a786e07033 Olimex-STM32-P407: Update USB host support. 2017-03-09 12:42:04 -06:00
Gregory Nutt
49974e21ef Fix some old pashello configurations broken in last refresh 2017-03-09 10:55:41 -06:00
Gregory Nutt
7463768775 Refresh all eZ80 and z8 configurations 2017-03-09 10:52:03 -06:00
Gregory Nutt
197ba3b527 EZ80F910200KITG: Missing support logic in configs/Kconfig 2017-03-09 10:50:46 -06:00
Gregory Nutt
b6fd8bc0f5 Refresh all ZNeo configurations 2017-03-09 10:42:29 -06:00
Gregory Nutt
b379764eb3 Refresh all x86 and Xtensa configurations 2017-03-09 10:38:36 -06:00
Gregory Nutt
8b1491948c Refresh all sim configurations 2017-03-09 10:36:54 -06:00
Gregory Nutt
d001722563 Refresh all RISC-V configurations 2017-03-09 10:34:10 -06:00
Gregory Nutt
0c878668b8 Refresh all Renesas configurations 2017-03-09 10:32:49 -06:00
Gregory Nutt
245e2fe42a Refresh all Misoc configurations 2017-03-09 10:31:47 -06:00
Gregory Nutt
8a960344b1 Refresh all HC configurations 2017-03-09 10:30:48 -06:00
Gregory Nutt
d7c0e49cb1 Refresh all AVR configurations 2017-03-09 10:29:32 -06:00
Gregory Nutt
9c68d59419 Refresh all MIPS configurations 2017-03-09 10:26:56 -06:00
Gregory Nutt
d0813aa0c5 Refresh all ARM configurations 2017-03-09 10:23:41 -06:00
David Sidrane
2700fd9e81 Kinetis:Allow Board to add Pullups on SDHC lines 2017-03-09 05:30:02 -10:00
Gregory Nutt
0a5ae18772 STM32F103 Minimum: Eliminate warning stm32_usbdev.o give twice in same rule. 2017-03-05 14:25:36 -06:00
Gregory Nutt
c368c67090 SAMA5D4-EK: Eliminate warning. Correct type of return value. 2017-03-05 14:20:11 -06:00
Gregory Nutt
d303627fe5 dk-tm4c129x: Remove warning for variable that is set but not used. 2017-03-05 14:17:13 -06:00
Gregory Nutt
51d3e36ad6 STM3210E-EVAL: Eliminte a warning. Return type of board_button_irq is now type int. 2017-03-05 14:12:03 -06:00
Gregory Nutt
b55a98e900 Olimex-STM32-P407: Enable task names 2017-03-04 08:49:24 -06:00
no1wudi
90a16ed9c7 fixed a typo 2017-03-04 14:38:22 +08:00
Gregory Nutt
ff20d22f66 SAMv7 Ethernet: Fix a return value type. 2017-03-03 19:16:48 -06:00
Gregory Nutt
a23230298d STM32L4476VG Discovery: stm32_buttons.c needs errno.h. 2017-03-03 16:05:34 -06:00
Gregory Nutt
f8ef544c34 K66 Buttons: Missing definition of 'ret' 2017-03-03 15:07:38 -06:00
Gregory Nutt
7a9a3bea2f stm32_gpiosetevent: GPIO IRQ function should not return the xcpt_t oldhandler. This value is useful and potentially dangerous by itself after the change to assocaite a argument with the interrupt handler. 2017-03-02 18:36:14 -06:00
Gregory Nutt
454164a88c stm32_gpiosetevent: GPIO IRQ function should not return the xcpt_t oldhandler. This value is useful and potentially dangerous by itself after the change to assocaite a argument with the interrupt handler. 2017-03-02 18:20:38 -06:00
Gregory Nutt
f4bad1a280 stm32_gpiosetevent: GPIO IRQ logic no longer returns the xcpt_t oldhandler. This value is useless and dangerous after the recent changes to interrupt argument passing. 2017-03-02 16:34:37 -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
0f46d714a9 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:10:37 -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
4a4636c8a1 Tiva: Pin 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 12:58:00 -06:00
Gregory Nutt
7982b45367 STM32 L4: Pin 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 12:36:40 -06:00
Gregory Nutt
32383556fd PIC32MZ: Pin 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 12:23:45 -06:00
Gregory Nutt
1564b384e1 PIC32MX: Pin 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 12:10:05 -06:00
Gregory Nutt
34a2839244 Kinetis GPIO: Pin 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 11:33:03 -06:00
Alan Carvalho de Assis
f1341dad9c Add support to USB Device on STM32F103-Minimum board 2017-03-02 09:36:05 -06:00
Gregory Nutt
f5f9d82d5a arch_phy_irq: Now returns int instead of xcpt_t oldhandler. The oldhandler is useless after the changes to the interrupt argument. Also access an argument for the PHY interrupt. phy_notify.c driver changed to exploit new interrupt argument passing. 2017-03-02 08:43:33 -06:00
Gregory Nutt
75446b349b configs/: All functions that used to return an xcpt_t old handler value, not return NULL. The oldhandler value is no longer useful with the recent changes to the interrupt argument passing. 2017-03-02 08:43:32 -06:00
Gregory Nutt
91920f6fc3 cc3200-launchpad: Remove unused prototypes for obsolete names of button interface function. 2017-03-02 08:43:31 -06:00
Maciej Wójcik
35b2448203 Merged in w8jcik/nuttx (pull request #232)
some simple typos

Approved-by: Gregory Nutt
2017-03-01 15:25:42 +00:00
Mark Schulte
335d02d7a7 STM32F4 Discovery: Fix irq handler to have void *arg 2017-03-01 09:00:01 -06:00
Mark Schulte
3af929a551 STM3210E EVAL: Fix button driver: use irq context 2017-03-01 08:58:58 -06:00
Mark Schulte
8277cf2cff STM3210E EVAL: Fix irq handler function type 2017-03-01 08:57:13 -06:00
Mark Schulte
585b1892c2 Olimexino STM32: Fix irq handler function signature 2017-03-01 08:55:26 -06:00
Mark Schulte
4761a7d816 Add argument to timer irq callback 2017-03-01 08:49:14 -06:00
Maciej Wójcik
4a8aa6ae95 typos 2017-03-01 12:56:15 +01:00
Gregory Nutt
192c41aa45 Fix another compiler issue found in build testing. 2017-02-28 14:14:32 -06:00
Gregory Nutt
aa0c05af85 Fix errors found in build testing. 2017-02-28 09:32:24 -06:00
Gregory Nutt
92d65294fb Olimex STM32 P407: Add button support 2017-02-28 08:31:57 -06:00
Gregory Nutt
704df7bd39 IRQ arguments: Fix errors discovered in build testing 2017-02-27 19:28:24 -06:00
Gregory Nutt
f700e7b241 Merge remote-tracking branch 'origin/master' into irqattach 2017-02-27 18:58:34 -06:00
David Sidrane
a6e0d5ed60 Kinetis:Use BOARD_xxxx to drive system clocking
1) Shifted the clock speed of MK20DX128VLH5 to 48 Mhz to be
      able to uses USB.
   2) Set BOARD_OUTDIV3 to 0 - there is no BOARD_OUTDIV3 on a
      MK20DX128VLH5 or K20DX256VLH7

   3) Added BOARD_SOPT2_PLLFLLSEL and BOARD_SOPT2_FREQ along with
      settings for BOARD_SIM_CLKDIV2_USBFRAC and
      BOARD_SIM_CLKDIV2_USBDIV base on the BOARD_SOPT2_FREQ.
2017-02-27 13:56:40 -10:00
Gregory Nutt
d9fec7fe4c More missing arguments to interrupt handling. 2017-02-27 14:26:04 -06:00
Gregory Nutt
67de2e5f66 Add argument to STM32 EXTI interrupt handlers. 2017-02-27 14:21:30 -06:00
Gregory Nutt
6002393b2d Fix some interrupt argument issues associated with NRF21L01 2017-02-27 12:06:15 -06:00
Gregory Nutt
a773f9412a STMPE811 driver needs argument in interrupt handler 2017-02-27 11:41:48 -06:00
Gregory Nutt
7e8e869352 Add more missing arguments to interrupt handling functions. 2017-02-27 11:14:21 -06:00
Gregory Nutt
b4ff7391f8 Convert more drivers to use use irq_attach with argument. 2017-02-27 10:44:13 -06:00
Gregory Nutt
97b9bb7fa5 SAMA5D4-EK: Add missing argument to interrupt handler. 2017-02-27 09:36:12 -06:00
Gregory Nutt
3129c7536e CC3000: Add interrupt argument to all CC3000 interrupts. 2017-02-27 09:23:50 -06:00
Gregory Nutt
e5be4f7fe2 Merge remote-tracking branch 'origin/master' into irqattach 2017-02-27 09:13:41 -06:00
Gregory Nutt
8ff7e5106d Teensy 3.x: Remove unused local definition that collides with a global definiion. 2017-02-27 09:13:10 -06:00
Gregory Nutt
8b06dc7ee9 Freedom K64F: Fix prototype of interrupt handler. 2017-02-27 09:10:56 -06:00
Gregory Nutt
2321560690 More missing argument paramters in interrupt handlers. 2017-02-27 08:06:07 -06:00
Gregory Nutt
2e30b9b252 More missing argument paramters in interrupt handlers. 2017-02-27 07:46:36 -06:00
Gregory Nutt
6e2ee2b07f Kinetis: GPIO interrupt handling needs handler argument. 2017-02-27 07:20:21 -06:00
Mark Schulte
b3222bbc8a irq_dispatch: Add argument pointer to irq_dispatch
Provide a user defined callback context for irq's, such that when
registering a callback users can provide a pointer that will get
passed back when the isr is called.
2017-02-27 06:27:56 -06:00
Alan Carvalho de Assis
0227de3e4d Explain how to use SDCard configuration in the README.txt 2017-02-26 14:53:00 -06:00
Alan Carvalho de Assis
adb32e31a0 Add SDCard support over SPI on STM32F103-Minimum board 2017-02-26 14:51:38 -06:00
raiden00pl
0188bc49ce Add Nucleo F334R8 board configuration 2017-02-26 12:42:43 +01:00
Gregory Nutt
c8018f2b09 Freedom K66F: Fix a compilation error. Was including the wrong chip.h 2017-02-25 12:11:15 -06:00
Alan Carvalho de Assis
84be223144 STM32: Add function prototype to eliminate a warning. 2017-02-25 11:56:15 -06:00
Gregory Nutt
90e63ba18e Purely cosmetic changes from review of last PR. 2017-02-25 11:43:05 -06:00
David Sidrane
38df949adc Merged in david_s5/nuttx/upstream_kinetis (pull request #221)
Kinetis:Add LPUART

Approved-by: Gregory Nutt
2017-02-25 17:23:04 +00:00
David Sidrane
0cbc03255c Kinetis:Add LPUART and Clock configuartaion to freedom-k66f board
Pin out LPUART0 for testing
   Define BOARD_SOPT2_PLLFLLSEL ti select MCGPLLCLK
   Define BOARD_SIM_CLKDIV3_FREQ etal to provide BOARD_LPUART0_FREQ
2017-02-25 07:05:34 -10:00
Gregory Nutt
de0e2ec261 STM32: Remove one residual use of the obsoleted STM32_TIM27_FREQUENCY definition which does not work for all STM32 family members. 2017-02-25 10:04:28 -06:00
Alan Carvalho de Assis
7a12cc3e56 STM32F4 Discovery: Update stm32f4discovery README.txt to instruct how to use QE 2017-02-24 07:10:07 -06:00
Alan Carvalho de Assis
8ca41b2d7a STM32F4 Discovery: Fix issues with QEncoder support 2017-02-24 07:04:58 -06:00
Gregory Nutt
bd538d22be twr-k64f120m: refresh configurations. DEBUG must be disabled in all base configurations. CONFIG_APPS_DIR must must be defined in defconfig files. 2017-02-23 16:10:31 -06:00
Gregory Nutt
38ca73758d Olimex STM32 p407: Add extrnal SRAM support. Unfortunately not usable or testable unless you also disable the serial console. 2017-02-23 13:27:36 -06:00
Gregory Nutt
207b4a3c68 Update README.txt 2017-02-23 11:02:06 -06:00
Gregory Nutt
d83422a00d Update README.txt 2017-02-23 10:57:21 -06:00
Gregory Nutt
402690e964 Backout the rotary configuration 2017-02-23 10:21:59 -06:00
Alan Carvalho de Assis
2b2114d819 Add support to QEncoder on STM32F103Minimum board 2017-02-23 09:31:28 -06:00
Gregory Nutt
4539988d00 Removed CONFIG_LIBC_ARCH_BZERO. bzero() is a deprecated interface. There are no architecture-specific replacements and, if there were, they should replace memset(), not bzero(). 2017-02-22 10:41:49 -06:00
Jussi Kivilinna
4dfb8268f3 stm32f7: stm32_allocateheap: allow use DTCM memory for heap
STM32F7 has up to 128KiB of DTCM memory that is currently left unused.

This patch adds DTCM to main heap if CONFIG_STM32F7_DTCMEXCLUDE is not enabled.
2017-02-20 08:42:51 -06:00
Gregory Nutt
0fc226dd53 Changes from review of last PR 2017-02-19 14:58:37 -06:00
Marc Rechté
1838171d43 Add twr-k64f120m config and fix some ENET related problems 2017-02-19 21:20:56 +01:00
Gregory Nutt
6e32d74b33 Cosmetic changes from review of the last PR 2017-02-19 11:49:42 -06:00
raiden00
d45b731fbd config/stm32f429i-disco: add support for the L3GD20 driver 2017-02-19 17:43:54 +01:00
Gregory Nutt
085616d651 STM32L4: Bring power management logic from Motrola MDK into NuttX 2017-02-18 10:18:42 -06:00
Gregory Nutt
6fe94b5724 Trivial cosmetic, alignement changes. 2017-02-17 17:50:56 -06:00
David Sidrane
7bb55330f2 Kinetis refreshed freedom-k64f netnsh config 2017-02-15 13:42:36 -10:00
David Sidrane
40c4e1c94d Kinetis refreshed freedom-k66f nsh config 2017-02-15 13:42:36 -10:00
David Sidrane
ec9fda4c8c Kinetis:Freedom-K66F uses ENET_1588_CLKIN as RMII clock 2017-02-15 13:42:36 -10:00
David Sidrane
acc8c4bf28 Kinetis: Define FTM3 Pins 2017-02-15 13:42:36 -10:00
Gregory Nutt
077adf863e Merge branch 'master' of bitbucket.org:nuttx/nuttx 2017-02-14 19:31:58 -06:00
Alan Carvalho de Assis
1b996f1c7c Add usbnsh config to Bambino 200E board 2017-02-14 19:31:39 -06:00
David Sidrane
81345c9d42 Kinetis: Updated Freedom-K66F Readme 2017-02-14 09:15:42 -10:00
David Sidrane
3fb6064efe Kinteis: Freedom-K66F refreshed config
Update Console to match README.txt
2017-02-14 09:15:42 -10:00
David Sidrane
82e93bb3f0 Kinetis: Map Freedom-K66F Ethernet pins 2017-02-14 09:15:23 -10:00
David Sidrane
f56e0a43a4 Inital commit of NXP Freedom-k66f development board 2017-02-13 14:35:51 -10:00
David Sidrane
3840c802d1 Kinetis SPI and I2C are 0 based
The K whole family line has max 4 or each. But the supported
  parts have the maximums listed below:

    K46 and K66    3 SPI SPI0-SPI2
    K46 and K66    4 I2C I2C0-I2C3
2017-02-13 13:24:47 -10:00
David Sidrane
067b51f5f1 freedom-64H Disable unsuported CONFIG_SDIO_BLOCKSETUP 2017-02-13 13:24:47 -10:00
David Sidrane
1cdac1e8e6 Fixed typos in k64f README.txt 2017-02-13 13:24:47 -10:00
Gregory Nutt
de1b68dc4e libc/Kconfig: Break big Kconfig up into separate Kconfig files in each libc subdirectory. 2017-02-10 09:32:55 -06:00
Alan Carvalho de Assis
e6e72bda02 Bambino-200E: Use .elf extension on all executables. 2017-02-09 11:37:52 -06:00
Gregory Nutt
1d290c2b37 setvbuf: Add support for disabling I/O buffering. Initially cut; untested. 2017-02-09 09:24:44 -06:00
Alan Carvalho de Assis
ea53894e51 Bamboo-200E: Add netnsh configuration 2017-02-08 12:55:40 -06:00
Gregory Nutt
e803e2c3f4 Costmetic changes from review of last PR. 2017-02-07 17:16:56 -06:00
David Sidrane
a065b087fd Added MCG settings that are defiend on the K64 Soc
Added BOARD_MCG_C2_FCFTRIM and BOARD_MCG_C2_LOCRE0 to
  configure the MCG_C2 register
  cleanup of some comments
2017-02-07 12:38:28 -10:00
David Sidrane
bbd9bf4180 Fixes illdefined BOARD_FR_DIV with BOARD_FRDIV from MCG
Original BOARD_FR_DIV was never used - that is a good thing because
  the value ws definec shifted and the code also shifited it.
2017-02-07 12:38:28 -10:00
Gregory Nutt
62a1f6f110 up_timer_initialize() is named incorrectly. The prefix should be the architecture name, not up_ since it is private to the architecture. up_timerisr() is similarly misnamed and should also be private since it is used only with the xyz_timerisr.c files. Also updat TODO list. 2017-02-07 10:35:04 -06:00
Gregory Nutt
b77c863d7f STM32F429i-DISCO: Refresh configurations 2017-01-31 17:13:15 -06:00
Gregory Nutt
3898fc0a16 STM32F429-DISCO: Move some board initialization logic that is not usuable because it lacks the configuration options to make it so 2017-01-31 17:06:54 -06:00
Gregory Nutt
1c66c06315 STM32F7 SDMMC: Make sure that all SDMMC configuration variables begin with STM32F7_; Eliminate CONFIG_SDMMC1/2_DMA altogether. Does not appear to be used. 2017-01-31 14:27:50 -06:00
Gregory Nutt
97482c9cdc STM32F103-Minimum: Fix a compile error. CONFIG_STM32_TICKLESS_ONESHOT_TIMER is only defined in TICKLESS mode. Somebody has been hand editing .config files. 2017-01-31 12:35:05 -06:00
Gregory Nutt
3dbdb3bb31 CONFIG_SDIO_DMA: Was been defined in several low-level architecute Kconfig files, but used at the highest levels in the code. Both are bad and both are fixed with this commit 2017-01-31 11:52:00 -06:00
Gregory Nutt
9ac00a355f Add capabilities() method to SDIO interface. Remove CONFIG_SDIO_WIDTH_D1_ONLY. That should not be a global propertie, but rather a capability/limitation of single slot when there may be multiple slots. 2017-01-31 09:16:01 -06:00
Gregory Nutt
4c39b68505 SAME70-Xplained: Clone some recent SAMV71-XULT changes 2017-01-30 14:10:22 -06:00