Commit Graph

28935 Commits

Author SHA1 Message Date
Anthony Merlino
f5926bd330 wireless/ieee802154: Adds ieee802154_addr_mode_e enumeration 2017-03-24 11:06:18 -04:00
Alexander Oryshchenko
61ff3c6b84 I needed to use DS3231, I remember that in past it worked ok, but now for stm32f4xx is used another driver (chip specific, stm32f40xxx_i2c.c) and DS3231 driver doesn't work. After investigating a problem I found that I2C driver (isr routine) has a few places there it sends stop bit even if not all messages are managed. So, e.g., removing stm32_i2c_sendstop (#1744) and adding stm32_i2c_sendstart after data reading helps to make DS3231 working. Verified by David Sidrane. 2017-03-24 06:44:33 -06:00
Aleksandr Vyhovanec
809588b254 Merged in AVyhovanec/nuttx (pull request #295)
The interrupt occurs over the counter overflow

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-24 11:24:45 +00:00
Aleksandr Vyhovanec
82a84a8d98 Merged nuttx/nuttx into master 2017-03-24 11:40:09 +03:00
no1wudi
4c6680df99 Merged in no1wudi/nuttx (pull request #291)
fix compile error when disabled the flash data cache corruption for stm32 f1xx

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-24 00:58:26 +00:00
David Sidrane
038ec5439f Merged in david_s5/nuttx/upstream_stm32_flash_fixes (pull request #294)
stm322_flash:missing unlock on F1 HSI off path

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-24 00:55:04 +00:00
no1wudi
fd76a3db05 fix spacing 2017-03-24 08:52:46 +08:00
no1wudi
5797e84893 Merged nuttx/nuttx into master 2017-03-24 08:40:40 +08:00
David Sidrane
66910577be stm322_flash:missing unlock on F1 HSI off path 2017-03-23 14:22:45 -10: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
Anthony Merlino
2150619d37 fs/ioctl.h: Renames RAD802154 to PHY802154 2017-03-23 14:04:06 -04:00
Anthony Merlino
0658f26a18 wireless/ieee802154: Moves common types to ieee802154.h
Since the MAC layer or the PHY radio layer can be accessed independently, common types that are used in both layers should go in a common ieee802154.h file
2017-03-23 14:00:45 -04: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
Aleksandr Vyhovanec
06af125e45 The interrupt occurs over the counter overflow 2017-03-23 17:34:45 +03:00
Anthony Merlino
23b472f907 wireless/ieee802154: Removes unused ieee802154.h header 2017-03-23 10:30:01 -04:00
Aleksandr Vyhovanec
528b938958 Merged nuttx/nuttx into master 2017-03-23 17:00:07 +03:00
Gregory Nutt
56559c3330 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-23 07:54:46 -06:00
Gregory Nutt
9e4052e506 Clicker2-STM32: Add some mostly bogus MAC initializatinon logic. 2017-03-23 07:20:10 -06:00
Gregory Nutt
40a8ef3c00 Clicker2-STM32: Add logic to register the MRF24J40 radio character device. 2017-03-23 06:58:54 -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
Gregory Nutt
22651dcae2 Clicker2-STM32: Add framework for MRF24J40 support. Untested and still some missing logic. 2017-03-22 15:20:05 -06:00
Gregory Nutt
0be851d339 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-22 14:26:20 -06: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