Commit Graph

26502 Commits

Author SHA1 Message Date
Gregory Nutt
10667bd38a Kinetis Ethernet and Freedcom-K64F: PHY address was wrong. Modified driver to try all PHY addresses and then only fail if the driver cannot find a usable PHY address. MDIO pin must have an internal pull-up on the Freedom-K64F. 2016-07-12 14:09:27 -06:00
ziggurat29
67d5144ee3 Merged nuttx/nuttx into master 2016-07-12 13:18:01 -05:00
Gregory Nutt
74037a7951 Merged in ziggurat29/nuttx/stm32l4_smartfs_test (pull request #97)
fixes to n25qxxx mtd driver for smartfs support, etc...
2016-07-12 12:16:13 -06:00
ziggurat29
a45bc22eb5 update stm32l476 disco to include init code for smartfs and nxffs for cases where those fs are included in build. 2016-07-12 12:33:25 -05:00
ziggurat29
74777499bc alter the notion of 'blocksize' to be equivalent to 'flash write page size' in order to align with assumptions in the smartfs driver (at least, maybe other things do as well).
Correct a bug that was previously masked by having blocksize=eraseblocksize which would cause buffer overflows and delicious hardfaults.
Trivial spelling changes in comments, etc.
2016-07-12 11:46:08 -05:00
Sebastien Lorquet
0d41a1cd42 Before accessing the sst26 flash, the "Global Unlock" command must me executed, which I do in the sst26 driver.
BUT. re-reading the datasheet, the WREN instruction is required to enable the execution of this command. This was not done.

I have no idea how the driver currently works except by chance. The writes
should never happen at all, the flash is half-enabled!
2016-07-12 10:34:03 -06:00
Gregory Nutt
96edfdb4c7 libm: Fix/improve range checks in lib_expi() and lib_expif(). 2016-07-12 09:59:10 -06:00
Gregory Nutt
de3b8d85a4 Freedom K64F: Add a networking NSH configuration. 2016-07-12 09:59:09 -06:00
Gregory Nutt
c8f053de92 Kinetis Ethernet: Add support for the KSZ8081 PHY 2016-07-12 09:59:08 -06:00
Gregory Nutt
3bc504b685 Per comment from David Alession: M_E128 will never be used since it is greater than FLT_MAX. 2016-07-12 09:59:08 -06:00
Gregory Nutt
38999dfe9d Fix two incorrectly named header files 2016-07-12 09:46:31 -06:00
Gregory Nutt
765098d840 Merged in HeathPetersen/nuttx (pull request #96)
Master
2016-07-12 06:27:15 -06:00
Heath Petersen
dc72e16625 handle when CONFIG_SERIAL_UART_ARCH_IOCTL is not enabled 2016-07-12 06:50:58 +00:00
Heath Petersen
4f75609fa9 fix qemu-i486/nsh/Make.defs test for M32 2016-07-12 05:43:23 +00:00
Heath Petersen
b1740bc5d6 fix qemu-i486/ostest/Make.defs test for M32 2016-07-12 05:41:17 +00:00
Gregory Nutt
f816e7a69b Merged in slorquet/nuttx/pr_fixes (pull request #95)
Pr_fixes
2016-07-11 17:07:40 -06:00
Sebastien Lorquet
4172016667 revert changes made by greg 2016-07-12 01:04:15 +02:00
Sebastien Lorquet
5e12d6203e Cosmetic changes after PR 94 2016-07-12 00:57:18 +02:00
Gregory Nutt
9dd70ffbae Freedom K64F: Green and Blue LEDs reversed 2016-07-11 16:54:20 -06:00
Gregory Nutt
c80b627e8d Partial review of last PR 2016-07-11 16:28:54 -06:00
Sebastien Lorquet
749b54fbda PR fixes for oneshoot and freerun 2016-07-12 00:16:08 +02:00
Gregory Nutt
a48fb1e41c Merged in slorquet/nuttx/stm32l4_renames (pull request #94)
stm32l4_renames
2016-07-11 16:05:27 -06:00
Gregory Nutt
d37c5718aa Update README.txt 2016-07-11 16:04:07 -06:00
Sebastien Lorquet
4f5d22c940 fix a typo 2016-07-12 00:03:38 +02:00
Sebastien Lorquet
3a873a44ef renames in USB OTG 2016-07-11 23:59:24 +02:00
Sebastien Lorquet
4dd020784a renames in tickless 2016-07-11 23:57:57 +02:00
Gregory Nutt
dfe8596e53 Cosmetic 2016-07-11 14:15:34 -06:00
Gregory Nutt
f9d4b50207 If there are no streams, let printf() fall back to use syslog() for output. 2016-07-11 13:52:21 -06:00
Gregory Nutt
29eae10232 lib_expi/f(): Exponental table should be 'const'. Dimension was wrong for float version. 2016-07-11 13:53:31 -06:00
Gregory Nutt
6a081e118d Add guess at missing lib_libexpif.c file 2016-07-11 13:43:43 -06:00
Gregory Nutt
fb1855244e STM32 timer: Eliminate a warning 2016-07-11 13:13:17 -06:00
Gregory Nutt
67a9549355 TMPFS: Eliminate some warnings 2016-07-11 11:19:58 -06:00
Sebastien Lorquet
ce09af0da7 Rename STM32L4 PWM routines. this WILL BREAK configs 2016-07-11 19:13:06 +02:00
Gregory Nutt
5185a838ed Fix a broken file inclusion 2016-07-11 11:12:08 -06:00
Sebastien Lorquet
d347d7ce7e renames in oneshoot 2016-07-11 19:06:14 +02:00
Sebastien Lorquet
34a7b0ea8e Renames stm32_ -> stm32l4_ on old files and rtcc/basic timers 2016-07-11 19:05:09 +02:00
Sebastien Lorquet
bf3691ebf0 Remove the includes/apps link to apps/include. It is no longer used. 2016-07-11 10:53:00 -06:00
David Alessio
8a7dd94cfc Add FPU support for ostest for the STM32F4Discovery platform 2016-07-11 07:08:27 -06:00
David Alessio
261358f1f5 This change should significantly improve the performance of single precision floating point math library functions. The vast majority of changes have to do with preventing the compiler from needlessly promoting floats to doubles, performing the calculation with doubles, only to demote the result to float. These changes only affect the math lib functions that return float. 2016-07-11 07:02:50 -06:00
ziggurat29
063f86b6b2 Merged nuttx/nuttx into master 2016-07-10 16:16:14 -05:00
Gregory Nutt
90917d9741 COPYING: Remove sections that do not apply to files under nuttx/ 2016-07-09 13:24:13 -06:00
Gregory Nutt
2689645b97 VFS ioctl() again. Per comments from David Sidrane, file_ioctl() should not return success if the ioctl method is not supported. It probably should return ENOTTY in that case. 2016-07-09 07:23:12 -06:00
Wolfgang Reissnegger
d89e062c06 SAM3/4 I2C: Fix reversed logic in twi_startmessage(). 2016-07-09 06:51:07 -06:00
Sagitta Li
1925df8faa Fix some recently introduced errors 2016-07-09 06:51:07 -06:00
ziggurat29
3f00d45a88 Merged nuttx/nuttx into master 2016-07-08 20:58:47 -05:00
Gregory Nutt
5fc610de9b Merged in ziggurat29/nuttx/stm32l4_tickless (pull request #92)
stm32l4_tickless; avoid Lyme, support timers, pwm, oneshot, freerun, and tickless scheduling
2016-07-08 17:03:43 -06:00
ziggurat29
ee55a0b9a3 update README.txt to reflect new implementation status 2016-07-08 17:33:38 -05:00
ziggurat29
2938ab7c97 trivial; alter autoleds to indicate ISR entry/exit -- makes tickless visibly obvious 2016-07-08 17:32:26 -05:00
ziggurat29
af236d4784 STM32L4: add support for tickless OS, and incidentally timers, pwm, oneshot, free-running.... 2016-07-08 17:30:55 -05:00
ziggurat29
0207f6699a port and bit definitions for the various timers on the STM32L4. whew. 2016-07-08 17:26:40 -05:00