Commit Graph

9464 Commits

Author SHA1 Message Date
Michał Łyszczek
bd5eb5233c Added check to make sure USBDEV is not set with USBHOST 2016-08-17 22:13:27 +02:00
Michał Łyszczek
12e97600ee Remove unncessary FAR pointers 2016-08-17 22:07:10 +02:00
Michał Łyszczek
5026c192b2 Add g_ prefix for global variable 2016-08-17 22:05:12 +02:00
Michał Łyszczek
2315ed85cc Add missing guard for header file 2016-08-17 22:03:24 +02:00
Michał Łyszczek
b85fe9f109 Updated configuration for board without net 2016-08-17 22:00:45 +02:00
Michał Łyszczek
efead3e564 Add debug messages, some more code refactoring 2016-08-17 21:53:04 +02:00
Michał Łyszczek
2ae38b6bc6 Refactored: function names, coding style 2016-08-17 21:34:51 +02:00
Michał Łyszczek
44e0a837a8 Add usb mouse and hub support 2016-08-17 20:20:15 +02:00
Michał Łyszczek
e7445f9556 Add otgfs support (host only) 2016-08-17 20:13:17 +02:00
Alan Carvalho de Assis
92341600a7 configs/stm32f103-minimum: Add board configuration to initialize Audi Tone Generator 2016-08-16 13:28:42 -06:00
Gregory Nutt
f40bb14495 Kinetis: Add support for I2C1 2016-08-16 07:21:03 -06:00
Michał Łyszczek
795db7c103 Add support for onboard joystick 2016-08-15 21:52:00 +02:00
Michał Łyszczek
83fca7ded7 Add support for spi sdcard with card detection logic 2016-08-15 17:34:43 +02:00
Alan Carvalho de Assis
d941f6d380 Add oneshot board initialization to stm32f103-minimum 2016-08-15 09:33:51 -06:00
Piotr Mienkowski
053aea552f Add support for SAMV7 DACC module 2016-08-15 08:00:36 -06:00
Michał Łyszczek
8c396a2986 Add adc support (on-board potentiometer) 2016-08-14 17:16:49 +02:00
Michał Łyszczek
7bca86fa31 Add support for stm32butterfly ethernet interface 2016-08-14 16:33:48 +02:00
Michał Łyszczek
47fae83b16 Add minimal support for Kamami stm32butterfly2 development board
Supported is:
* LED1-4
* UART2 (terminal for nsh)
2016-08-14 16:32:11 +02:00
Gregory Nutt
3023724cf2 Changes from review of PR 113 2016-08-13 17:32:35 -06:00
Gregory Nutt
8315b051ca Merged in v01d/nuttx/kinetis_i2c (pull request #113)
I2C and RTC support for Kinetis
2016-08-13 16:54:14 -06:00
v01d
2743df1e64 teensy 3.x i2c 2016-08-13 18:57:50 -03:00
Gregory Nutt
046acf6b54 Add a simulated oneshot lowerhalf driver 2016-08-12 13:14:03 -06:00
Gregory Nutt
9ca15c718d configs/sim: Add a configuration useful for testing Mini Basic 2016-08-12 06:55:10 -06:00
Gregory Nutt
ed5ddb3bf6 Cosmetic, remove a blank line. 2016-08-11 12:51:20 -06:00
v01d
f715e9b787 RTC working, I2C in progress 2016-08-09 14:01:27 -03:00
Gregory Nutt
b071e4ce92 Refresh all STM32, EFM32, and SAMV7 configurations for SPI H/W features configuration changes 2016-08-08 12:50:14 -06:00
Gregory Nutt
d787b41705 maple/nx configuration uses memlcd.c and so must have CONFIG_SPI_HWFEATURES and CONFIG_SPI_BITORDER 2016-08-08 11:59:27 -06:00
v01d
581bbc672a undo accidental change on teensy 3.x defconfig 2016-08-07 00:19:47 -03:00
v01d
d483f7939f I2C0 support for kinetis/teensy-3.x (to be tested) 2016-08-06 22:23:59 -03:00
Gregory Nutt
f43ded46e6 Rename arch/sh to arch/renesas, cont'd 2016-08-06 14:03:38 -06:00
Gregory Nutt
8ee155da3d Rename arch/sh to arch/renesas 2016-08-06 13:33:41 -06:00
Young
358a265c4a Enable TM4C1294-launchpad board build 2016-08-07 01:08:59 +08:00
Alan Carvalho de Assis
ef3a1f772d configs/stm32f103-minimum:Add board support to MFRC522 driver 2016-08-06 08:51:58 -06:00
Gregory Nutt
5407a673fc Tiva TM4C-1294 Launchpad: tiva_appinit.c is a better home for board_pwm_setup() vs. tiva_bringup.c 2016-08-05 13:05:41 -06:00
Gregory Nutt
7da67bc80a drivers/spi: Add a helper function that encapsulates and manages a sequency of SPI transfers. 2016-08-05 10:23:04 -06:00
Gregory Nutt
f5ae207516 Changes from Review of last PR adding Tiva PWM driver 2016-08-05 07:17:42 -06:00
Young
2994decd3c Add tiva PWM lower-half driver implementation 2016-08-05 18:53:25 +08:00
Gregory Nutt
3d5df2e5af Extend I/O Expander interrupt controls; Add test of level sensitve interrupt to Simulated I/O expander 2016-08-04 16:19:52 -06:00
Gregory Nutt
e9b604914c config/sim: Add logic to set the simulated I/O expander for testing with apps/examples/gpio 2016-08-03 12:45:16 -06:00
Gregory Nutt
c214aab09f Update README 2016-08-03 10:07:20 -06:00
Gregory Nutt
28afd30a4e configs/sim: Add simulator-based test support for apps/examples/gpio 2016-08-01 15:29:01 -06:00
Gregory Nutt
486212a750 Extend the dirlinks target. This plugs some wholes open by last chicken-and-egg build fix 2016-07-28 11:59:22 -06:00
Maciej Wójcik
413a7256d7 PR 91: Disable the RTC in the hymini-stm32v/nsh2 configuration. I hesitated to include this change because it masks the unresolved problem of Issue 9. 2016-07-28 10:46:24 -06:00
Gregory Nutt
59abd48bdf Oops. Backout some debug code that was accidentally committed. 2016-07-27 08:57:31 -06:00
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