Gregory Nutt
a19c099c75
Update ChangeLog
2016-07-14 16:07:23 -06:00
Ken Pettit
fea2aaba05
SMART MTD layer: Fixes freesector logic error when sectorsPerBlk=256, adds DEBUGASSERT for invalid geometry and additional memory debug logic. Also fixes the dangling pointer on error bug.
2016-07-14 10:31:28 -06:00
Gregory Nutt
54bc6c88dd
Fix cast of return value
2016-07-14 10:21:31 -06:00
Gregory Nutt
3f6835fda9
If CONFIG_SPIFI_SECTOR512 undefined, lpc43_bwrite doesn't do actual write (probably copy/paste errors). Still not sure about current state of lpc43_spifi implementation, but for me NXFFS works with this patch. From Vytautas Lukenskas.
2016-07-14 10:11:19 -06:00
Gregory Nutt
e42e3bd58c
Update README
2016-07-14 10:10:37 -06:00
Pierre-noel Bouteville
76f12b1f69
I'm using syslog through ITM. In this case syslog_channel function is call before ram initialisation in stm32_clockconfig. But syslog channel uses a global variable that is reset to default by the RAM initialization.
2016-07-14 07:29:39 -06:00
Gregory Nutt
72582b61d9
Merged in ziggurat29/nuttx/stm32l4_smartfs_test (pull request #98 )
...
port foward bugfix from stm32 of oneshot timer
2016-07-13 16:09:18 -06:00
ziggurat29
9a6c5b271a
port foward bugfix from stm32 of oneshot timer
2016-07-13 17:00:06 -05:00
Gregory Nutt
37e10a54ae
Kinetis: Eliminate a warning. Freedom-K64F: Update a README file
2016-07-13 15:38:47 -06:00
Gregory Nutt
02eda2fdec
Freedom K64F: SDHC-related changes from bring-up testing.
2016-07-13 14:26:18 -06:00
Gregory Nutt
6fda036615
Eliminate a warning
2016-07-13 14:09:51 -06:00
Gregory Nutt
abf909d2c0
Freedom K64F: Calibrate timing loop
2016-07-13 14:09:24 -06:00
Max Neklyudov
067f63fc18
STM32: Fix bug in oneshot timer
2016-07-13 10:20:38 -06:00
Max Neklyudov
b18369d772
ADC: add macros to call ADC routines
2016-07-13 10:12:14 -06:00
Gregory Nutt
b38c6da401
Update a README
2016-07-13 10:11:41 -06:00
Stefan Kolb
f673b2d02a
This commit solves a problem which causes data loss while sending data via USB. This problem is caused by an incorrect handling of the endpoint state in the USB driver sam_usbdevhs. This leads under some circumstances to situations in which an DMA transfer is setup while a previous DMA transfer is currently active. Amongst other things I introduced the new endpoint state USBHS_EPSTATE_SENDING_DMA for the fix.
...
To reproduce the problem, I used a program which send as many data as possible via a CDC/ACM device and verified the received data on the PC.
2016-07-13 10:09:14 -06:00
Gregory Nutt
a7d8279714
Kinetis and Freedom-K64F: Remove unused configuration variable; fix some compile issues; SDHC is now enabled in the nsh configuration (but does not work)
2016-07-13 09:56:02 -06:00
Gregory Nutt
0503701b0d
Freedom-K64F: Add hooks for automounter; Change NSH configuration to use Windows
2016-07-13 09:25:19 -06:00
Gregory Nutt
2f12de6f28
Freedom-K64F: Add hooks for automounter; Change NSH configuration to use Windows
2016-07-13 09:23:57 -06:00
ziggurat29
c46b3e869e
Merged nuttx/nuttx into master
2016-07-13 09:35:54 -05:00
Sebastien Lorquet
590af73bd2
STM32L4 Serial: Remove some STM32Fxxx conditional logic; fix a link error resulting from an over-aggressive rename.
2016-07-13 07:10:09 -06:00
Gregory Nutt
76a0cccbb1
K6x Ethernet: Fix some conditional logic
2016-07-13 07:04:19 -06:00
Heath Petersen
426c628559
Merged nuttx/nuttx into master
2016-07-12 23:01:13 -05:00
Heath Petersen
9d999eeb34
update / correct some compilation and linkage settings
...
HOSTCFLAGS: Should not be set the same as CFLAGS since CFLAGS may be for a completely different platform. Use sane defaults like other configs/*/*/Make.defs.
ARCHCPUFLAGS: Depending on how the GNU compiler was built we may need -fno-stack-protector. Since we always want it we can just default to specifying it instead of depending on the compiler default.
LDFLAGS: If compiling for a 32 bit target from a 64 bit platform we need to tell the linker to generate a 32 bit elf file with -m elf_i386.
2016-07-13 03:01:58 +00:00
Heath Petersen
5be790b6dd
update / correct some compilation and linkage settings
...
HOSTCFLAGS: Should not be set the same as CFLAGS since CFLAGS may be for a completely different platform. Use sane defaults like other configs/*/*/Make.defs.
ARCHCPUFLAGS: Depending on how the GNU compiler was built we may need -fno-stack-protector. Since we always want it we can just default to specifying it instead of depending on the compiler default.
LDFLAGS: If compiling for a 32 bit target from a 64 bit platform we need to tell the linker to generate a 32 bit elf file with -m elf_i386.
2016-07-13 02:57:01 +00:00
Ken Pettit
b616918e0f
SmartFS: Fix a 32-byte memory leak
2016-07-12 17:28:06 -06:00
Sebastien Lorquet
6be72272eb
STM32L4: Apply the stm32l4 namespace and FAR qualifiers to the serial driver, also, indentation.
2016-07-12 17:18:46 -06:00
Gregory Nutt
9f72204bb6
Update README
2016-07-12 16:50:27 -06:00
Gregory Nutt
dee77a5dd9
Kinetis Ethernet: Add support for CONFIG_NET_NOINTS
2016-07-12 16:17:35 -06:00
Gregory Nutt
0154e300e8
Freedom K16F: Correct calculations for SDHC clock
2016-07-12 15:05:35 -06:00
Gregory Nutt
6b0b4f9910
Freedom-K64F: Some fixes needed after k64_bringup.c first use.
2016-07-12 14:09:28 -06:00
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