Commit Graph

10114 Commits

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