Commit Graph

9377 Commits

Author SHA1 Message Date
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
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
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
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
Gregory Nutt
de3b8d85a4 Freedom K64F: Add a networking NSH configuration. 2016-07-12 09:59:09 -06: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
9dd70ffbae Freedom K64F: Green and Blue LEDs reversed 2016-07-11 16:54:20 -06:00
Gregory Nutt
d37c5718aa Update README.txt 2016-07-11 16:04:07 -06:00
Gregory Nutt
5185a838ed Fix a broken file inclusion 2016-07-11 11:12:08 -06:00
David Alessio
8a7dd94cfc Add FPU support for ostest for the STM32F4Discovery platform 2016-07-11 07:08:27 -06:00
ziggurat29
2938ab7c97 trivial; alter autoleds to indicate ISR entry/exit -- makes tickless visibly obvious 2016-07-08 17:32:26 -05:00
ziggurat29
4bcb4c3221 define timer clock frequencies on STM32L4-based boards 2016-07-08 16:39:55 -05:00
Gregory Nutt
7c096f31d4 Trivial updates from review of last PR 2016-07-08 08:11:45 -06:00
Gregory Nutt
2baac3fcc7 Merged in rennerm/nuttx_canard/feature/stm32f4discovery-can (pull request #90)
Feature/stm32f4discovery can
2016-07-08 08:01:25 -06:00
Matthias Renner
3e83599382 add configuration files for canard 2016-07-08 10:49:46 +02:00
Gregory Nutt
da2d172ff1 Update README 2016-07-07 16:21:11 -06:00
Gregory Nutt
1a2ee220bb CONFIG_APPS_DIR should not be defined in any base configuration 2016-07-07 16:03:10 -06:00
Gregory Nutt
aa31b4eae9 Disable DEBUG features be default in all configurations 2016-07-07 16:01:32 -06:00
Gregory Nutt
6f9a536ae8 Disable DEBUG features be default in all configurations 2016-07-07 15:58:26 -06:00
Gregory Nutt
4284546a87 STM32F476-Disco: Back DEBUG settings out of defconfig. 2016-07-07 15:46:17 -06:00
Gregory Nutt
722ab6abb3 Merged in ziggurat29/nuttx/stm32l4_usb (pull request #87)
Stm32l4 USB support
2016-07-07 13:08:33 -06:00
ziggurat29
7c428efa97 Merge branch 'master' into stm32l4_usb
Conflicts:
	configs/stm32l476vg-disco/nsh/defconfig
2016-07-07 12:27:20 -05:00
Gregory Nutt
b3a73c3697 Remove newlines from .gitignore files 2016-07-07 10:25:13 -06:00
Gregory Nutt
4d8213870c Freedom-K64F: Update Flash Clock divider. Flash clock must not exceed 24 Mhz 2016-07-06 12:11:26 -06:00
Gregory Nutt
c8d6707aaf Freedom-K64F: Increase MCU clock to 120MHz 2016-07-06 11:03:27 -06:00
Matthias Renner
b5ef244b18 add can driver for stm32f4discovery 2016-07-06 17:35:58 +02:00
Gregory Nutt
a39ce80add SYSLOG logic should use existing file interfaces, not re-invent them. 2016-07-05 12:12:44 -06:00
Gregory Nutt
88f1f42677 Remove an unnecessary (and incorrect) factor in conditional compilation 2016-07-03 15:26:27 -06:00
Gregory Nutt
83b0e85081 Freedom K64F: Add board_initialize() hooks and bringup C file like more contemporary board configurations 2016-07-03 15:14:43 -06:00
Gregory Nutt
4bb6bb2cc1 Update README and some comments 2016-07-03 11:20:14 -06:00
Gregory Nutt
5792491427 Remove configs/mt-db-x3, unfinished XMega port 2016-07-03 07:55:25 -06:00
Gregory Nutt
1bf745a841 Freedom K64F: Add pin configuration to use a serial Shield as the Serial Console. 2016-07-02 15:27:12 -06:00
Gregory Nutt
d31f0bd076 Fix some button definitions 2016-07-02 14:42:29 -06:00
Gregory Nutt
874c614117 Freedom K64F: Correct comments about VCOM serial console. Add pin multi-plexing disambiguaration for the VCOM UART pins. 2016-07-02 13:58:29 -06:00
Gregory Nutt
4ad7129ac9 Update README and some comments 2016-07-02 11:55:31 -06:00
Gregory Nutt
59de06f7f9 Update K64 pin multixplexing 2016-07-02 11:48:56 -06:00
Gregory Nutt
042c9d0b38 Update some C comments 2016-07-02 09:04:27 -06:00
Gregory Nutt
adbbca0bfc Freedom K64F: Correct button support 2016-07-02 08:18:42 -06:00
Gregory Nutt
966a6d3ba2 Freedom K64F: Add user LED support. 2016-07-02 08:07:08 -06:00
Gregory Nutt
326be154ad Freedom K64F: Update README.txt; add proper (auto) LED support 2016-07-02 07:56:43 -06:00
Gregory Nutt
750659cc2b configs/freedom-k64f: More detailed review 2016-07-01 17:43:27 -06:00
Gregory Nutt
7a7998e4f9 Add support for the NXP Freedom-K64F board. This is primarily the work of Jordan Macintyre. I leveraged this code from https://github.com/jmacintyre/nuttx-k64f 2016-07-01 15:42:21 -06:00
Gregory Nutt
0f0258c922 STM3210e-eval: No such macro as warn(), change to swarn() 2016-06-30 17:42:26 -06:00
Gregory Nutt
aa96a1d2ec Move the TZ/Olson zoneinfo data set from apps/system/zoneinfo to libc/zoneinfo 2016-06-30 15:40:37 -06:00
Gregory Nutt
a897fd4ccf Eliminate use of apps/system/usbmonitor. Use drivers/usbmonitor instead. 2016-06-30 13:09:22 -06:00
Gregory Nutt
7c34a77b54 Move apps/system/usbmonitor to nuttx/drivers/usbmonitor 2016-06-30 12:24:33 -06:00
Gregory Nutt
8e7db75439 Fix typos in a comment 2016-06-30 07:07:40 -06:00
Gregory Nutt
fd9c9a7f4f Add logic to support custom board directories that include a Kconfig file. During the context phase of the build, any Kconfig file in the custom board directory is copied into configs/dummy, replacing the existing Kconfig file with the target Kconfig file. 2016-06-29 11:53:00 -06:00
Gregory Nutt
6aa067e929 Mostly costmetic changes from review of last PR 2016-06-29 07:33:30 -06:00
David Sidrane
1a39783e0f Reformated and using real sizes 2016-06-28 16:43:23 -10:00
David Sidrane
0aa571d359 Fix warnings 2016-06-28 12:45:08 -10:00
Gregory Nutt
32c6cd71bb Refresh all SAMV71/SAME70 configurations 2016-06-28 15:40:10 -06:00
Gregory Nutt
4742999e45 Remove references to non-existent kostest from README.txt 2016-06-28 14:45:30 -06:00
Gregory Nutt
ac81ecf65b Remove configs/stm32f746g-disco/netnsh. It does not build. Probably a corrupted, hand-editted defconfig file. 2016-06-28 14:43:58 -06:00
Gregory Nutt
71569b8d71 Eliminate some warnings 2016-06-28 13:40:06 -06:00
Gregory Nutt
723165d499 configs/spark: Fix warning because STM32_NSPI is not defined 2016-06-28 11:57:40 -06:00
Gregory Nutt
c1ba51be18 STM32 BBSRAM: Remove duplcate typedef; shorten some long lines. 2016-06-28 10:54:59 -06:00
Gregory Nutt
3ddecd460d More name changes to conform with NuttX naming standard: No CamelCase names. 2016-06-28 10:10:26 -06:00
Gregory Nutt
f14ff4c4a1 A few naming changes to get code from last PR to conform to NuttX naming standard 2016-06-28 10:06:47 -06:00
Gregory Nutt
14a8bbbf22 Fix some conditional compilation that got hosed in last changes for review of PR 2016-06-28 10:00:09 -06:00
Gregory Nutt
c74269ced6 Significantly stylistic changes required after review of last PR 2016-06-28 09:37:21 -06:00
Gregory Nutt
0de3514af7 Merged in david_s5/nuttx/upstream_nucleo-144 (pull request #77)
Upstream_nucleo 144
2016-06-28 09:07:03 -06:00
Michael Spahlinger
ed1f3aec61 Fixed build of SAMV71-XULT/nsh. With the changes from 26f7b8c the build process of the default configuration did not succeed anymore. This is fixed by this commit. 2016-06-28 08:23:41 -06:00
David Sidrane
20d2a0a3d7 Added bbsram test to Nucleo-144 2016-06-27 16:11:53 -10:00
David Sidrane
8ebd10e8e1 Added USB otg device to Nucleo-144 2016-06-27 10:01:04 -10:00
Gregory Nutt
738510a52c Merged in david_s5/nuttx/upstream_nucleo-144 (pull request #75)
Upstream_nucleo 144
2016-06-27 12:30:53 -06:00
David Sidrane
fba8f4c05b Moved NCD to PC6 2016-06-27 08:28:30 -10:00
Gregory Nutt
2a19e16eb0 libc/hex2bin: Move the portable library portion of apps/system/hex2bin to nuttx/libc/hex2bin where it can be shared with the OS internals. 2016-06-27 11:22:38 -06:00
Gregory Nutt
79ff375b66 Refresh configurations 2016-06-27 10:06:01 -06:00
Gregory Nutt
43d7301255 Trivial changes from review of last PR 2016-06-27 08:00:01 -06:00
Mateusz Szafoni
10985347e3 Add olimex-stm32-e407 to configs 2016-06-27 13:41:41 +02:00
Gregory Nutt
c8e73b9cef Backout most of changes from 4d331ec09b2fc72636f86be628ea2f69381 and 8afe721612. Does not work as expected. 2016-06-25 09:44:50 -06:00
Gregory Nutt
8643b59527 Merged in david_s5/nuttx/upstream_nucleo-144 (pull request #72)
Upstream_nucleo 144
2016-06-24 18:38:17 -06:00
David Sidrane
b31e5e3c9d Added SDMMC to Nucleo-144 2016-06-24 13:23:35 -10:00
ziggurat29
6c762faa0f updated to reflect changes in debug output macros/fxns 2016-06-24 17:48:08 -05:00
Gregory Nutt
201977fa05 Refresh all PIC32 configurations 2016-06-24 16:27:11 -06:00
ziggurat29
b4e62547af resolve and Merge branch 'master' into stm32l4_usb
resolved Conflicts:
	configs/stm32l476vg-disco/nsh/defconfig
2016-06-24 14:54:20 -05:00
Gregory Nutt
8afe721612 Make custom board options invisible until custom board is selected 2016-06-24 07:54:41 -06:00
Gregory Nutt
170574d331 Add configuration logic to include a Kconfig file in each custom configuration. Includes adding a dummy custom board configuration directory. A consequence of this that each custom board directory will now need to contain a Kconfig file. NOTE also that the new board directory does not take effect in the configuration menues until the NEXT time you run 'make menuconfig' 2016-06-24 07:45:59 -06:00
Gregory Nutt
fd1d874a8a Refresh all PIC32 configurations 2016-06-23 16:01:45 -06:00
Gregory Nutt
1377452394 Refresh all ARM configurations 2016-06-23 15:59:14 -06:00
Gregory Nutt
2cc6204c69 Removed stm32f746g-disco/knsh configuration it failed to refresh (via tools/refresh.sh). I assume that it is a hand-edited configuration and, hence, must be removed from the repository 2016-06-23 15:55:35 -06:00
Gregory Nutt
5118264e6c Rename CONFIG_SYSLOG_CONSOLE to CONFIG_CONSOLE_SYSLOG 2016-06-21 09:35:51 -06:00
Gregory Nutt
2f04fb63fa Update some README files 2016-06-21 05:36:28 -06:00
Gregory Nutt
aab77a944d _warn(), not warn() 2016-06-20 22:32:34 -06:00
Gregory Nutt
645603e6d1 Fix a malformed warn() statement 2016-06-20 16:28:37 -06:00
Gregory Nutt
ec1e1a10fd Make system: Build the drivers/ directory even if file descriptors are disabled. There are still things that may be needed from the drivers/ director (such as SYSLOG logic or lower half drivers). 2016-06-20 16:33:20 -06:00
Gregory Nutt
2a751068e6 Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err(). 2016-06-20 12:44:38 -06:00
Gregory Nutt
43eb04bb8f Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info(). 2016-06-20 11:59:15 -06:00
Gregory Nutt
d40a473f72 Without lowsyslog() *llwarn() is not useful. Eliminate and replace with *warn(). 2016-06-20 09:37:08 -06:00
Gregory Nutt
2b445ddccc Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces. 2016-06-20 08:57:08 -06:00
Gregory Nutt
5b2aa7bf99 Remove all traces of CONFIG_SYSLOG 2016-06-19 13:59:43 -06:00
David Sidrane
df64a68b15 Nucleo-144 Moved ADC to chan 3 2016-06-18 08:08:28 -10:00
Gregory Nutt
e65bcccaa2 Costmetic changes from the review of the last PR 2016-06-17 17:30:05 -06:00
David Sidrane
4416561c46 Refreashed STM32F746G-DISCO config 2016-06-17 12:49:42 -10:00
David Sidrane
64b1d4e314 Updated For STM32F746G-DISCO 2016-06-17 12:49:42 -10:00
David Sidrane
86374ed3e5 Add RCC PLLs and CFG - Not tested 2016-06-17 12:49:42 -10:00
David Sidrane
63a3e20310 Add RCC PLLs and CFG - Not tested 2016-06-17 12:49:42 -10:00
David Sidrane
540728af42 Nucleo-144 update RCC and I2C 2016-06-17 12:49:42 -10:00
David Sidrane
003fd604d1 Nucleo-144 I2C pinout 2016-06-17 12:48:30 -10:00
David Sidrane
9447316162 Nucleo-144 ADC 2016-06-17 12:48:30 -10:00
Gregory Nutt
fb1d830770 Fix some errors in STM32F7 ADC and I2C. Also some errors in STM32-WS configuration 2016-06-17 08:36:23 -06:00
Gregory Nutt
2f24f911f5 Hook configs/stm32f746-ws into the configuration system 2016-06-17 08:13:22 -06:00
Gregory Nutt
d3b8c03a8a Fix a few missed changes from *dbg() to *err() and *vdbg() to *info() 2016-06-17 06:00:45 -06:00
Gregory Nutt
0c8c7fecf0 Add _ to the beginning of all debug macros to avoid name collisions 2016-06-16 12:33:32 -06:00
Gregory Nutt
37b9742189 Centralize definitions associated with CONFIG_DEBUG_TIMER 2016-06-16 07:16:25 -06:00
Gregory Nutt
6b517ed017 Centralize definitions associated with CONFIG_DEBUG_WATCHDOG 2016-06-16 06:28:04 -06:00
Gregory Nutt
03cbe671ad Centralize definitions associated with CONFIG_DEBUG_PWM 2016-06-15 17:23:56 -06:00
Gregory Nutt
63b1eb09e6 Centralize definitions associated with CONFIG_DEBUG_CAN 2016-06-15 15:45:27 -06:00
Gregory Nutt
6d9a0511ad Rename CONFIG_DEBUG_HEAP to CONFIG_HEAP_COLORATION 2016-06-15 14:48:06 -06:00
Gregory Nutt
2ddd57c674 Centralize definitions associated with CONFIG_DEBUG_LEDS 2016-06-15 14:12:19 -06:00
Gregory Nutt
a42651de4f Changes from review of last PR. Mostly costmetic. 2016-06-15 12:43:06 -06:00
Gregory Nutt
ff7be7cead Merged in petekol/nuttxnsm (pull request #59)
some stm32f7 files
2016-06-15 12:01:30 -06:00
Gregory Nutt
24c51ec1ff Centralize definitions associated with CONFIG_DEBUG_LCD 2016-06-15 11:40:33 -06:00
Gregory Nutt
ba03134bed Centralize definitions associated with CONFIG_DEBUG_SPI 2016-06-15 10:41:13 -06:00
Gregory Nutt
0e180c3ad8 Centralize definitions associated with CONFIG_DEBUG_GPIO 2016-06-15 09:27:52 -06:00
Lok Tep
5a8f395a9b Merge remote-tracking branch 'parent/master'
# Conflicts:
#	arch/arm/src/stm32f7/chip/stm32_spi.h
#	arch/arm/src/stm32f7/stm32_spi.c
#	arch/arm/src/stm32f7/stm32_spi.h
2016-06-15 17:03:28 +02:00
David Sidrane
4f72ad74d2 configs/nucleo-144: Test F7 SPI 2016-06-14 07:30:28 -06:00
Gregory Nutt
191d875b05 Cleanup of configs/teensy-2.0/src files 2016-06-13 16:03:16 -06:00
Gregory Nutt
749de40768 Teensy-2.0: Add board_app_initalize() 2016-06-13 15:13:19 -06:00
Gregory Nutt
eac916c907 Fix some warnings 2016-06-13 11:48:20 -06:00
Gregory Nutt
94f5e87222 configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-13 11:04:19 -06:00
Gregory Nutt
40f0481478 configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-13 09:44:12 -06:00
Gregory Nutt
b9aadf7242 configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-13 08:45:54 -06:00
Gregory Nutt
c494454bc4 configs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-13 07:43:55 -06:00
Gregory Nutt
b0458e36da configs/: Remove references to non-existent SPI_VERBOSE setting 2016-06-12 17:57:12 -06:00
Gregory Nutt
a5457987d8 configs/: Change some err() ERRORS to warn() WARNINGS or info() 2016-06-12 17:02:46 -06:00
Gregory Nutt
a1469a3e95 Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2 Rename *lldbg to *llerr 2016-06-11 14:55:27 -06:00
Gregory Nutt
1cdc746726 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe Replace all occurrences of vdbg with vinfo 2016-06-11 11:59:51 -06:00
Gregory Nutt
3a74a438d9 Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO 2016-06-11 11:50:18 -06:00
Gregory Nutt
e891a33c2e Completely trivial changes from review of last PR 2016-06-10 14:59:53 -06:00
Gregory Nutt
525557c098 Merged in kfazz/nuttx/kinetis_pwm (pull request #50)
kinetis pwm support
2016-06-10 14:54:19 -06:00
Lok Tep
4d8cc9f528 serial + chip id 2016-06-10 12:05:32 +02:00
Lok Tep
6ea61306b6 Merge remote-tracking branch 'remotes/parent/master' 2016-06-10 09:10:07 +02:00
kfazz
7df66c5654 register each enabled timer 2016-06-10 01:11:44 -04:00
Lok Tep
073c62d7f0 try more opts 2016-06-10 00:10:35 +02:00
Gregory Nutt
df5a2105cd CC3200 Launchpad: Should not include apps/nsh.h; also fix a warning 2016-06-09 11:25:52 -06:00
kfazz
00c02fde62 Teensy 3.x FTM pin definitions. 2016-06-09 13:08:35 -04:00
Gregory Nutt
8c9bc6da79 Trivial changes from review of last PR 2016-06-09 09:39:41 -06:00