raiden00pl
4d9d3c4a9c
stm32_hrtim: cosmetics
2017-06-17 22:12:56 +02:00
raiden00pl
5e3360b8b9
stm32_hrtim: faults and events configuration
2017-06-17 21:56:11 +02:00
raiden00pl
bd7bee5db0
stm32_hrtim: structures for deadtime and chopper, cosmetics
2017-06-16 11:36:23 +02:00
raiden00pl
268c6d0b7d
stm32_hrtim: outputs enable, period and compare functions, cosmetics
2017-06-15 16:45:21 +02:00
raiden00pl
96d40dec40
stm32_hrtim: cosmetic
2017-06-15 11:20:40 +02:00
raiden00pl
f6ba4642a3
stm32_hrtim: GPIOs configuration + EEV and FAULT strucutres
2017-06-12 18:45:58 +02:00
Gregory Nutt
d35a060a41
Revert "MTD: Fix problems in SPI locking in mp25x.c driver. Same problem probably in exists in several other drivers that derive from this this driver as well."
...
This reverts commit 85645284b3
.
2017-06-12 07:23:06 -06:00
Gregory Nutt
ee7217be63
gethostbyname_r: Fix check for space in buffer.
2017-06-12 06:47:43 -06:00
Sebastien Lorquet
85645284b3
MTD: Fix problems in SPI locking in mp25x.c driver. Same problem probably in exists in several other drivers that derive from this this driver as well.
2017-06-12 06:38:27 -06:00
Gregory Nutt
f5f1c73b54
Based on the last PR, review all serial driver vector attachment. Found one additional error and updated all relevant drivers to current interrupt parameter passing.
2017-06-12 06:22:35 -06:00
Masayuki Ishikawa
0f19a18d75
Merged in masayuki2009/nuttx.nuttx/test_with_qemu (pull request #389 )
...
i.MX6: Fix a wrong parameter passed when calling irq_attach() in imx_serial.c
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-12 12:02:41 +00:00
Masayuki Ishikawa
93a2d52b56
i.MX6: Fix a wrong parameter passed when calling irq_attach() in imx_serial.c
2017-06-12 13:34:53 +09:00
Gregory Nutt
e6a8476382
Add some REVISIT comments.
2017-06-11 18:56:38 -06:00
Mateusz Szafoni
a5d9587806
Merged in raiden00/nuttx (pull request #388 )
...
stm32_hrtim: add character driver
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-11 19:49:32 +00:00
raiden00pl
fe7148dff0
nucleo-f334r8: cosmetics
2017-06-11 21:14:48 +02:00
raiden00pl
43e0c28acb
nucleo-f334r8: add HRTIM initialization
2017-06-11 20:52:43 +02:00
raiden00pl
de8cd6c870
stm32_hrtim: add character driver
2017-06-11 20:51:23 +02:00
Gregory Nutt
fe813545e8
STM32F33: Forgot to add new files that were a part of the last patch before committing.
2017-06-11 11:00:29 -06:00
Mateusz Szafoni
437ad3ccb2
STM32F33: Fix hrtim definitions, Add beginning of HRTIM driver
2017-06-11 10:49:20 -06:00
Gregory Nutt
40f60d6da5
Update to coding standard document and to a README file.
2017-06-11 10:01:14 -06:00
Alan Carvalho de Assis
b7ca90a721
stm32f103-minimum: Use separated read_ops for GPIO interrupt pins
2017-06-11 07:20:18 -06:00
Gregory Nutt
6e0ec04084
Update README
2017-06-10 17:54:16 -06:00
Gregory Nutt
2b8abbb3c6
configs: Add readme for B-L465E-IOT01A Development kit. This port is currently under consideration (but may not actually happen)
2017-06-10 08:58:47 -06:00
Alan Carvalho de Assis
fa2c7a694f
stm32f103-minimum: Fix a small BUG when reading from output pin. We need a different read_ops to read from output pin. This patch fixes the issue:
...
nsh> gpio -o 0 /dev/gpout1
Driver: /dev/gpout1
Output pin: Value=1
Writing: Value=0
Verify: Value=1
Now:
nsh> gpio -o 0 /dev/gpout1
Driver: /dev/gpout1
Output pin: Value=1
Writing: Value=0
Verify: Value=0
2017-06-09 15:09:03 -06:00
Jim Paris
db80696d21
vfs/poll: fix timeout calculation
2017-06-09 11:37:30 -06:00
Gregory Nutt
39d222ebcb
Update Coding Standard Document.
2017-06-09 11:34:01 -06:00
Gregory Nutt
d1f69822d8
Update Coding Standard Document.
2017-06-09 11:02:08 -06:00
Jim Paris
4504ca7c82
Whoops -- that #include <cxxabi.h> wasn't supposed to sneak in there. If present, it may already define a __cxxabiv1::__guard that we could use, but that file comes from libstdc++, and I don't think the NuttX buildroot-based toolchain would have that, which is why we need libxx in the first place.
2017-06-09 07:40:31 -06:00
Jim Paris
18289e17ce
Fix C++ __guard implementation for ARM. The standard C++ ABI that most platforms follow defines __guard to be 64 bits. The existing implementation of libxx_cxa_guard.cxx follows this. However, the 32-bit ARM C++ ABI defines it as 32 bits instead, and changes the meaning slightly so only the lowest bit is used. This matters because GCC creates guard symbols without regards to what libxx_cxa_guard.cxx says. So on ARM, gcc allocates 4 bytes, but __cxa_guard_release writes 8 bytes, zeroing out another unlucky variable nearby. Fix it by special-casing 32-bit ARM in libxx_cxa_guard.
2017-06-09 07:16:00 -06:00
Gregory Nutt
bf6709b887
configs/: Back out many of the changes in two recent commits: Too many changes from SPIDEV_WIRELESS to SPIDEV_CONTACTLESS. Specifically NRF24L01 should still be SPIDEV_WIRELESS.
2017-06-08 15:34:13 -06:00
Gregory Nutt
44b532e648
configs/: a few more places where SPIDEV_WIRELELSS should be SPIDEV_CONTACTLESS.
2017-06-08 14:42:31 -06:00
Gregory Nutt
1e5125c5d5
STM32L4: Remove some C++ style comments.
2017-06-08 13:43:47 -06:00
Gregory Nutt
30cbb3059f
Cosmetic: Removing trailing whitespace at the end of lines.
2017-06-08 13:12:08 -06:00
Alan Carvalho de Assis
04eefd7c8b
stm32f103-minimum: dd GPIO device driver example for STM32F103-Minimum. This chang adds the initialization needed by stm32f103-minimum board to support the NuttX GPIO Subsystem.
2017-06-08 11:23:46 -06:00
Nicolas Estibals
fb8cfe857e
configs/stm32f103-minumum SPI: SPIDEV_WIRELESS used when this has changed to SPIDEV_CONTACTLESS
2017-06-08 11:15:08 -06:00
Gregory Nutt
8b907c4c1f
STM32L4: Fix a typo
2017-06-08 11:07:20 -06:00
Gregory Nutt
d99ceec58c
STM32L4: Add STM32L475 pinmap. Initial cut is just the the L476 pinmap with unsupported devices removed.
2017-06-08 10:55:27 -06:00
Gregory Nutt
596fe68854
STM32L4: Add STM32L475 OTGFS header file. Not fully reviewed.
2017-06-08 10:34:26 -06:00
Gregory Nutt
95fcdff1fd
STM32L4: Add STM32L475 RCC definitions/logic.
2017-06-08 10:04:28 -06:00
Gregory Nutt
1a405d2881
STM32L4: Add L475 syscfg register definitions.
2017-06-08 09:07:04 -06:00
Gregory Nutt
66e2247f30
STM32L4: Ad support for the STM32L475 family. Incomplete -- still needs pinmap, rcc, otgfs, syscfg
2017-06-08 08:52:09 -06:00
David Sidrane
090fde15e4
Merged in david_s5/nuttx/upstream_kinetis_warn (pull request #386 )
...
Kinetis:Fixed waning for kinetis_mpudisable
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-07 01:21:11 +00:00
David Sidrane
4854eb1fd7
Kinetis:Fixed waning for kinetis_mpudisable
...
Missing header file added
2017-06-06 15:18:01 -10:00
David Sidrane
1ac07fd9a5
Merged in david_s5/nuttx/upstream_kinetis_usb (pull request #385 )
...
Upstream kinetis usb
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-07 00:51:00 +00:00
David Sidrane
36da2b91c5
Kinetis:USB-FS driver
...
Removed the notion of attached. The khci_usbattach is call early in
the init either in board_initalize or in board_app_initalize. In
either case it is always done prior to the the class register.
Therefore the khci_usbattach call only set a flag, and that
flag is only tested in the class register. The class register will
enable the soft connect pull up.
2017-06-06 14:39:00 -10:00
David Sidrane
182259921f
teensy-3.x:Refreshed config and made board self powered
2017-06-06 14:38:59 -10:00
David Sidrane
04a46d8d35
teensy-3.x:Refreshed config
2017-06-06 14:38:59 -10:00
David Sidrane
ad0cbd3f83
teensy-3.x:Removed call to khci_usbattach
...
The call is not need by the driver if CONFIG_USBDEV_BUSPOWERED=y
The class register will enable the soft connect pull up. The
khci_usbattach call only set a flag, and that flag is only tested
in the class register. On a USB powered device if we are running we
are attached.
2017-06-06 14:38:59 -10:00
David Sidrane
cb62675b5e
Kinetis:sim ensure isolation of clock dividers for 0 value case
...
This fixes a bug were a SoC does not have a clockdivN register
and passes a 0 for the init value. This prevents overflow of
the 0 decremented to -1 (0xffffffff) spilling over to other
clockdivN feilds.
2017-06-06 14:38:59 -10:00
David Sidrane
7581cad592
teensy-3.x:Refreshed config
2017-06-06 14:38:59 -10:00