Gregory Nutt
b3f259e488
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-24 10:18:00 -06:00
Gregory Nutt
3a07455493
Trivial changes from review of last PR
2017-03-24 10:16:18 -06:00
Anthony Merlino
5c357702aa
Merged in merlin17/nuttx/ieee802154 (pull request #297 )
...
wireless/ieee802154: Clean up code, adding MAC layer defines, and data structures
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-24 15:55:46 +00:00
Anthony Merlino
60268b6b87
Merged in merlin17/nuttx (pull request #296 )
...
configs/clicker2-stm32: Cleans up minor issues
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-24 15:53:46 +00:00
Jussi Kivilinna
d0c54039dc
Add ffsl(), ffsll(), fls(), flsl(), flsll() and use GCC's __builtin_ctz/__builtin_clz for faster implementation of these
2017-03-24 09:41:31 -06:00
Anthony Merlino
77b9f72083
configs/clicker2-stm32: Cleans up minor issues
2017-03-24 11:37:37 -04:00
Anthony Merlino
e826006818
configs/clicker2-stm32: Fixes missing semicolon on function prototype
2017-03-24 11:14:40 -04:00
Anthony Merlino
4a4805da88
configs/clicker2-stm32: Fixes issues with stm32_mrf24j40
2017-03-24 11:11:04 -04:00
Anthony Merlino
7388816629
drivers/ieee802154: Moves defines to MAC layer and adjusts some addressing functionality
2017-03-24 11:10:35 -04:00
Anthony Merlino
10d7baca10
wireless/ieee802154: Adds IOCTL definitions for accessing PHY layer
2017-03-24 11:09:45 -04:00
Anthony Merlino
7a95cc62b4
wireless/ieee802154: Moves and renames MAC preprocessor definitions
2017-03-24 11:08:31 -04:00
Anthony Merlino
a702d6b638
wireless/ieee802154: Fixes build and configuration setup
2017-03-24 11:06:59 -04:00
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