Aleksandr Vyhovanec
06af125e45
The interrupt occurs over the counter overflow
2017-03-23 17:34:45 +03:00
Aleksandr Vyhovanec
528b938958
Merged nuttx/nuttx into master
2017-03-23 17:00:07 +03:00
David Sidrane
e2f3ad5d7c
Merged in david_s5/nuttx-14/david_s5/stm32f7stm32_allocateheapc-there-are-5-c-1490226997884 (pull request #290 )
...
stm32f7:stm32_allocateheap.c There are 5 configurations
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-23 00:16:32 +00:00
David Sidrane
c73b65c9b9
stm32f7:stm32_allocateheap.c There are 5 configurations
2017-03-22 23:56:54 +00:00
Gregory Nutt
3fb0a00c35
Small changes from review of last PR. Plus spacing and typo fix.
2017-03-22 17:32:52 -06:00
Gregory Nutt
947acd6c1a
Small changes from review of last PR
2017-03-22 15:53:12 -06:00
Jose Souza
6710e58a32
Merged in zehortigoza/nuttx/flash (pull request #289 )
...
STM32 Flash fixes
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-22 21:38:47 +00:00
José Roberto de Souza
b9b4f184a7
stm32: Add workaround for flash data cache corruption on read-while-write
...
This is a know hardware issue on some STM32 see the errata of your model
and if you make use of both memory banks you should enable it.
2017-03-22 13:14:19 -07:00
José Roberto de Souza
09f70c462d
stm32: Make up_progmem thread safe
...
Writing to a flash sector while starting the erase of other sector
have a undefined behavior so lets add a semaphore and syncronize
access to Flash registers.
But for the semaphore to work it needs to be initialized so each
board needs call stm32_flash_initialize() on initialization, so
to avoid runtime problems it is only using semaphore and making
it thread safe if initialized, after all boards starts to call
stm32_flash_initialize() we can remove the boolean and the check.
2017-03-22 13:14:15 -07:00
José Roberto de Souza
80f56e75f9
stm32: Fix erase sector number for microcontrolers with more than 11 sectors
...
Erase a sector from the second bank cause the bit 4 of SNB being set
but never unsed, so trying to erase a sector from the first bank
was acually eraseing a sector from the second bank.
2017-03-22 12:42:20 -07:00
Gregory Nutt
4c6646ad5d
Clicker2-STM32: Add definitions for remaining mikroBUS pins.
2017-03-22 13:28:16 -06:00
David S. Alessio
7f2c4c4274
XMC4xxx: Add FPU support
2017-03-22 12:04:32 -06:00
Gregory Nutt
6168d43c2c
Clicker2 STM32: Add SPI support
2017-03-22 11:58:19 -06:00
Gregory Nutt
c4579e775a
Fix some typos; Make sure some private functions have static storage class
2017-03-22 11:04:44 -06:00
Gregory Nutt
bc0fad6f20
Merge branch 'clicker2'
2017-03-22 10:04:18 -06:00
Gregory Nutt
1f13b21f87
Clicker2-STM32: Fixes for a clean build
2017-03-22 10:02:26 -06:00
Gregory Nutt
571aad3cf1
Merge remote-tracking branch 'origin/master' into clicker2
2017-03-22 09:56:59 -06:00
Gregory Nutt
5861d9610c
Clicker2-STM32: Add an NSH configuration
2017-03-22 09:46:17 -06:00
Gregory Nutt
3f4c4c36f6
clicker2-stm32: Add src/ directory
2017-03-22 09:33:26 -06:00
Gregory Nutt
cfa55cb1bc
Clicker2: Add kernel and scripts directories.
2017-03-22 08:26:01 -06:00
Gregory Nutt
5fb85451cb
Update some comments
2017-03-22 08:08:43 -06:00
Gregory Nutt
f5a957158d
Review of last PR: Setting CONFIG_SMP_NCPUS=1 should only be permitted in a debug configuration.
2017-03-22 06:29:38 -06:00
Aleksandr Vyhovanec
67a1d9ad43
Merged nuttx/nuttx into master
2017-03-22 11:52:51 +03:00
Masayuki Ishikawa
8201ebee39
Merged in masayuki2009/nuttx.nuttx/smp_kernel (pull request #288 )
...
Kconfig: Change the minimum SMP_NCPUS to 1
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-22 01:37:09 +00:00
Masayuki Ishikawa
a1f0802855
Kconfig: Change the minimum SMP_NCPUS to 1
2017-03-22 10:04:37 +09:00
Gregory Nutt
4af55cee6e
README.txt edited online with Bitbucket
2017-03-22 00:55:44 +00:00
Masayuki Ishikawa
59d2fd06fe
Merged nuttx/nuttx/master into master
2017-03-22 08:57:52 +09:00
Gregory Nutt
460284801d
Merge branch 'master' of bitbucket.org:nuttx/nuttx
2017-03-21 17:52:22 -06:00
Gregory Nutt
3f3aa73b8f
XMC4xxx: USIC SCTR register, appears taht both WLE and FLE fields hold value - 1.
2017-03-21 17:51:55 -06:00
Masayuki Ishikawa
f50a075373
Merged in masayuki2009/nuttx.nuttx/lcd_aqm_1248a_support (pull request #287 )
...
drivers/lcd/st7565.c: Use ST7565_POWERCTRL_INT instead of ST7565_POWERCTRL_BRF
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 23:45:47 +00:00
Masayuki Ishikawa
e336d24898
drivers/lcd/st7565.c: Use ST7565_POWERCTRL_INT instead of ST7565_POWERCTRL_BRF
2017-03-22 08:21:22 +09:00
Gregory Nutt
ea93357a1e
XMC4xxx: Fix a typo in the SCU header file
2017-03-21 17:05:47 -06:00
rg
82a5dfddb4
The attached .patch implements DMA support for the stm32f4 I2C. Max and I have verified that it works on our systems.
2017-03-21 16:44:11 -06:00
Gregory Nutt
6bc83dd53c
Cosmetic changes from review of last PR.
2017-03-21 15:35:12 -06:00
Gregory Nutt
9919e33705
Trivial changes to comments.
2017-03-21 15:31:53 -06:00
Anthony Merlino
4c1d670c58
Merged in merlin17/nuttx/stm32-clicker2 (pull request #286 )
...
WIP: Add support for Mikroelektronika Clicker 2 for STM32
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 21:29:41 +00:00
Anthony Merlino
3b5c6da014
WIP: Add support for Mikroelektronika Clicker 2 for STM32
2017-03-21 17:27:08 -04:00
Gregory Nutt
343f7ceab2
XMC4xxx: Misc clock clean-up; PBDIV should be controllable from board.h
2017-03-21 15:05:17 -06:00
Gregory Nutt
6893843cc5
sched/semaphore: Fix a warning aout an unused variable when priority inheritance is enabled.
2017-03-21 13:47:56 -06:00
Gregory Nutt
e8e3c2f362
sched/semaphore: Convert strange use of DEBUGASSERT to DEBUGPANIC.
2017-03-21 13:34:17 -06:00
Gregory Nutt
248c821730
Update a README file.
2017-03-21 12:30:48 -06:00
David Sidrane
c2c226be1d
Merged in david_s5/nuttx/upstream_prio_2 (pull request #285 )
...
sem_holder:Clean up from Review
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 18:11:35 +00:00
David Sidrane
d76157db7b
sem_holder:Clean up from Review
...
Spelling and backward DEBUGASSERT along with one gem
if (sem->holder[0].htcb != NULL || sem->holder[**1**].htcb != NULL)
2017-03-21 08:03:06 -10:00
Gregory Nutt
602bdd13fb
XMC4xxx: Fix a pin configuration problem. Fix some mispellings.
2017-03-21 11:24:04 -06:00
Gregory Nutt
21a626878a
XMC4xxx: Clean up problems associated with USIC initialization. USIC still does not work in UART mode.
2017-03-21 10:55:52 -06:00
Gregory Nutt
1e9bc166d4
XMC4500 Relax: Add README.txt file. Fix some comments.
2017-03-21 10:02:23 -06:00
Gregory Nutt
805a4f65e9
XMC4xxx: Fixes to HIB domain setup, GPIO pin configuration.
2017-03-21 09:31:44 -06:00
Pascal Speck
1b266096c7
Merged in iktek01/nuttx (pull request #284 )
...
- fixed wrong assert on udp dgram send
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 13:33:12 +00:00
Masayuki Ishikawa
d4e7213ddc
Merged in masayuki2009/nuttx.nuttx/lcd_aqm_1248a_support (pull request #283 )
...
drivers/lcd/st7565.c: Extend to include support for the AQM_1248A
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 13:27:42 +00:00
Gregory Nutt
3872055daa
drivers/audio/wm8904: WM8904 has same problem as that fixed by Juha Niskanen in the MaxTouch driver.
2017-03-21 07:20:45 -06:00