Commit Graph

10243 Commits

Author SHA1 Message Date
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