Commit Graph

4121 Commits

Author SHA1 Message Date
Juha Niskanen
3d32eb9465 tm32_adc: Add STM32L152XX ADC support
Porting from Thingsee OS.

Credits: Dmitry Nikolaev wrote most of the code, Teemu Pirinen from Offcode Ltd.
contributed support for changing single shot adc channel, minor tweeks by
Jussi Kivilinna and Juha Niskanen

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>

Includes additional changes from review.
2015-07-29 08:34:27 -06:00
Gregory Nutt
032c237865 Minor modifications from review of previous commits 2015-07-29 08:34:01 -06:00
Gregory Nutt
90ac233e09 Minor modifications from review of previous changes 2015-07-29 08:32:23 -06:00
Juha Niskanen
ddc93995a0 chip/stm32_adc.h: Add defines for STM32L152XX ADC support
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2015-07-29 07:38:29 -06:00
Juha Niskanen
f4812bfbf9 stm32/chip: Add some STM32L15XX support bits (from Thingsee)
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2015-07-29 07:36:21 -06:00
Gregory Nutt
eddf8161a5 Add scheduler resume/suspend calls to all implementations of up_release_pending() 2015-07-26 10:13:29 -06:00
Gregory Nutt
37969b8279 Add scheduler resume/suspend calls to all implementations of up_reprioritize_rtr() 2015-07-26 09:46:28 -06:00
Gregory Nutt
838c5355eb Correct resume scheduler hooks and add suspend scheduler hooks to all implementations of up_unblock_task 2015-07-26 09:07:47 -06:00
Gregory Nutt
a92c0a10ab Add scheduler resume/suspend calls in all implementations of up_block_task() 2015-07-26 08:31:23 -06:00
Gregory Nutt
9d98177daa Add logic to reset the replenish the sporadic scheduler when a task is resumed 2015-07-24 09:54:28 -06:00
Gregory Nutt
39192c3537 Fix a compile error found by tools/tesbuild.sh 2015-07-22 15:45:47 -06:00
Gregory Nutt
999452c3ae Eliminate a warning detected by nuttx/tools/testbuild.sh 2015-07-22 14:11:10 -06:00
Gregory Nutt
ca203f6a4f Fix warnings from the STM32F7 pinmap.h header file; add a .gitignore file 2015-07-22 11:00:41 -06:00
David Sidrane
778c630c6b Add support for the STM32446. From David Sidrane 2015-07-22 07:26:53 -06:00
David Sidrane
092488cbd0 Make some STM32F7 pin naming more consistent 2015-07-21 15:33:56 -06:00
David Sidrane
e36ca25c5c STM32: Fix incorrect naming of inclusion guard in IRQ header files 2015-07-21 12:25:15 -06:00
David Sidrane
e7d039ac2b STM32: Fix incorrect naming of inclusion guard in IRQ header files 2015-07-21 11:30:45 -06:00
David Sidrane
5c5df7aefe STM32 F229: Fix bad inclusion guard in a header file 2015-07-21 11:25:29 -06:00
Gregory Nutt
9c284bb05f Syscall fixes: Add support for Cortex-M7; mount syscall has to be suppressed if there are no mountable file systems 2015-07-21 11:20:46 -06:00
Gregory Nutt
d2c8d4a495 Review/updated Cortex-M7 MPU definitions 2015-07-21 11:19:14 -06:00
Gregory Nutt
ba2046d0cd STM32 F7: Port some F4 protected mode files to the F7 2015-07-21 07:59:20 -06:00
Max Neklyudov
b13e182099 Correct some problems with SAM3/4 watchdog driver. Includes some small improvements. From Max Neklyudov. 2015-07-21 07:15:39 -06:00
David Sidrane
e6216a9175 Correct some typos in the STM32 F7 RCC register definition header file. From David Sidrane. 2015-07-21 06:51:33 -06:00
Gregory Nutt
84ffc1fe2c STM32 F7 Ethernet: Fix some backward conditinal compilation 2015-07-20 15:49:07 -06:00
Gregory Nutt
57191d15df STM32 F7: Fix some errors in some macro definitions 2015-07-20 15:29:32 -06:00
Gregory Nutt
088d42a948 STM32 F7: Port the STM32 F7 2015-07-20 13:54:41 -06:00
Gregory Nutt
9737c6a0bc STM32 F7 Ethernet: With these last changes, the STM32 F7 Ethernet driver is functional 2015-07-20 10:57:06 -06:00
Gregory Nutt
d406163a66 Refresh submodules; upated STM22F3 Ethernet debug output 2015-07-20 09:31:49 -06:00
Gregory Nutt
3fa40fd3c8 STM32 F7 Ethernet: RX/TX descriptors should be flushed to memory when they are first initialized 2015-07-20 07:05:35 -06:00
Gregory Nutt
bab4a5308a STM32 F7 Ethernet: Add cache operations to make sure we have data coherency when accessing all DMA-related data 2015-07-19 17:04:43 -06:00
Gregory Nutt
2ce3c75264 STM32 F7 Ethernet: Add logic to align all DMA memory to the D-Cache line size 2015-07-19 16:35:25 -06:00
Gregory Nutt
c4d91c8c9f Another FIX for gethostbyname if CONFIG_NETDB_DNSCLIENT is not defined 2015-07-19 14:45:34 -06:00
Gregory Nutt
a01ff4cb0b STM32 F7: Fix a few of the many Ethernet compilation issues (still more) 2015-07-19 12:58:41 -06:00
Gregory Nutt
e5ea468d75 STM32 F7: Quick'n'dirty port of the STM32 F4 Ethernet driver. Does not yet even compile 2015-07-19 12:51:23 -06:00
Gregory Nutt
d748f1ac27 STM32 F7: Add Ethernet header file 2015-07-19 12:26:13 -06:00
Gregory Nutt
3150706ee4 STM32 F7: Add logic to enable I-/D-Cache, ITCM and DTCM 2015-07-19 10:43:26 -06:00
Gregory Nutt
be008484e7 STM32 F7: Port the STM32 F3 serial driver to the STM32 F7 2015-07-19 09:25:27 -06:00
Gregory Nutt
7241185e13 STM32 F7: Add DMA header files 2015-07-19 07:34:09 -06:00
Gregory Nutt
08c883b6e8 STM32 F7: Add low level serial console support 2015-07-18 16:24:02 -06:00
Gregory Nutt
d64058d36e STM32 F7: Bring in other EXTI related files from STM32 F4 2015-07-18 16:00:00 -06:00
Gregory Nutt
5f9b0b3a2f STM32 F7: Add USART/UART register definition 2015-07-18 15:58:59 -06:00
Gregory Nutt
12f04f8500 STM32 F7: Add heap initializatino logic; Clone the STM32 CCM allocator as the F7 DTCM allocator 2015-07-18 12:52:24 -06:00
Gregory Nutt
465d7fe8c5 STM32 F7: Add PWR register definitions 2015-07-18 11:55:35 -06:00
David Sidrane
5e1a50c93e STM32: Oops. Some STM32 F7 edits accidentally went into STM32 files ;(. Fixed by David Sidrane 2015-07-18 11:05:44 -06:00
Gregory Nutt
4a5f66481d STM32 F7: Add FLASH and SYSCFG header files 2015-07-18 10:06:44 -06:00
Gregory Nutt
4f307ba36a STM32F7: Clone GPIO support from the STM32 F4 2015-07-18 08:34:07 -06:00
Gregory Nutt
9c78772fce STM32 F7: Add RCC clock configuration logic from STM32 F429 2015-07-17 17:39:33 -06:00
Gregory Nutt
cbaf241078 STM32 F7: Fix input clock source to SysTick 2015-07-17 16:38:47 -06:00
Gregory Nutt
6f5aa9ae21 STM32F7: Add GPIO header files 2015-07-17 15:43:51 -06:00
Gregory Nutt
d722792487 STM32 F7: Add RCC header files 2015-07-17 13:52:10 -06:00
Gregory Nutt
f45f0ab59a STM32 RCC: Fix some more typos in STM32 RCC header files 2015-07-17 12:16:29 -06:00
Gregory Nutt
bd711c038d STM32 RCC: Fix what looks like a double paste 2015-07-17 12:00:46 -06:00
Gregory Nutt
7eb5e7f9ec STM32F746G-DISCO: Getting closer to a build 2015-07-17 11:47:16 -06:00
Sebastien Lorquet
7f7082f938 Extend STM32 Ethernet operating frequency to 180MHz:
-Extend frequency range options to 180 MHz for STM32 ETH_MACMIIA_CR
-Fix a typo in a frequency range option in LPC43
-Only configure the PPS GPIO if the PTP protocol is enabled

From Sebastien Lorquet
2015-07-17 07:44:12 -06:00
Gregory Nutt
8e4f3bddb6 Add CONFIG_NETDEV_LATEINIT that can be used to suppress calls to up_netinitialize() from early initialization 2015-07-17 07:20:16 -06:00
Gregory Nutt
a7a7ec8850 STM32 F7: Misc naming fixes 2015-07-16 19:49:20 -06:00
Gregory Nutt
3583f8c1dc STM32 F7: Add more configuration selections 2015-07-16 18:30:40 -06:00
Gregory Nutt
05676a233c STM32 F7: Add pin multiplexing definitions 2015-07-16 16:31:02 -06:00
Gregory Nutt
d8915e9dc6 Add include/chip.h definitions and configuration support for the STM32 F7 2015-07-16 08:47:25 -06:00
Gregory Nutt
eb64a6c238 Add STM32 F7 memory map header file 2015-07-15 16:24:03 -06:00
Gregory Nutt
2bdca23c92 STM32F7: Bring over a couple more Cortex-M7 files from SAMV7 2015-07-15 14:51:41 -06:00
Gregory Nutt
be16a06857 Create a src directory for the STM32F7 (not much in it yet) 2015-07-15 14:32:28 -06:00
Gregory Nutt
1ed5f5a3ed STM32: Move STM32F42xxx IRQ definitions out of stm32f40xxx_irq.h into their own stm32f42xxx_irq.h header file 2015-07-15 13:52:20 -06:00
Gregory Nutt
629b37deec STM32: Fix a minor error in new STMF42* header files 2015-07-15 13:21:39 -06:00
Gregory Nutt
abbfbb0716 STM32: Move STM32F42xxx vector definitions out of stm32f40xxx_vector.h into their own stm32f42xxx_vector.h header file 2015-07-15 13:02:55 -06:00
Gregory Nutt
0d0bbafbc5 STM32: Move STM32F42xxx SYSCFG definitions out of stm32f40xxx_syscfg.h into their own stm32f42xxx_syscfg.h header file 2015-07-15 12:54:15 -06:00
Gregory Nutt
7666fde938 STM32: Move STM32F42xxx RCC definitions out of stm32f40xxx_rcc.h into their own stm32f42xxx_rcc.h header file 2015-07-15 12:50:04 -06:00
Gregory Nutt
987c010c1f STM32: Move STM32F42xxx DMA definitions out of stm32f40xxx_dma.h into their own stm32f42xxx_dma.h header file 2015-07-15 12:38:33 -06:00
Gregory Nutt
1d7789caa6 STM32: Move STM32F42xxx pinmap definitions out of stm32f40xxx_pinmap.h into their own stm32f42xxx pinmap.h header file 2015-07-15 12:28:45 -06:00
Gregory Nutt
3efe60bb6d STM32 F7: Add interrupt vector definitions 2015-07-15 10:54:03 -06:00
Alan Carvalho de Assis
3f68755997 SAML21" Fix small typo. It should be 2-Wire I2C instead of 1-Wire. From Alan Carvalho de Assis. 2015-07-12 12:17:42 -06:00
Alan Carvalho de Assis
82fd1536a6 AMDL: Add support to Peripheral as Output with Read back. From Alan Carvalho de Assis. 2015-07-12 09:23:40 -06:00
Gregory Nutt
1f5e16dc95 Fix some warnings/errors detected by nuttx/tools/testbuilds.sh 2015-07-10 18:41:26 -06:00
Janne Rosberg
3fdfae16b7 samdl/sam_usb.h: fix USBDEV_CTRLB_SPDCONF defines Datasheet 03-2015 and 06-2015 is wrong. These defines are correct verified with analyser and also same values are used on Atmel xdk-asf-3.24.2 sources. From Janne Rosberg. 2015-07-10 15:23:41 -06:00
Janne Rosberg
02979feb7b samdl/saml_usb.h: fix wrong EP offset calculation. From Janne Rosberg 2015-07-10 15:21:37 -06:00
Janne Rosberg
b32d747212 Fix some typos. From Janne Rosberg 2015-07-10 15:19:24 -06:00
Janne Rosberg
d6a51360f1 samdl: fix USBDEV_PKTSIZE_BCNT size. From Janne Rosberg 2015-07-10 15:15:55 -06:00
Alessandro Temil
d4cd35af5f More changes to LPC3450 pin configuration: The hardware ETM pins will not toggle unless the SLEW FAST bit is set. From Alessandro Temil. 2015-07-09 13:36:22 -06:00
Alessandro Temil
d687bedf36 Correct some LPC4350 GPIO pin configurations. From Alessandro Temil 2015-07-09 12:09:00 -06:00
Gregory Nutt
56e4189a73 SAMD21: Correct some GCLK ID definitions for SERCOM 2015-07-06 09:26:49 -06:00
Gregory Nutt
ef5531b30b SAMD21: Last fix to header files caused a compile problem because logic used a value which is no longer available for the SAMD21 2015-07-04 13:18:30 -06:00
Gregory Nutt
724c1eacaa Add support for a BOARDIOC_RESET boardctl() command. Enable configuration options to support BOARDIOC_RESET for ARMv6-M and ARMv7-M 2015-07-04 10:39:24 -06:00
Gregory Nutt
2e5bef56f2 SAMD20/1: Fix some typos found by inspecting header files 2015-07-04 07:19:52 -06:00
Gregory Nutt
b8976adfb3 SAM4L: GPIO interrupts are not yet supported; can't compile sam_gpioirq.c yet 2015-07-03 09:33:52 -06:00
Gregory Nutt
797aa0a138 Power off support now depends on CONFIG_ARCH_HAVE_POWEROFF 2015-07-03 06:53:51 -06:00
Gregory Nutt
004c076985 Correct some issues introduced in the last commit 2015-07-02 17:54:05 -06:00
Gregory Nutt
c3290fdabd Modify board_power_off() so that is is called only via boardctl() 2015-07-02 17:09:54 -06:00
Gregory Nutt
19320d157a Move prototype of board_power_off() to include/nuttx/board.h where it belongs 2015-07-02 16:25:31 -06:00
Gregory Nutt
51df91e93d STM32 RTCC: Eliminate a warning when ALARM support is enabled 2015-07-02 15:02:59 -06:00
Gregory Nutt
1839d132f0 Add a dummy arch_invalidate_icache because for symmetry in the naming of cache operations 2015-07-02 11:13:23 -06:00
Gregory Nutt
46fec91b12 Remove a warning 2015-07-01 18:25:13 -06:00
Gregory Nutt
6df1d2823f Fix misc. compilation error/warning detected by tools/testbuild.sh 2015-07-01 14:33:37 -06:00
Gregory Nutt
dbc5f910fc Fix some typos in header files 2015-07-01 11:45:08 -06:00
Gregory Nutt
c73745bede lpc214x USB device: Fix a warning 2015-07-01 10:25:14 -06:00
Gregory Nutt
d20dbf5054 LPC17xx: Fix a warning about an unused local variable 2015-07-01 09:36:39 -06:00
Gregory Nutt
92f9876f75 Fix a Cortex-A compilation error in the vfork() logic when system calls are enabled in modes other than CONFIG_BUILD_KERNEL. 2015-07-01 08:34:51 -06:00
Gregory Nutt
77285beeca DM320: GIO header uses get/putreg functions and so should include up_arch.h 2015-07-01 08:01:49 -06:00
Gregory Nutt
a1676a177d arch/arm/src/sama5/sam_ehci.c: Fix some bad conditional compilation that left a function undefined if CONFIG_USBHOST_ASYNCH is not selected. 2015-07-01 07:04:02 -06:00
Alan Carvalho de Assis
928c88a5f6 Port some per-process stack dumping logic from ARMv7-M to ARMv6-M. From Alan Carvalho de Assis 2015-06-30 11:42:48 -06:00
Alan Carvalho de Assis
39b77fbe8b Fix Cortex-M0 assembly error when the interrupt stack is enabled 2015-06-30 08:41:47 -06:00