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