Commit Graph

28808 Commits

Author SHA1 Message Date
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
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
Anthony Merlino
23b472f907 wireless/ieee802154: Removes unused ieee802154.h header 2017-03-23 10:30:01 -04: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
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
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