Gregory Nutt
df31cf1db8
stm32: configure PLLSAI clock to enable ltdc register access
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 13:30:58 -06:00
Gregory Nutt
3385fe60cf
stm32: Add missing clut register definition
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 13:28:42 -06:00
Gregory Nutt
e9074c8a44
stm32: rename CFBLR register name to the name used in the reference manual
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 13:26:04 -06:00
Gregory Nutt
f181dcef29
stm32: rename PLLSAI register name to this one in the reference manual
...
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 13:21:39 -06:00
Gregory Nutt
f284c5cab2
Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg()
2014-12-16 09:54:32 -06:00
Gregory Nutt
a574a3cc8a
STM32 LTDC: Fix a typo in conditional compilation
2014-12-13 07:45:42 -06:00
Gregory Nutt
f8592281a7
STM32 OTG HS DEV (in FS mode): Disable ULPI clock enable in RCC AHB1 Register. If Both ULPI and the FS clock enable bits are set in FS mode, then the ARM never awakens froom WFI due to a chip issue. From Ken Pettit
2014-12-13 07:44:13 -06:00
Gregory Nutt
dd3d417aed
STM32 OTGHS Device: Fix for OTGHS core working in FS mode. From Ken Pettit
2014-12-12 07:43:32 -06:00
Gregory Nutt
cb9e3c2bb9
Set the GPIO_SPEED_50MHz on all F2 and F4 SPI pin configurations. This is based on an F411 SPI1 errata but the fixed is generalized to all SPI and all F2 and F4 (let me know if this introduces any other issues). Discovered and fixed by Sebastien Lorquet after much consternation.
2014-12-08 09:51:52 -06:00
Gregory Nutt
6d7106424e
STM32: Add MCO configuration for the STM32L1xx. From Jussi Kivilinna
2014-12-02 10:19:37 -06:00
Gregory Nutt
13de352dcd
STM32L15: Fix typo in MCO pin definition. From Jussi Kivilinna
2014-12-02 10:18:02 -06:00
Gregory Nutt
f94052de26
Update comments
2014-11-29 15:28:28 -06:00
Gregory Nutt
eace825e3b
STM32 F4 I2C: Port Tridge's I2C noise resiliance logic from the PX4 repository.
2014-11-29 13:37:45 -06:00
Gregory Nutt
0d50608eae
Fix one warning. There are a couple of others that look like real problems
2014-11-28 11:49:24 -06:00
Gregory Nutt
3d55cd82ee
Forgot too add file before last commit
2014-11-27 06:14:09 -06:00
Gregory Nutt
0ad88d9664
Enable support for STM32F102. https://github.com/PX4/NuttX/pull/28.diff
2014-11-27 06:12:35 -06:00
Gregory Nutt
727a7c9e40
Fixes for more issues found by cppcheck
2014-11-24 17:00:26 -06:00
Gregory Nutt
184ebdf191
STM32 F4 OTGHS device controller driver from Brennan Ashton
2014-11-20 07:19:04 -06:00
Gregory Nutt
2330c9c842
Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU is all MCU Ethernet drivers
2014-11-16 08:10:06 -06:00
Gregory Nutt
bf984b2b3a
Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday
2014-11-15 08:22:51 -06:00
Gregory Nutt
e69e2767ad
Correct a typo in the STM32 OTGFS register bit definitions
2014-11-13 10:43:54 -06:00
Gregory Nutt
dc16ffe11a
Fix a typo in an I2C header file. From Jahu Niskanen
2014-11-11 07:12:16 -06:00
Gregory Nutt
c65372b80c
Support for the STM32F103RG. From Murilo Ponte
2014-11-10 07:48:46 -06:00
Gregory Nutt
5ebc472f43
STM32 Serial: Don't compile up_earlyserialinit() if USE_EARLYSERIALINIT is not define. Otherwise, a macro definition clobbers the function definition
2014-10-28 06:58:37 -06:00
Gregory Nutt
60d2547cd7
Move selection for CONFIG_SERIAL_TERMIOS out of MCU Kconfigs to common drivers/serial/Kconfig. Add CONFIG_ARCH_HAVE_SERIAL_TERMIOS to indicate if an MCU supports TERMIOS
2014-10-27 11:31:16 -06:00
Gregory Nutt
800826ac64
Add framework for EFM32 DMA support -- no logic in place yet
2014-10-24 17:59:13 -06:00
Gregory Nutt
2763da5ddd
EFM32: Add IDLE power management hooks. Nothing implemented; just define the hooks
2014-10-22 07:26:31 -06:00
Gregory Nutt
94270a0229
Add ADC pinmap definitions for the STM32 F103R from Lederhilger Martin
2014-10-21 06:48:16 -06:00
Gregory Nutt
d2cf8395f9
stm32: rename spi frame format definition
...
This renames the stm32 spi frame format definition to the short description
name as well as the other cr2 register flags.
Note! STM32_SPI3_FRF was never used by nuttx somewhere
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:12:59 -06:00
Gregory Nutt
0aea891272
Enable selection of SPI2 for STM32L15XX in Kconfig. From Jussi Kivilinna
2014-10-16 07:03:23 -06:00
Gregory Nutt
26b42e3f57
Minor update to last Kconfig change
2014-10-15 12:33:37 -06:00
Gregory Nutt
e73b64f5ea
Add Kconfig selections for STM32-F4x1RE SPI peripheral
2014-10-15 12:22:04 -06:00
Gregory Nutt
a835387529
Fix file mode on modified files
2014-10-14 15:45:56 -06:00
Gregory Nutt
56841b9e20
Support for the STM32 F411RE from Serg Podtynnyi
2014-10-14 15:42:28 -06:00
Gregory Nutt
7012d13e95
Cosmetic changes to comments
2014-10-10 16:54:47 -06:00
Gregory Nutt
85c75a39b0
Fix a few typos
2014-10-10 11:41:40 -06:00
Gregory Nutt
abc90f0e50
Fix watchdog stop bit usage. From Lazlo
2014-10-10 11:36:50 -06:00
Gregory Nutt
1b1daeb7ef
Correct STM32 RTC EXTI bit definition. From Lazlo
2014-10-09 06:25:07 -06:00
Gregory Nutt
db9901e2f9
Update everything under nuttx/arch to use the corrected syslog interfaces
2014-10-08 12:48:47 -06:00
Gregory Nutt
6ab29cbef9
Remove non-functional vestiges of OTGHS in FS mode (including OTGFS2); try to convert the stm32f429i-disco configuration to use OTGHS instead of OTFHS in FS mode (OTGFS2). But I don't have the boards and can't test
2014-10-07 15:25:31 -06:00
Gregory Nutt
6023219078
Integrates OTGHS support into the STM32; Eliminates the older OTGHS in FS mode logic. From Brennan Ashton
2014-10-07 15:05:30 -06:00
Gregory Nutt
362736b377
Add files that implement true high speed support for the STM32 OTGHS peripheral. From Brennan Ashton
2014-10-07 15:01:42 -06:00
Gregory Nutt
7e9c8b5926
STM32 CAN correction suggested by Max Holtzberg
2014-09-24 08:23:05 -06:00
Gregory Nutt
238e18cc0a
Move include/nuttx/mm.h to include/nuttx/mm/mm.h
2014-09-24 07:29:09 -06:00
Gregory Nutt
1ca6adadfa
More naming changes to get the stm3240g-eval/nxterm configuration building again
2014-09-20 15:53:28 -06:00
Gregory Nutt
52a1f19023
Fixes to avoid some hang conditions using STM32 CAN
2014-09-17 08:35:03 -06:00
Gregory Nutt
442d2adb7a
Fix for UART7 and UART8 on STM32 clock enable from Aton
2014-09-11 10:27:40 -06:00
Gregory Nutt
31b8137956
There used to be two ways to pass parameters to new tasks, depending upon the configuration: Either (1) argv[] as created as an array with each string strdup'ed. Or (1) argv[] array and strings were created on the stack before the new task was started. Now, there is only one way, way (1). Way (2) might be slightly more compact, but this is not worth carry the complexity of two different ways of doing the same thing.
2014-09-01 15:39:34 -06:00
Gregory Nutt
ec086adfae
Reanem kzalloc to kmm_zalloc for consistency
2014-08-31 17:34:44 -06:00
Gregory Nutt
10ca085b09
Rename kmalloc to kmm_malloc for consistency
2014-08-31 17:26:36 -06:00
Gregory Nutt
fcd7b9336e
Rename kfree to kmm_free for consistency with other naming conventions
2014-08-31 17:04:02 -06:00
Gregory Nutt
10aa9ad087
Remove CONFIG_MM_MULTIHEAP. Non-multiheap operation is no longer supported
2014-08-31 10:54:55 -06:00
Gregory Nutt
729bc9f9a7
Various changes/fixes to get configs/stm32f4discovery/kostest working after the big configuration renaming (and after a long period of bit rot)
2014-08-29 16:23:46 -06:00
Gregory Nutt
e11679acf8
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
2014-08-29 14:47:22 -06:00
Gregory Nutt
9be4972862
STM32 FLASH fixes: use size_t instead of uint16_t, make interface more generic. From Freddie Chopin
2014-08-28 09:11:20 -06:00
Gregory Nutt
01566dd322
STM32 serial: MAke uart_devs[] const. From Freddie Chopin
2014-08-22 16:20:52 -06:00
Gregory Nutt
52b3735310
Recent STM32 UART change: Wasn't that logic backward? Shouldn't that have been disable the USART if (1) we don't have than many USARTs OR (2) we don't have that particular USART -- not AND.
2014-08-22 16:16:23 -06:00
Gregory Nutt
033de28cfa
STM32 F401: Correct support for USART6 on this chip. From Freddie Chopin
2014-08-22 06:49:16 -06:00
Gregory Nutt
2bc16b2ba5
wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide.
2014-08-21 11:16:55 -06:00
Gregory Nutt
754541a381
Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires
2014-08-17 16:51:56 -06:00
Gregory Nutt
2fab4eaa5a
In order to get PHY interrupts, they must be enabled at the PHY (still don't get PHY interrupts)
2014-08-17 13:03:18 -06:00
Gregory Nutt
4c90c03028
Use the device name assigned by the registration process, not our best guess
2014-08-16 15:14:39 -06:00
Gregory Nutt
8f6f564971
More of the PHY event notification logic change: Fix some compile errors when full feature is enabled; Add some missing ioctol logic
2014-08-16 15:04:09 -06:00
Gregory Nutt
85070e057e
Modified to support the change to the network ioctl signature changes. Also add support for new ioctl to setup PHY event notifications.
2014-08-16 14:08:58 -06:00
Gregory Nutt
6455f60c60
Remove os_internal.h it has been replace by several new header files under sched/. There have been some sneak inclusion paths via os_internal.h, so expect a few compilation errors for some architectures
2014-08-08 18:39:28 -06:00
Gregory Nutt
4dc151097e
Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h
2014-08-08 17:53:55 -06:00
Gregory Nutt
1c99d53bb1
Move clock functions from sched/ to sched/clock
2014-08-08 14:43:02 -06:00
Gregory Nutt
39183d37b8
Change all time conversions. Yech. New timer units in microseconds breaks all existing logic that used milliseconds in the conversions. Something likely got broken doing this, probably because I confused a MSEC2TICK conversion with a TICK2MSEC conversion. Also, the tickless OS no appears fully functional and passes the OS test on the simulator with no errors
2014-08-07 18:00:38 -06:00
Gregory Nutt
594083d870
Rename up_timerinit() to up_timer_initailize(); Add prototypes for candidate interfaces for the tickless OS; Don't build existing timer initialization logic if CONFIG_SCHED_TICKLESS is defined.
2014-08-06 16:26:01 -06:00
Gregory Nutt
d57c3b4e82
Update ChangeLog
2014-07-22 07:25:01 -06:00
Gregory Nutt
45c03e5a1a
STM32 OTGFS device: Various changes to try to reduce that amount of time in interrupts handles and with interrupts disbled. Needs verification on other platforms. From Petteri Aimonen
2014-07-22 07:23:17 -06:00
Gregory Nutt
615b7d6c7a
Fix typos in the STM32 DAC header file. From Petteri Aimonen
2014-07-22 07:13:33 -06:00
Gregory Nutt
d7fe256821
NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed.
2014-07-04 19:13:08 -06:00
Gregory Nutt
99ce3a44d7
Remove all inclusion of uip.h
2014-07-04 16:58:22 -06:00
Gregory Nutt
11e3a21411
NET: More renaming
2014-07-04 15:40:49 -06:00
Gregory Nutt
68f83f973e
CCM PROCFS: Changed the configuration a bit. I am still not happy about the coupling between procfs, mtd, and now STM32
2014-07-03 08:50:24 -06:00
Gregory Nutt
954048b8e9
Add STM32 CCM heep procfs
2014-07-03 08:18:24 -06:00
Gregory Nutt
313982ba18
NET: Rename XYZ_uiptxpoll to just XYZ_txpoll
2014-07-01 18:41:08 -06:00
Gregory Nutt
621ec21bfd
Rename uip_poll->devif_poll and uip_timer->devif_timer
2014-06-30 18:40:41 -06:00
Gregory Nutt
ade8807a61
Rename uip_input to devif_input
2014-06-30 18:11:17 -06:00
Gregory Nutt
3010eddf11
STM32: Add configuration support fort he STM32F103RC. From Kosma Moczek
2014-06-30 08:16:17 -06:00
Gregory Nutt
ed02593af7
STM32: Reorder MCUs in choice menu; remove duplicates. From Kosma Moczek
2014-06-30 08:13:12 -06:00
Gregory Nutt
48e6f0ba78
STM32: Move temperature ranges from chip selection configuration prompts. From Kosma Moczek
2014-06-30 08:09:19 -06:00
Gregory Nutt
bfff6190d0
Unconfigure GPIO pins when closing a serial port to prevent back effects from back-powering on the TX pin. From Kosma Moczek
2014-06-30 08:02:26 -06:00
Gregory Nutt
a095b1b260
Make variable definitions 'static const' when possible to save RAM usage. From Kosma Moczek
2014-06-30 07:39:51 -06:00
Gregory Nutt
e4990dda4d
Rename uip_driver_s net_driver_s
2014-06-27 16:48:12 -06:00
Gregory Nutt
f8e5e82402
Add support for a network device IOCTL to access PHY registers. Ioctls only implemented for STM32. From Lazlo
2014-06-27 09:30:41 -06:00
Gregory Nutt
fd7b06c68e
STM32 I2C reset. Add missing GPIO configuration. From Alex D
2014-06-25 16:08:31 -06:00
Gregory Nutt
ff97ad1245
Clean-up packet socket naming
2014-06-25 10:34:52 -06:00
Gregory Nutt
57383ea2f3
Rename ip_eth_hdr to eth_hdr_s
2014-06-25 09:57:52 -06:00
Gregory Nutt
11896e1481
Move the remaining files from include/nuttx/net/uip to include/nuttx/net; Rename *_internal.h header files in net/ to just *.h
2014-06-24 10:14:15 -06:00
Gregory Nutt
b34a1f1e01
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/netdev.h
2014-06-24 09:28:44 -06:00
Gregory Nutt
a2cb59cab8
First check-in of Lazlo's PF_PACKET 'raw' socket implementation
2014-06-12 11:52:06 -06:00
Gregory Nutt
a23245781a
STM32: Handle setting of USART CR1_M when 8 bits of data plus parity
2014-06-11 15:49:54 -06:00
Gregory Nutt
348e666278
STM32: Expicitly include header file files. From Freddie Chopin
2014-06-10 15:49:48 -06:00
Gregory Nutt
407e72b300
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_
2014-05-30 12:13:06 -06:00
Gregory Nutt
b3abd30a76
Cosmetic changes
2014-05-28 14:09:58 -06:00
Gregory Nutt
3feabec7d5
STM32 RTC: Add retry to initialization logic. Sometime RTC initialization takes longer. From dlsitzer.
2014-05-27 07:10:53 -06:00
Gregory Nutt
c68f9477cf
Back out PX4 fixes that were reverted in PX4 repository
2014-05-25 07:53:00 -06:00
Gregory Nutt
5d3479bbec
STM32 I2C: Final fixes from Max Kriegleder et al.
2014-05-23 08:42:14 -06:00