Commit Graph

9420 Commits

Author SHA1 Message Date
Pierre-noel Bouteville
d4f3954b35 lib_dumpbuffer: Now prints a large on-stack buffer first to avoid problems when the syslog output is prefixed with time. 2016-07-27 08:40:46 -06:00
Gregory Nutt
312e30026b Back out a tiny part of the last commit 2016-07-25 15:21:53 -06:00
Gregory Nutt
59f626313d Changes from review of last PR 2016-07-25 15:16:51 -06:00
Gregory Nutt
250b9d5597 Merged in JordanMacIntyre/nuttx/PWM_driver (pull request #106)
Pwm_driver
2016-07-25 14:59:45 -06:00
jmacintyre
550144fe32 PWM driver working now, will continue testing 2016-07-25 15:53:28 -05:00
jmacintyre
f5ea811c97 create PWM driver, still having issues with building 2016-07-25 14:17:07 -05:00
Gregory Nutt
88cb41a0dc configs/stm32f4discovery/canard: Change version to lastet. Need to match change to apps/libcanard/Kconfig 2016-07-24 07:52:33 -06:00
Gregory Nutt
5a0f9fcb7d Fix STM32 RTC Alarm interrupts. They were being enabled BEFORE the interrupt system was being initialized. 2016-07-23 10:36:06 -06:00
Gregory Nutt
e77872057d Fix up a few remaining incorrect CONFIG_GPIO_IRQ 2016-07-22 15:01:00 -06:00
Gregory Nutt
416aa99620 Correct name, not CONFIG_GPIO_IRQ but CONFIG_SAM34_GPIO_IRQ 2016-07-22 14:57:30 -06:00
Gregory Nutt
b750dd5ff7 Correct name, not CONFIG_GPIO_IRQ but CONFIG_LPC43_GPIO_IRQ 2016-07-22 14:55:39 -06:00
Gregory Nutt
c282e1d4ff Correct name, not CONFIG_GPIO_IRQ but CONFIG_TIVA_GPIO_IRQS 2016-07-22 14:54:59 -06:00
Gregory Nutt
c00ad93165 Rename HC version of CONFIG_GPIO_IRQ to CONFIG_HCS12_GPIOIRQ 2016-07-22 14:46:54 -06:00
Gregory Nutt
e6137ff129 Rename SAMD/L version of CONFIG_GPIO_IRQ to CONFIG_SAMDL_GPIOIRQ 2016-07-22 14:38:33 -06:00
Gregory Nutt
3aea9b8bf3 Rename KL version of CONFIG_GPIO_IRQ to CONFIG_KL_GPIOIRQ 2016-07-22 14:34:21 -06:00
Gregory Nutt
5386403476 Rename Kinetis version of CONFIG_GPIO_IRQ to CONFIG_KINETIS_GPIOIRQ 2016-07-22 14:30:37 -06:00
Gregory Nutt
264578135d Rename LP11xx version of CONFIG_GPIO_IRQ to CONFIG_LPC11_GPIOIRQ 2016-07-22 14:23:31 -06:00
Gregory Nutt
360efe03c1 Rename LP17xx version of CONFIG_GPIO_IRQ to CONFIG_LPC17_GPIOIRQ 2016-07-22 14:18:30 -06:00
Gregory Nutt
10fff9011a Move include/nuttx/configdata.h to include/nuttx/mtd/configdata.h 2016-07-21 13:34:54 -06:00
Gregory Nutt
2803acbe06 All configurations with CONFIG_NET_LOCAL=y need to select CONFIG_PIPES 2016-07-20 17:28:39 -06:00
Gregory Nutt
e2dad79301 All THTTPD configurations need to select CONFIG_PIPES 2016-07-20 17:25:39 -06:00
Gregory Nutt
e88eb85ded Update README 2016-07-20 17:02:19 -06:00
Gregory Nutt
a7de34b88d Update some configurations. Make sure that CONFIG_PIPES is set in configuratins that need it. 2016-07-20 14:21:49 -06:00
Gregory Nutt
600176bb9c Freedom K64F: Refresh configurations 2016-07-20 14:21:06 -06:00
Gregory Nutt
8082404381 Update a README 2016-07-20 14:19:09 -06:00
Gregory Nutt
2a58264232 Merged in JordanMacIntyre/nuttx/driver-dev (pull request #103)
changed default nsh serial to UART0 (openSDA usb)
2016-07-20 14:13:55 -06:00
Gregory Nutt
ee9c66186c ramdisk.h moved from include/fs/nuttx/ to include/nuttx/drivers. 2016-07-20 14:02:18 -06:00
Gregory Nutt
1b9b3a7b47 pwm.h moved from include/nuttx/ to include/nuttx/drivers. 2016-07-20 13:48:24 -06:00
Gregory Nutt
ddcaa3d425 can.h moved from include/nuttx/ to include/nuttx/drivers. 2016-07-20 13:38:36 -06:00
Gregory Nutt
4b4dbc79a2 Move driver related prototypes out of include/nuttx/fs/fs.h and into new include/drivers/drivers.h 2016-07-20 13:15:37 -06:00
jmacintyre
69dca44ca6 changed default nsh serial to UART0 (openSDA usb) 2016-07-20 13:28:34 -05:00
Alan Carvalho de Assis
91ba0be667 Enable TERMIOS support in stm32discovery/pseudoterm configuration 2016-07-16 17:49:37 -06:00
Gregory Nutt
8710b56670 STM32F4 Discovery: Add a pseudo-terminal example 2016-07-16 11:30:43 -06:00
Gregory Nutt
e7f31cc967 Freedom-K64F: Enable built-in applications in all configurations 2016-07-15 14:58:20 -06:00
Gregory Nutt
a615944e0a Merged in HeathPetersen/nuttx (pull request #101)
Correct some Make.defs problems for qemu-486 config
2016-07-15 07:03:21 -06:00
Gregory Nutt
c9d7ae6f47 Oops part of last commit was still in the editor. 2016-07-15 06:29:46 -06:00
Vladimir Komendantskiy
fd51393a37 Correct typos in SAMV71-XULT and SAME70-Xplained header files. 2016-07-15 06:26:04 -06:00
Gregory Nutt
e42e3bd58c Update README 2016-07-14 10:10:37 -06: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
abf909d2c0 Freedom K64F: Calibrate timing loop 2016-07-13 14:09:24 -06:00
Gregory Nutt
b38c6da401 Update a README 2016-07-13 10:11:41 -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
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