Commit Graph

28786 Commits

Author SHA1 Message Date
no1wudi
5797e84893 Merged nuttx/nuttx into master 2017-03-24 08:40:40 +08:00
David Sidrane
1ad123bb91 Merged in david_s5/nuttx/upstream_stm32_build_fixes (pull request #293)
stm32_i2c_alt:Move def of regval to top func def per CS

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-23 21:53:36 +00:00
David Sidrane
7e3bec635b stm32_i2c_alt:Move def of regval to top func def per CS 2017-03-23 11:50:37 -10:00
David Sidrane
444e2213a8 Merged in david_s5/nuttx/upstream_stm32_build_fixes (pull request #292)
Upstream stm32 build fixes

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-23 21:46:56 +00:00
David Sidrane
d25f8710d2 stm32f40xxx_i2c:Duplicate non CS dev of regval 2017-03-23 11:37:12 -10:00
David Sidrane
f5cf22d871 stm32_i2c_alt:Duplicate non CS dev of regval 2017-03-23 11:36:44 -10:00
David Sidrane
c2a1b719be stm32_flash:Need conditinal on non F4 targets 2017-03-23 11:33:32 -10:00
Gregory Nutt
20b8ccd9d4 More updates to README.txt 2017-03-23 13:43:48 -06:00
Gregory Nutt
123a057be9 Update README 2017-03-23 11:43:32 -06:00
rg
9353ca6039 STM32 I2C: Do not allow CONFIG_I2C_POLLED and CONFIG_I2C_DMA 2017-03-23 11:24:18 -06:00
Gregory Nutt
2ec72c8f94 Clicker2-STM32: Add a README file 2017-03-23 11:17:43 -06:00
no1wudi
45f5d30e2e fix compile error when disabled the flash data cache corruption for stm32 f1xx 2017-03-23 13:38:26 +08: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
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