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
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