David Sidrane
940fefeb8a
Fixed #if defined
2017-03-06 19:28:27 +00:00
Gregory Nutt
ba67eb742e
STM32L4: Remove warning. Remove unused variable.
2017-03-05 14:21:00 -06:00
Gregory Nutt
464a3cf27c
Kinetis: Eliminate warning when USE_EARLYSERIALINIT is not defined
2017-03-05 14:06:20 -06:00
Gregory Nutt
d3408809e4
sendfile(): Fix error introduced with commit ff73be870e
. Noted by Maciej Wójcik
2017-03-05 11:50:34 -06:00
raiden00pl
e9884216c5
stm32f33xxx: Add HRTIM header file
2017-03-05 18:10:59 +01:00
Gregory Nutt
810fe33c3c
STM32 F7 SDMMC: Use new interrupt argument facility.
2017-03-05 10:56:45 -06:00
raiden00pl
46d62b1e09
stm32f33xxx: Add ADC header file
2017-03-04 19:40:14 +01:00
raiden00pl
b866ea0dd0
stm32f33xxx_memorymap.h: Add COMP and OPAMP base adress
2017-03-04 19:36:56 +01:00
raiden00pl
a14ed630e8
stm32f33xxx: Add COMP header file
2017-03-04 19:35:17 +01:00
raiden00pl
da3dd1d69c
stm32f33xxx: Add OPAMP header file
2017-03-04 19:32:50 +01:00
raiden00pl
3e3a13b4b0
stm32f33xxx: Add DAC header file
2017-03-04 19:30:08 +01:00
raiden00pl
71b0127bc1
chip/stm32_dac.h: fix typo
2017-03-04 19:23:33 +01:00
HuangQi
6febad2f2c
fixed a typo
2017-03-04 11:26:22 +08:00
Gregory Nutt
d3c29a15d1
Remove unused variable warning.
2017-03-03 19:19:56 -06:00
Gregory Nutt
0f25b0a9f1
Correct a typo
2017-03-03 17:02:20 -06:00
Gregory Nutt
210896438c
Kinetis PIN IRQ needs errno.h
2017-03-03 15:30:16 -06:00
Gregory Nutt
7bb19ad8bc
STM32 Ethernet: Remove unused variable warning.
2017-03-03 15:24:00 -06:00
Gregory Nutt
8353ddbef4
STM32 L4 Serial: Ooops unmatched parenthesis
2017-03-03 15:18:09 -06:00
Gregory Nutt
9a33f41180
Kinetis PINIRQ: Improper type for return value.
2017-03-03 15:09:44 -06:00
Gregory Nutt
86239d4a73
Experimental change to STM32 Ethernet driver a success. Porting change to all other Ethernet drivers.
2017-03-03 14:45:09 -06:00
Gregory Nutt
fc5fca5145
Add MAX value definitions to go along with irq_t and irq_mapped_t
2017-03-03 11:48:20 -06:00
Gregory Nutt
e1218c4b4b
Smaller vector tables: Add irq_mapped_t.
2017-03-03 10:20:40 -06:00
Gregory Nutt
c2b620b4f8
Implements support for smaller interrupt tables as described at http://www.nuttx.org/doku.php?id=wiki:howtos:smallvectors . This is largely the work of Mark Schulte. However, I have made several changes to match with the Wiki document. If you like the change, thanks go to Marc. For any errors you can blame me.
2017-03-03 09:20:25 -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
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
edbc0eaace
Kinetis-L 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:55:26 -06:00
Gregory Nutt
c7943586d8
STM32 Ethernet: Need two work structures so that pending poll work is not lost when an interrupt occurs.
2017-03-02 11:40:12 -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
Gregory Nutt
28d3344ac2
STM32/F7/L4: EXTI ALARM function no longer returns the xcpt_t oldhandler. There value is useless and dangerous after the recent changes to interrupt argument passing.
2017-03-02 09:18:10 -06:00
Gregory Nutt
d5e04a8c43
STM3 L4: EXTI COMP function no longer returns the xcpt_t oldhandler. There value is useless and dangerous after the recent changes to interrupt argument passing.
2017-03-02 09:03:12 -06:00
Gregory Nutt
89058172f1
STM32/F7/L4: EXOT PVD function no longer returns the xcpt_t oldhandler. There value is useless and dangerous after the recent changes to interrupt argument passing.
2017-03-02 08:56:31 -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
094795e0ed
Review parameter usage in sigtimedwait(); update some comments.
2017-03-02 06:39:05 -06:00
Mark Schulte
df0a05c682
Fix function signature for irq handler
2017-03-01 08:54:16 -06:00
Mark Schulte
9d22f5df35
Add argument to timer irq callback
2017-03-01 08:51:15 -06:00
Mark Schulte
4761a7d816
Add argument to timer irq callback
2017-03-01 08:49:14 -06:00
Mark Schulte
27c3c2605c
Add argument to capture irq callback
2017-03-01 08:45:27 -06:00
Gregory Nutt
5987db47e5
Changes from review of last PR
2017-02-28 18:42:21 -06:00
David Sidrane
7c726e43a5
Merged in david_s5/nuttx/upstream_stm32f7_irqfixes (pull request #229 )
...
More build fiexes stm32f7 irqfixes
Approved-by: Gregory Nutt
2017-03-01 00:38:03 +00:00
Gregory Nutt
ac6e552ff7
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:37:44 -06:00
David Sidrane
2ee99c9d4e
STM32F7:stm32_tim irq fixes
2017-02-28 14:29:06 -10:00
Gregory Nutt
ded155c638
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:22:58 -06:00
Gregory Nutt
02b1e1ec1a
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:22:57 -06:00
David Sidrane
964a1abada
stm32f7:stm32_sdmmc irq fixes
2017-02-28 14:20:45 -10:00
David Sidrane
30c5e78d8f
stm32f7:stm32_exti_pwr irq fixes
2017-02-28 14:20:19 -10:00
David Sidrane
ead561d684
Kinetis:kinetis_lpserial.c irq fix typeo
2017-02-28 23:12:56 +00:00
Gregory Nutt
274d367984
Fix another compile problem found in build testing.
2017-02-28 16:25:21 -06:00
Gregory Nutt
095411859e
Fix another old interrupt handler function prototype
2017-02-28 14:00:31 -06:00
Gregory Nutt
fc79762e11
Fix a warning due to a naming collision
2017-02-28 13:36:56 -06:00
Gregory Nutt
70182bf690
Fix more problems found in build testing.
2017-02-28 11:34:03 -06:00
Gregory Nutt
1c8d3e1f14
STM32 F7: Fix errors related to GPIO EXTI
2017-02-28 11:30:54 -06:00
Gregory Nutt
a19b39a9e3
EFM32 Serial: Convert to use new interrupt argument interface.
2017-02-28 11:24:06 -06:00
Gregory Nutt
ac7307cca0
Trivial, cosmetic changes from review.
2017-02-28 11:11:11 -06:00
David Sidrane
d75dfcfb4b
Merged in david_s5/nuttx/upstream_irqfixes (pull request #227 )
...
STM32 irqfixes found in build testing
Approved-by: Gregory Nutt
2017-02-28 17:08:21 +00:00
David Sidrane
c8ac29574b
STM32:stm32_wwd Fixed irq interface
2017-02-28 07:04:47 -10:00
David Sidrane
6443aec36b
STM32:stm32_sdio Fixed irq interface
2017-02-28 07:04:34 -10:00
Gregory Nutt
813dc90505
STM32 L4 Serial: Convert to use new interrupt argument interface.
2017-02-28 11:02:09 -06:00
Gregory Nutt
61639c1aa3
STM32 F7 Serial: Convert to use new interrupt argument interface.
2017-02-28 10:58:22 -06:00
Gregory Nutt
17af125390
STM32 Serial: Convert to use new interrupt argument interface.
2017-02-28 10:54:31 -06:00
Gregory Nutt
dc93340a01
Convert more drivers to use new interrupt argument structure.
2017-02-28 09:29:09 -06:00
Gregory Nutt
370e188fa3
Convert more drivers to use new interrupt argument structure.
2017-02-28 09:05:01 -06:00
Gregory Nutt
ea1e6abfd7
Fix error found in build testing.
2017-02-28 08:41:44 -06:00
Gregory Nutt
7d24f45c7e
STM32 1wire: Convert to use new interrupt argument infrastructure.
2017-02-28 08:39:02 -06:00
Gregory Nutt
efd11ebe35
Fixes from build testing
2017-02-28 08:33:52 -06:00
Gregory Nutt
c62180732e
Adapt more drivers to utilize the IRQ argument feature.
2017-02-28 07:19:55 -06:00
Gregory Nutt
7d2d541c70
Adapt some drivers to utilize the IRQ argument feature.
2017-02-27 20:54:18 -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
d4963c2580
Merged in david_s5/nuttx/upstream_upstream_kinetis_usb (pull request #226 )
...
kinetis usb clean up
Approved-by: Gregory Nutt
2017-02-28 00:54:04 +00:00
David Sidrane
0b637ddfb3
Kinetis:Define uart and lpuart versions of [early]serialinit
...
Add serial init to centralize UART/LPUART management
Use kinetis_ not up_ where arch specific
Defined kinetis_[lp]uart_[early]serialinit to facilitate
bring up both UARTs and LPUARTs as devices and a console
Support ordering and merging of serial devices names.
2017-02-27 14:27:31 -10:00
David Sidrane
d0c58fffb3
Kinetis:Refactor clocking in kinetis_usbdev
...
1) Removed SIM_CLKDIV2[USBFRAC, USBDIV] setting as it is now
done in kinetis_clockconfig
2) Use BOARD_USB_CLKSRC to select the clock source to the
USB block
3) Removed warning
4) Removed CONFIG_TEENSY_3X_OVERCLOCK from the driver as
the board.h will now provide BOARD_SIM_CLKDIV2_USBDIV
and BOARD_SIM_CLKDIV2_USBFRAC to the kinetis_clockconfig
2017-02-27 13:13:24 -10:00
David Sidrane
1c518b223d
Kinetis:Add the configuring SIM_CLKDIV2[USBFRAC, USBDIV] in kinetis_clockconfig
...
If a board.h provides BOARD_SIM_CLKDIV2_FREQ it will configure the
SIM_CLKDIV2 based on the additional provided
BOARD_SIM_CLKDIV2_USBFRAC and BOARD_SIM_CLKDIV2_USBDIV
The reason for doing this globaly is that the output the
SIM_CLKDIV2 divisor may be also used for other IP blocks in
future configurations (as is done for SIM_CLKDIV3)
2017-02-27 13:06:01 -10:00
David Sidrane
b9dcedf289
Kinetis:Fixed unused warning
2017-02-27 11:22:49 -10:00
David Sidrane
4bdf732fc7
Kinetis:Fixed kinetis_uartreset call in kinetis_lpserial.c
2017-02-27 11:22:49 -10:00
Gregory Nutt
95856946d2
Interrupt argument bugfixes
2017-02-27 15:22:35 -06:00
Gregory Nutt
80dba27434
Fix copy past type: xcptr_t -> xcpt_t
2017-02-27 15:00:42 -06:00
Gregory Nutt
2ef4433220
Missing interrupt argument parameter.
2017-02-27 14:53:37 -06:00
Gregory Nutt
44abbe60aa
Fix typo in name of callback field.
2017-02-27 14:51:29 -06:00
Gregory Nutt
aa8d4422a5
Fix some mismatched function prototypes
2017-02-27 14:43:10 -06: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
David Sidrane
3ae4183971
Kinetis:Fixed C&P of stm32 on kinetis_fpuconfig
2017-02-27 09:12:39 -10:00
David Sidrane
ddb00217be
Kinetis:Fixed up_rxint - did not disable the RX interuppts
...
There was an OR where and AND NOT was needed.
2017-02-27 07:19:19 -10:00
Gregory Nutt
7e8e869352
Add more missing arguments to interrupt handling functions.
2017-02-27 11:14:21 -06:00
Gregory Nutt
6a3add7230
STM32 TIM: Correct function prototype.
2017-02-27 11:03:10 -06:00
Gregory Nutt
a581e9206d
Convert remaining serial drivers to use use irq_attach.
2017-02-27 10:27:14 -06:00
Gregory Nutt
e5be4f7fe2
Merge remote-tracking branch 'origin/master' into irqattach
2017-02-27 09:13:41 -06:00
Gregory Nutt
221c94e568
Fix typo from a previouis commit
2017-02-27 08:57:21 -06:00
Gregory Nutt
4cd31be19d
Convert some serial drivers to use use irq_attach.
2017-02-27 08:55:21 -06:00
Gregory Nutt
b651e73057
STM32: Fix mismatched prototype
2017-02-27 08:18:37 -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
70532f6548
Kinetis: More needed in last pinirq change.
2017-02-27 07:24:57 -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
Gregory Nutt
433ed93aa0
Add some comments.
2017-02-27 06:25:31 -06:00