Commit Graph

3655 Commits

Author SHA1 Message Date
Gregory Nutt
2818e905c7 Refresh configuration 2014-11-10 13:43:43 -06:00
Gregory Nutt
3c6dd42e28 Remove stm32f100rc_generic board configuration 2014-11-10 07:48:48 -06:00
Gregory Nutt
781f537f3e Merge remote-tracking branch 'origin/master' into bas24 2014-11-03 17:22:38 -06:00
Gregory Nutt
35006f48de STM32GG Starter Kit: Misc bugfixes for clean compile of the NSH configuration 2014-11-03 17:20:03 -06:00
Gregory Nutt
e1fcd2b550 STM32GG Starter Kit: Add basic NSH configuration 2014-11-03 16:58:22 -06:00
Gregory Nutt
9a7743bae8 STM32GG Starter Kit: Add Makefile and boot logic 2014-11-03 16:26:55 -06:00
Gregory Nutt
7b9523e44d STM32GG Starter Kit: Add Kconfig and linker script files 2014-11-03 16:22:29 -06:00
Gregory Nutt
4df8237637 EFM32GG: Add a few files for the starter kit 2014-11-03 16:13:12 -06:00
Gregory Nutt
b694658b17 Disable BINFS in the sim/bas config 2014-11-01 17:44:55 -06:00
Gregory Nutt
8bf7478e2c Remove duplicate getopt() in BAS 2014-11-01 17:16:15 -06:00
Gregory Nutt
10d08cf4ab New version of configs/bas: Runs BAS as an NSH builtin 2014-11-01 16:23:51 -06:00
Gregory Nutt
48a8815134 Back out configs/sim/bas 2014-11-01 15:52:08 -06:00
Gregory Nutt
8a7f49b98e Add configs/sim/bas 2014-11-01 15:26:41 -06:00
Gregory Nutt
274002a8e1 Update document and README 2014-10-30 10:24:42 -06:00
Gregory Nutt
23a2c0a9d3 Fix all yahoo links. From Magnus Templing 2014-10-30 09:39:23 -06:00
Gregory Nutt
4384a26c88 Fix typo introduced into a Kconfig file in the last few days. Thanks to Sebastien Lorquet 2014-10-30 08:18:58 -06:00
Gregory Nutt
f9d1bad0b5 Remove some dangling whitespace 2014-10-30 06:57:43 -06:00
Gregory Nutt
b3c790597f Documentation Update 2014-10-30 06:56:30 -06:00
Gregory Nutt
1cc5ac8bcb SAM4E-EK: Fix an error in USART1 pin number 2014-10-29 17:29:21 -06:00
Gregory Nutt
5184952c7a EFM32 Gecko Starter Kit: Calibrate delay loops, update README 2014-10-29 12:31:55 -06:00
Gregory Nutt
4d7a88264b EFM32 Gecko Starter Kit: Switch to LEUART0 as the default console 2014-10-29 11:43:03 -06:00
Gregory Nutt
47a8e614e8 EFM32: Minor serial interrupt mask change; Add LEUART0 board support 2014-10-29 08:04:29 -06:00
Gregory Nutt
8a17a264ff Fix a few more EFM32 integration bugs 2014-10-28 19:02:21 -06:00
Gregory Nutt
b9814fac99 EFM32: Need to configure UART GPIOs as outputs 2014-10-28 14:50:15 -06:00
Gregory Nutt
9e773f396e EFM32: Fix GPIO configuration logic; Add missing board initializatin logic; Fix LED naming 2014-10-28 10:39:57 -06:00
Gregory Nutt
f2a2e6b645 EFM32G: Fix typo in memory map header file 2014-10-28 09:26:06 -06:00
Gregory Nutt
947c896c45 EFM32: Correct a typo in LFXO bit in clock configuration 2014-10-28 08:59:27 -06:00
Gregory Nutt
1c8bf0c395 EFM32: Update a configuration; Compile fix for when DEBUG is enabled 2014-10-28 07:24:04 -06:00
Gregory Nutt
cf5e0c1b39 Refresh a configuration 2014-10-28 00:11:40 -06:00
Gregory Nutt
c232e6ff29 Refresh configuration 2014-10-27 13:12:19 -06:00
Gregory Nutt
0f1ba777f0 Rename CONFIG_STM32_HAVE_USARTn to CONFIG_STM32_HAVE_UARTn for n-4,5,7,8 2014-10-27 11:29:43 -06:00
Gregory Nutt
4aeb728aca SAM4E-EK: Add -fno-strict-aliasing 2014-10-25 15:23:14 -06:00
Gregory Nutt
de08cc54fd EFM32: Correct handling of DMA descriptors; Add initialization of DMA CTRLBASE 2014-10-25 14:55:02 -06:00
Gregory Nutt
9573023529 SAM4E-EK: Add support for PHY insterrupt 2014-10-24 12:28:57 -06:00
Gregory Nutt
628ad4c975 Kconfig: Allow select of standard board properties for custom board 2014-10-24 09:57:32 -06:00
Gregory Nutt
b7a35c1e65 SAM4E: Fix options to select GPIO interrupts in Kconfig 2014-10-24 09:29:01 -06:00
Gregory Nutt
1841895042 Refresh SAM4E configurations 2014-10-23 10:16:00 -06:00
Gregory Nutt
c8b4ab7383 Add README for non-existent port to the EFM32GG-STK3700; fix typos in related README files 2014-10-22 14:32:25 -06:00
Gregory Nutt
7906fe0d4f Add logic to manage BC_EN signal 2014-10-22 14:27:05 -06:00
Gregory Nutt
d930f2cdbc EFM32: Add buton interrupt handling for the Olimex board 2014-10-21 13:51:30 -06:00
Gregory Nutt
37e08c3b49 The olimex-efm32g880f128-stk now defaults to use LEUART1 as the serial console. Also fixes lots of compile bugs from the original LEUART checkin 2014-10-21 11:38:51 -06:00
Gregory Nutt
d273686d42 EFM32: Add LFA and LFB clock support 2014-10-21 10:45:33 -06:00
Gregory Nutt
9537715ebb stm32f429i-disco: add wrapper for spi5 evice
initializing

As long as the method up_spiinitialize recognized the initialized state of the
spi device by the spi enable flag of the cr1 register, it isn't safe to disable
the spi device outside of the nuttx spi interface structure. But this has to be
done as long as the nuttx spi interface doesn't support bidirectional data
transfer for multiple devices share one spi bus. This wrapper store the
initialized state of the spi device after the first initializing and should be
used by each driver who shares the spi5 bus.

Note! Understand this as temporary workaround.

Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:36:11 -06:00
Gregory Nutt
c6c5a221e9 stm32f429i-disco: add new platform config
This adds a new default platform configuration to support the lcd device
connected to the stm32f429i-disco board.

Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:33:25 -06:00
Gregory Nutt
7a217f1015 stm32f429i-disco: enable usage of ili93414ws
This enables build and configuration of the ili94314ws sub driver.

Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:24:24 -06:00
Gregory Nutt
17af388456 stm32f429i-disco: implements lcd initializing
This enables the initializing of the lcd device connected on the
stm32f429i-disco. The following methods are provided:
- up_lcdinitialize
- up_lcduninitialize
- up_lcdgetdev

The corresponding ili9341 lcd device in the nuttx driver section can be
configured by Kconfig. Interface 0 is used by default.

Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:21:48 -06:00
Gregory Nutt
b8b9834ae9 stm32f429i-disco: implements ili9341 interface
This add a new sub driver ili93414ws which implements the ili9341
interface. This allows to control the ili9341 lcd display of the
stm32f429i-disco board. This also modifies the board specific header to
make the entry point to the sub driver known.

Generally the display supports two different ways to drawing pixel data. This
can be done by RGB interface or MCU interface. Second one is supported by this
driver.

The configuration of the MCU interface is fixed by the hardware pinout.
In the case of the stm32f429i-disco board it is a 4-wire serial (spi)
interface. The display is connected on spi5 and acts as a slave device.
It supports half duplex bidirectional mode for transmitting and receiving data.

Nuttx spi interface only support full duplex so the interface can not be used
for the driver in conventional way. Therefore the driver has its own logic for
the communication with the spi5 device.

But if multiple devices share the same spi5 bus, e.g. if MEMS support enabled
the spi bus must be locked to avoid inconsistency. This is done by enable
CONFIG_STM32_SPI5 in the nuttx configuration. In this case the driver uses the
spi_dev_s instance for the spi5 port to interact with the nuttx spi interface,
e.g. using method SPI_LOCK to lock the bus for the current usage. So it is safe
to share the spi bus. Keep in mind this is a possible workaround.
I would be happy if nuttx spi interface supports different spi modes other
than full duplex only. Are there any plans?

Futhermore the driver supports a few configurable settings:

1. SPI Frequency.

This allows to configure the spi frequency for the communication with the
display. As a result of the spi devices of the stm32f429 only allow fixed
frequency by divider depending on PCLK1, it is not possible to configure each
spi clock we want. A divider of 4, what means ~10Mhz spi clock, gives me the
best results and should be near the upper limit.

2. SPI 16-bit mode.

This allows to setup the spi hardware to 16-bit mode for read or write
operations when receiving or transmitting pixel data from or to the gram of the
display. This is not documented in the ili9341 reference manual but this trick
works just fine because we use only one read or write operation for each pixel,
instead two. This gives a small performance boost.

The driver implements all functions described in the header (see
include/nuttx/lcd/ili9341.h).
Note! Using the backlight function has no effect, because the board
doesn't support controlling of the backlight in the current hardware
layout.

Todo: Add support for dma transfer for writing pixel data to the displays gram.

Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:17:56 -06:00
Gregory Nutt
bce6a9e077 stm32f429i-disco: Fix obsolete SPI5 dependency. From Marco Krahl 2014-10-20 15:10:50 -06:00
Gregory Nutt
b505c11e48 Update README files 2014-10-20 15:08:35 -06:00
Gregory Nutt
01984fe6e7 Add board support for the Olimex EFM32G8809128 STK 2014-10-20 12:00:37 -06:00
Gregory Nutt
4fb5e6d05d EFM32 Gecko Starter Kit: Must initialize LEDs on boot 2014-10-20 11:52:31 -06:00
Gregory Nutt
1f60e40115 Merge branch 'efm32' 2014-10-20 08:15:53 -06:00
Gregory Nutt
5fa6188c55 Add some UART configuration logic (still incomplete) 2014-10-19 16:42:15 -06:00
Gregory Nutt
6839ac9c60 Basic clock configuration logic 2014-10-19 11:08:56 -06:00
Gregory Nutt
c82488f1a0 Add frame for EFM32 GPIO logic (empty functions) 2014-10-18 18:40:08 -06:00
Gregory Nutt
5ffef498c6 Need to enable the standard serial driver for NSH 2014-10-18 16:15:14 -06:00
Gregory Nutt
c15f07dba3 Use UART0 for the serial console 2014-10-18 12:47:45 -06:00
Gregory Nutt
c71e687089 Add board XTAL definitions 2014-10-18 12:07:34 -06:00
Gregory Nutt
aae510ac5b Add EFM32 CMU header file 2014-10-18 09:26:56 -06:00
Gregory Nutt
452b1f3c3a Add EFM32 Memory Maps 2014-10-17 16:43:52 -06:00
Gregory Nutt
848ca3e9cc Add GPIO header file and EFM32 Gecko Starter Kit LED support 2014-10-17 14:17:44 -06:00
Gregory Nutt
598ebd29a2 More EFM32 files and logic 2014-10-17 12:02:32 -06:00
Gregory Nutt
fd8a610e4d Add EFM32 interrupt vector defintions 2014-10-17 10:34:39 -06:00
Gregory Nutt
be389f411b Add configuration support for the EFM32 Gecko Starter Kit 2014-10-17 09:25:52 -06:00
Gregory Nutt
aff4cce380 Add directory for EFM32 G8XX STK board 2014-10-17 08:43:06 -06:00
Gregory Nutt
dbaf8096b8 Typo 2014-10-17 08:37:59 -06:00
Gregory Nutt
81f013ddb8 Update README 2014-10-15 07:27:54 -06:00
Gregory Nutt
5dd5290883 Rename configs/nucleo-f401re to configs/nucleo-f4x1re 2014-10-15 07:05:08 -06:00
Gregory Nutt
e659533329 Extend the Nucleo-F401RE configuration to also support the Nucleo-F411RE. From Serg Podtynnyi 2014-10-14 17:32:13 -06:00
Gregory Nutt
74d8218618 Trivial update to README file 2014-10-13 12:05:49 -06:00
Gregory Nutt
276cb2b65b Add SAM4E OpenOCD scripts 2014-10-13 09:48:46 -06:00
Gregory Nutt
872e9fce26 Cosmetic update to comments 2014-10-12 10:53:29 -06:00
Gregory Nutt
a8a4622fe1 Update STM3240G-EVAL nxwm and knxwm configurations 2014-10-12 09:41:08 -06:00
Gregory Nutt
c9d7472d68 Change naming of HP work queue configuration varaibles to be symmetric with LP work queue naming 2014-10-11 17:03:44 -06:00
Gregory Nutt
4c2a14348a Refresh configuration 2014-10-11 16:26:46 -06:00
Gregory Nutt
b78fe7c270 Rename CONFIG_SCHED_USRWORK to CONFIG_LIB_USRWORK 2014-10-11 15:59:40 -06:00
Gregory Nutt
9292e3d9de Decouple the user-space work queue from the kernel space work queues 2014-10-11 15:50:22 -06:00
Gregory Nutt
5671ebeab3 Enable TCP write buffering in one SAM4E-EK configuration 2014-10-11 13:03:07 -06:00
Gregory Nutt
111270389d Update a README; Refresh a configuratino 2014-10-11 12:01:33 -06:00
Gregory Nutt
91f5ecc347 fs/aio/aio.h needs to disable itself is CONFIG_FS_AIO is not defined 2014-10-09 10:45:43 -06:00
Gregory Nutt
4efb064169 Remove non-standard, conditional syslog_enable(), instead only the required, standard setlogmask() 2014-10-09 06:09:03 -06:00
Gregory Nutt
176491ce75 Misc changes to get a clean build after all of the syslog changes. There are probably other things still broken 2014-10-08 16:23:48 -06:00
Gregory Nutt
27a7f8b018 Remaining files under nuttx/configs changed to use the corrected syslog interfaces 2014-10-08 15:32:00 -06:00
Gregory Nutt
c91669ea47 All USB Composite-related files under nuttx/configs changed to use the corrected syslog interfaces 2014-10-08 15:13:00 -06:00
Gregory Nutt
8c1e954b84 All USB MSC-related files under nuttx/configs changed to use the corrected syslog interfaces 2014-10-08 14:59:10 -06:00
Gregory Nutt
f40857c04f All NSH-related files under nuttx/configs changed to use the corrected syslog interfaces 2014-10-08 14:28:55 -06:00
Gregory Nutt
868fa211bc Remove non-functional vestiges of OTGHS in FS mode (including OTGFS2); try to convert the stm32f429i-disco configuration to use OTGHS instead of OTFHS in FS mode (OTGFS2). But I don't have the boards and can't test 2014-10-07 15:25:31 -06:00
Gregory Nutt
a86d459eb6 Refresh sim/ostest configuration 2014-10-05 13:28:05 -06:00
Gregory Nutt
7df821b7b9 Update README 2014-10-03 09:56:05 -06:00
Gregory Nutt
ec2193f506 configs/sim/nsh/defconfig -- refresh, enable wall-time, dow builds natively in 64-bit mode 2014-10-03 08:44:42 -06:00
Gregory Nutt
73afa66228 Cosmetic update to comments/README 2014-10-01 15:02:49 -06:00
Gregory Nutt
3f0e65a32d Update the TODO list and a README 2014-09-30 14:48:31 -06:00
Gregory Nutt
71b574f26c Repartition some message queue logic: sched/mqueue should have all mqueue knowledge; fs/mqueue should deal only with inodes 2014-09-30 08:03:39 -06:00
Gregory Nutt
712d130a13 Fix some comments: Remove button description from GPIO interrupt handlers that derive from the button interrupt handler 2014-09-29 12:22:31 -06:00
Gregory Nutt
d35492e703 Refresh STM32F4Discovery kosest configuration file 2014-09-29 08:00:51 -06:00
Gregory Nutt
60f8a8ec86 STM32F4-Discovery: Fix some backwad conditional compilation 2014-09-29 06:49:55 -06:00
Gregory Nutt
1b2729e35e More testing, bugfixes and integration of VFS-based named semaphores 2014-09-28 17:30:42 -06:00
Gregory Nutt
242b34cf46 Create a build structure that will (eventually) support using the VFS to manage named semaphores 2014-09-28 12:19:01 -06:00
Gregory Nutt
c901f5975b Updated README.txt files 2014-09-27 09:50:07 -06:00
Gregory Nutt
7455b4be53 Refresh configuration 2014-09-26 07:03:25 -06:00
Gregory Nutt
3901597746 Update README 2014-09-26 05:49:05 -06:00
Gregory Nutt
a5bc26db4a Fixes for compile of rwbuffer.c 2014-09-25 11:02:30 -06:00
Gregory Nutt
e583246638 Refresh sim/mtdpart configuration 2014-09-25 09:57:11 -06:00
Gregory Nutt
add4753c08 Trivial refresh of some SAMA5D4-EK configurations 2014-09-24 10:26:04 -06:00
Gregory Nutt
b33c2d9cef Move include/nuttx/mm.h to include/nuttx/mm/mm.h 2014-09-24 07:29:09 -06:00
Gregory Nutt
2fa7431ee7 Move include/nuttx/gran.h to include/nuttx/mm/gran.h 2014-09-24 06:55:26 -06:00
Gregory Nutt
18ce64d61e Add the build framework and skeleton files for the shared memory feature (no logic yet provided) 2014-09-22 14:53:56 -06:00
Gregory Nutt
37c309a49d Fix a few compile bugs and minor corrections to the mikroe-stm32f4 configuration source. From Ken Pettit 2014-09-22 11:23:02 -06:00
Gregory Nutt
f7920fb7be Document SAMA5D3x-EK/nxwm build problem 2014-09-20 17:20:10 -06:00
Gregory Nutt
5e285b8bc4 More NxWM build fixes 2014-09-20 16:47:00 -06:00
Gregory Nutt
c2e69373f3 Changes to get an NxWM configuration building correctly after all of the naming changes 2014-09-20 16:19:06 -06:00
Gregory Nutt
3bf2b50e46 Refresh/fix all nxterm (aka nxconsole) configuration files 2014-09-20 16:06:21 -06:00
Gregory Nutt
ffb60d064b More naming changes to get the stm3240g-eval/nxterm configuration building again 2014-09-20 15:53:28 -06:00
Gregory Nutt
fefc4f624b Change all occurrences of NxConsole to NxTerm 2014-09-20 15:01:50 -06:00
Gregory Nutt
3d050101eb Rename CONFIG_EXAMPLES_NXCONSOLE to CONFIG_EXAMPLES_NXTERM; rename CONFIG_NXWM_NXCONSOLE to CONFIG_NXWM_NXTERM 2014-09-20 14:25:51 -06:00
Gregory Nutt
0b67b111ae Rename CONFIG_NXCONSOLE* to CONFIG_NXTERM* 2014-09-20 14:18:08 -06:00
Gregory Nutt
be84c048c9 Fix nsh_archinitialize return value 2014-09-20 13:36:29 -06:00
Gregory Nutt
820a5b6dcd STM32F4Discovery: Add support for the microSD card slot on the STM32F4DIS-BB base board 2014-09-20 12:55:23 -06:00
Gregory Nutt
962aab5320 Add microSD card detect pin definition for the STM32F4DIS-BB board 2014-09-19 13:43:35 -06:00
Gregory Nutt
ae7b19921d Update README files 2014-09-19 10:12:03 -06:00
Gregory Nutt
942aaf6c31 SAMA5D4-EK/nsh: WM8904 support enabled; README updated 2014-09-18 14:29:20 -06:00
Gregory Nutt
e8b5a8e0d6 SAMA5D4-EK: Correct WM8904 PCK output selection 2014-09-18 08:35:15 -06:00
Gregory Nutt
cd9b9817fd SAMA5D4-EK: Add documentation/support for Rev E. board. Refresh NSH configuration. Fix some build errors/warnings introduced with recent work with the knsh configuration 2014-09-17 11:47:00 -06:00
Gregory Nutt
9591e76d5a Fix errors in apps/examplex/helloxx and cxxtext Makefiles; update SAMA5D3x-EK/hello defconfig 2014-09-17 07:32:55 -06:00
Gregory Nutt
5e5b33b7f5 Update README 2014-09-16 16:12:00 -06:00
Gregory Nutt
62a11fde1d Update TODO and a README 2014-09-16 13:58:55 -06:00
Gregory Nutt
85ba1f0be3 Update README 2014-09-16 13:26:10 -06:00
Gregory Nutt
9c3253e612 Enable kernel stack in SAMA5D4-EK knsh configurations 2014-09-15 17:00:02 -06:00
Gregory Nutt
beb3238f36 Update README, TODO, and make some unfinished configuration options dependent on EXPERIMENTAL 2014-09-13 15:45:26 -06:00
Gregory Nutt
ed9fced470 Add a configuration option for dynamic stack management 2014-09-13 12:25:32 -06:00
Gregory Nutt
047eda6159 Add STM32F4DIS-BB GPIO pin usage 2014-09-13 12:25:01 -06:00
Gregory Nutt
b7f867ef1e Add the network enabled NSH configuration for the STM32F4Discovery board with the STM32F4DIS-BB base board 2014-09-13 08:37:07 -06:00
Gregory Nutt
70c33928d8 Add STM32F4Discovery configuration with the STM32F4DIS-BB base board 2014-09-13 07:28:14 -06:00
Gregory Nutt
87031fd3a4 Update TODO list and README 2014-09-13 06:10:23 -06:00
Gregory Nutt
1f3db86106 Fix one more dependency upon having a symbol table 2014-09-12 13:03:10 -06:00
Gregory Nutt
8f30804e05 Having a symbol table is an option. There are no symbol tables with CONFIG_BUILD_KERNEL, for example. 2014-09-12 12:48:22 -06:00
Gregory Nutt
4660e0e7f8 Enable NSH file applications in thise configureation 2014-09-12 12:46:06 -06:00
Gregory Nutt
f8170550e1 ARMv7-A: Modify up_fullcontextrestore() for CONFIG_BUILD_KERNEL. It changed CPSR while in kernel. That will crash is the new CPSR is user mode while executing in kernel space. Fixed by adding a SYS_context_restore system call. There is an alternative, simpler modification to up_fullcontextrestore() that could have been done: It might have been possible to use the SPSR instead of the CPRSR and then do an exception return from up_fullcontextrestore(). That would be more efficient, but I never tried it. 2014-09-12 08:04:27 -06:00
Gregory Nutt
9e990b4cbe Add LED support for the CC3200 Launchpad. From Jim Ewing 2014-09-11 14:45:20 -06:00
Gregory Nutt
0fc55d042f Misc fixes to repair some of the breakage to the SAMA5D4-EK elf configuration caused by changes for the knsh configuration 2014-09-11 10:31:12 -06:00
Gregory Nutt
fc35e35165 When a privileged thread exits, we have to use the kernel alloctor to free memory; when an unprivileged thread exits, we don't have to do anything... heap memory will be cleaned up when the address environment is torn down 2014-09-11 09:00:10 -06:00
Gregory Nutt
a0c22020be Refresh NTOSD configurations. Fix some minor bit rot build issues 2014-09-11 07:44:16 -06:00
Gregory Nutt
0614f69b72 Fix some minor issues with the exampls/udp Makefile 2014-09-10 19:49:55 -06:00
Gregory Nutt
9a5640b542 SAMA5D4-EK: These configurations now use the fixed DRAM mapping for manipulating the page memory pool. 2014-09-10 08:44:09 -06:00
Gregory Nutt
1f2adbd4c3 pcDuino: Several fixes so that it still builds after other Cortex-A changes. 2014-09-10 06:24:39 -06:00
Gregory Nutt
de7fbf92a0 Add logic that will permit us to build user libraries with different CFLAGS than kernel code. This is needed because we need the -fno-common option when building ELF code to prevent SHN_COMMON relocations 2014-09-09 15:45:37 -06:00
Gregory Nutt
a9e0e7b41d Update changelog 2014-09-09 13:54:56 -06:00
Gregory Nutt
d7a3a2c432 SAMA5D4-EK kernel config can now boot from a ROMFS file system 2014-09-09 13:51:13 -06:00
Gregory Nutt
a7681312f9 Add README.txt file for CC3200 Launchpad 2014-09-09 08:14:44 -06:00
Gregory Nutt
42299e4394 Update README file 2014-09-08 16:00:57 -06:00
Gregory Nutt
4cda2db309 Update CC3200 OpenOCD config 2014-09-08 16:00:26 -06:00
Gregory Nutt
507a4268db Rename SAMA5D4-EK kernel configuration to knsh for consistency with naming for other platforms 2014-09-08 11:05:05 -06:00
Gregory Nutt
31a908ea3a Cosmetic changes to comments/spacing 2014-09-08 08:57:25 -06:00
Gregory Nutt
f24072a91b SAM3X/Arduino Due: Fix typo in sam3x_periphclks.h; add SCLK definitions to board.h header file. From Fabien Comte 2014-09-08 06:16:35 -06:00
Gregory Nutt
e57d2e5460 SAM3X/Arduino Due: Fix typo in sam3x_periphclks.h; add SCLK definitions to board.h header file. From Fabien Comte 2014-09-08 06:14:59 -06:00
Gregory Nutt
91140ef594 Need to call elf_initialize() on bring-up before attempting to load ELF modules 2014-09-07 13:47:02 -06:00
Gregory Nutt
5849298be8 Refresh configuration 2014-09-07 13:46:14 -06:00
Gregory Nutt
f52b92a51f SAMA5D4-EK kernel configurations needs support for task termination clean-up 2014-09-06 14:40:39 -06:00
Gregory Nutt
8dffb83c84 Several fixes for errors introduced by last check-ins 2014-09-06 11:17:05 -06:00
Gregory Nutt
2332d8a736 SAMA5D4-EK kernel configuration now builds NSH instead of examples/elf 2014-09-06 07:04:14 -06:00
Gregory Nutt
14ed6d0a37 Need to add CRT0 to every Makefile in apps/examples/tests 2014-09-05 16:05:29 -06:00
Gregory Nutt
ae9ffe21b4 Copy more logic from nuttx/tools/Config.mk into the Make.defs file. Plus trivial related changes 2014-09-05 11:25:34 -06:00
Gregory Nutt
d573f5a96c Remove the 16z board support from the main source tree. It is still avaialable in the misc/Obsoleted directory 2014-09-05 07:59:31 -06:00
Gregory Nutt
e958040269 Add capability to perform initial board initialization on a separate worker thread. 2014-09-03 18:36:43 -06:00
Gregory Nutt
ee96ed963c SAMA5D4-EK: Add logic to mount an SD card as a boot device 2014-09-03 08:34:28 -06:00
Gregory Nutt
a488b10ac4 SAMA5D4-EK: Restructure initialization slightly to better support kernel mode 2014-09-03 07:29:49 -06:00
Gregory Nutt
9ee4b9e2b1 Every defconfig file should now have a valid setting for CONFIG_WDOG_INTRESERVE 2014-09-03 06:55:06 -06:00
Gregory Nutt
23147c40a5 Remove final traces of the 8015 from the NuttX source tree 2014-09-01 13:21:15 -06:00
Gregory Nutt
998740e75a Obsolete support for the 8051 family. Trying to maintain compatibility with this family is too much effort and there has never really been a successful NuttX impplementation on these parts 2014-09-01 12:27:17 -06:00
Gregory Nutt
be0a832f65 Updates to the CC3200-Launchpad configuration for better compatibility 2014-09-01 12:07:59 -06:00
Gregory Nutt
1780810d3d Rename kmalloc to kmm_malloc for consistency 2014-08-31 17:26:36 -06:00
Gregory Nutt
54fa3b0b59 Rename kfree to kmm_free for consistency with other naming conventions 2014-08-31 17:04:02 -06:00
Gregory Nutt
e46f8e090b SAMA5D4-EK: Add a configuration for testing the kernel build configuration (still a work in progress) 2014-08-31 11:08:49 -06:00
Gregory Nutt
3c1a70c9dc Remove CONFIG_MM_MULTIHEAP. Non-multiheap operation is no longer supported 2014-08-31 10:54:55 -06:00
Gregory Nutt
351d20717d Separate flat, protected, and kernel mode library selected into separate files. The conditional logic as exceed my able to comprehend and maintain the selections. 2014-08-30 10:43:58 -06:00
Gregory Nutt
50b6e30c40 Cosmetic 2014-08-30 09:26:21 -06:00
Gregory Nutt
40375c9cd6 Enable SYSCALL interface with address environments in the SAMA5D4-EK ELF configuration 2014-08-30 08:48:18 -06:00
Gregory Nutt
38b1f11e57 Refresh all configurations that have MMUs 2014-08-30 07:51:13 -06:00
Gregory Nutt
c52335fa02 Refresh configurations using the MPU 2014-08-30 07:25:29 -06:00
Gregory Nutt
b918b4b808 Add a tool to make refreshing configurations easier when you wnat to do a lot of them 2014-08-29 17:21:24 -06:00
Gregory Nutt
0f5dc2fc65 Various changes/fixes to get configs/stm32f4discovery/kostest working after the big configuration renaming (and after a long period of bit rot) 2014-08-29 16:23:46 -06:00
Gregory Nutt
faf16f229c Some initial clean-up in verifying the CONFIG_BUILD_PROTECTED configuration change 2014-08-29 15:07:35 -06:00
Gregory Nutt
e3ff0689bb Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL 2014-08-29 14:47:22 -06:00
Gregory Nutt
660e939d0c Update README file 2014-08-28 11:08:26 -06:00
Gregory Nutt
7ba9ddee7f STM32 FLASH fixes: use size_t instead of uint16_t, make interface more generic. From Freddie Chopin 2014-08-28 09:11:20 -06:00
Gregory Nutt
0b919b6381 CC3200 Lauchpad updates from Jim Ewing 2014-08-27 15:39:57 -06:00
Gregory Nutt
355bef617f Updated CC3200 Launchpad defconfig file 2014-08-26 16:42:06 -06:00
Gregory Nutt
c3a498264e CC3200 Launchpad updates 2014-08-26 16:31:47 -06:00
Gregory Nutt
f65b319037 Updates to CC3200 board config. Does not quite build yet 2014-08-26 15:49:50 -06:00
Gregory Nutt
b831f241d8 Add basic support for the CC3200 Launchpad. From Jim Ewing 2014-08-26 15:36:02 -06:00
Gregory Nutt
00f5e8f70e Bugfixes.. still integrating SAMA5 ELF with address environment 2014-08-25 15:27:58 -06:00
Gregory Nutt
17cc5caa98 SAMA5 ELF configuration with address environments finally builds without errors 2014-08-25 13:59:02 -06:00
Gregory Nutt
1725946447 Misc changed to get the SAMA5 ELF configuration with address environments working 2014-08-25 13:28:13 -06:00
Gregory Nutt
8c535f00dd Update configs/sama5d4-ek/elf/defconfig 2014-08-25 11:24:54 -06:00
Gregory Nutt
a832f97e90 Resolve ChangeLog conflicts 2014-08-25 06:26:48 -06:00
Gregory Nutt
7e9f569ac6 Add build support for ELF modules. Useless at the moment because there is no x86 relocation logic 2014-08-25 06:09:09 -06:00
Gregory Nutt
285e1cd7be Update some sim/ defconfig files. This now automatically switches them to x86_64 builds 2014-08-25 06:08:17 -06:00
Gregory Nutt
7aea220ebf After cached related fix, the ELF example is now functional 2014-08-24 14:12:45 -06:00
Gregory Nutt
a8034f495f Add a SAMA5 ELF configuration that is buing used to test the address environment changes 2014-08-24 12:59:13 -06:00
Gregory Nutt
df4525de25 Add linker scripts needed to build ELF modules 2014-08-24 12:57:42 -06:00
Gregory Nutt
021c3be415 Add ELF CFLAGS and LDFLAGS in some Make.defs files 2014-08-24 12:56:28 -06:00
Gregory Nutt
ed2d8e438e Fix some SAMA5 configuration dependency problems that are only visible when networking is disabled 2014-08-24 12:55:51 -06:00
Gregory Nutt
1624e2fbcf Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how it is selected -- the architecure must first declare support 2014-08-24 06:42:11 -06:00
Gregory Nutt
7cd8db9425 gran_reserve(): Add a new function to reserve unallocatable regions in the granule heap 2014-08-23 12:43:21 -06:00
Gregory Nutt
e79d6e3c8b A few fixes for compilation errors due to recent address environment fixes 2014-08-22 15:55:00 -06:00
Gregory Nutt
f7899c655a Update some STM32F4Discovery configurations 2014-08-22 15:24:26 -06:00
Gregory Nutt
d863ddb60f Update some STM32F4Discovery configurations 2014-08-22 15:19:25 -06:00
Gregory Nutt
dc13669131 Update ChangeLog and README.txt 2014-08-22 14:56:32 -06:00
Gregory Nutt
935e76df9f Changes to try to get P112 to compile with laster SDCC (it still does not) 2014-08-22 14:48:29 -06:00
Gregory Nutt
ad9b3f8ab8 wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide. 2014-08-21 11:16:55 -06:00
Gregory Nutt
a3f2280fe0 Viewtool STM32F107: Turn on ARP request logic and TCP write buffering 2014-08-21 08:54:51 -06:00
Gregory Nutt
e1d29d8718 Refresh some configurations 2014-08-21 08:36:36 -06:00
Gregory Nutt
c314d4ca2a Refresh some configurations 2014-08-21 08:36:16 -06:00
Gregory Nutt
2c41b35c6b SAM4E-EK: Add an NxWM configuration 2014-08-20 14:15:34 -06:00
Gregory Nutt
1c3d2b3c1a SAM4E-EK LCD finally works 2014-08-20 12:53:08 -06:00
Gregory Nutt
cf242fbeb4 SAM4E-EK: Add ILI9341-based LCD driver 2014-08-20 11:45:01 -06:00
Gregory Nutt
703d4bca7b Add a register definition header file for the ILI9341 LCD 2014-08-19 17:31:10 -06:00
Gregory Nutt
0b400d624a Trivial typo fix 2014-08-19 11:27:39 -06:00
Gregory Nutt
22eab59fb9 Refresh SAM4E-EK configurations 2014-08-19 10:38:35 -06:00
Gregory Nutt
9e44fec80c Change all Spark configurations to use SPI mode 1. From Alan Carvalho de Assis 2014-08-18 11:58:45 -06:00
Gregory Nutt
a8d7772ad6 Update README files, Kconfig help comments, and make the network monitor not EXPERIMENTAL 2014-08-18 07:24:47 -06:00
Gregory Nutt
004788d7c0 Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires 2014-08-17 16:51:56 -06:00
Gregory Nutt
7cc93b708a SAMA5 PHY: Add more debug instrumentation; Fix logic that would be used to disable PHY interrupts 2014-08-17 14:07:53 -06:00
Gregory Nutt
1db9858e9d KSZ80x1 PHY interrupts are active low and should trigger on the falling edge 2014-08-17 13:15:59 -06:00
Gregory Nutt
057af36c1d More of the PHY event notification logic change: Fix some compile errors when full feature is enabled; Add some missing ioctol logic 2014-08-16 15:04:09 -06:00
Gregory Nutt
7c11a84c98 Refresh configuration 2014-08-16 12:54:58 -06:00
Gregory Nutt
ec47914cf8 Convert existing board specific PHY interrupt interfaces to use newly defined standard interface 2014-08-16 08:35:31 -06:00
Gregory Nutt
d79c311508 SAMA5 setenv.sh: Add another CodeSourcery install path 2014-08-16 08:33:20 -06:00
Gregory Nutt
eed1d6c619 When reading the system timer, don't read a struct timespec, convert it to a fake tick count, then back to a timespec. Remove CLOCK_ACTIVETIME.. it is non-standard, unused, and gets in the way of changes like this 2014-08-15 03:55:41 -06:00
Gregory Nutt
eef608b942 Update README files 2014-08-12 10:01:12 -06:00
Gregory Nutt
1787b3e600 SAMA5: Enable the 32.768 crystal if SCHED_TICKLESS is selected 2014-08-11 14:29:43 -06:00
Gregory Nutt
56196ecea1 Fix a computation error in the fix for the last computational error 2014-08-11 12:07:49 -06:00
Gregory Nutt
c6273d083d Updated README files 2014-08-10 20:02:45 -06:00
Gregory Nutt
c7a51f4ef1 Cosmetic changed, updated README files, improved comments 2014-08-10 13:11:31 -06:00
Gregory Nutt
b39b227e2a Update README files 2014-08-10 11:34:20 -06:00
Gregory Nutt
e1769b22f1 Remove os_internal.h it has been replace by several new header files under sched/. There have been some sneak inclusion paths via os_internal.h, so expect a few compilation errors for some architectures 2014-08-08 18:39:28 -06:00
Gregory Nutt
d4b56eb3cc Move clock functions from sched/ to sched/clock 2014-08-08 14:43:02 -06:00
Gregory Nutt
c9661ad5a7 Change all time conversions. Yech. New timer units in microseconds breaks all existing logic that used milliseconds in the conversions. Something likely got broken doing this, probably because I confused a MSEC2TICK conversion with a TICK2MSEC conversion. Also, the tickless OS no appears fully functional and passes the OS test on the simulator with no errors 2014-08-07 18:00:38 -06:00
Gregory Nutt
0aa7209765 Change CONFIG_MSEC_PER_TICK to CONFIG_USEC_PER_TICK. This gives more options for system timers in general, but more importantly, let's us realize higher resolution for the case of CONFIG_SCHED_TICKLESS=y -- of course, at the risk of some new interger overvflow problems 2014-08-07 13:42:47 -06:00
Gregory Nutt
caba61999a Remove CONFIG_DISABLE_CLOCK 2014-08-07 12:35:24 -06:00
Gregory Nutt
736d3c169a Rename up_timerinit() to up_timer_initailize(); Add prototypes for candidate interfaces for the tickless OS; Don't build existing timer initialization logic if CONFIG_SCHED_TICKLESS is defined. 2014-08-06 16:26:01 -06:00
Gregory Nutt
5e045c26c2 Updated README 2014-08-06 12:30:35 -06:00
Gregory Nutt
0e134b5233 Update some defconfig files; enable network initialization thread 2014-08-06 12:22:51 -06:00
Gregory Nutt
b33beb3e20 NSH Networking: Also add an option to let platform-specific logic select the MAC address. 2014-08-06 10:12:10 -06:00
Gregory Nutt
7b9c44101d SAMA5D3 HSMCI: TX DMA is again disabled 2014-08-05 07:07:39 -06:00
Gregory Nutt
23024b2d6a SAMA5: Some usage documents for media players 2014-08-04 19:23:20 -06:00
Gregory Nutt
cc5c1b6539 WM8904: Update READMEs and defconfigs to last tested configuration 2014-08-04 15:36:16 -06:00
Gregory Nutt
e30d31367a WM8904 interface enable method now returns the previous interrupt state. Correct ordering of some WM8904: Need to provide MCLK before initializing the WM8904, not after 2014-08-04 14:56:20 -06:00
Gregory Nutt
eebdae30b2 Correct the WM8904 interrupt configuration, active high level. Fix that and don't pull-up 2014-08-04 14:54:20 -06:00
Gregory Nutt
1f213064e0 SAMA5 WM8904: Add option to use MAINCK as WM8904 MCLK 2014-08-03 11:01:02 -06:00
Gregory Nutt
159bcc255d SAMA5 PCK: Add Main clock as an option for the PCK clock source 2014-08-03 10:17:50 -06:00
Gregory Nutt
108ca4eaa5 SAMA5D3X-EK NxPlayer Configuration: Update with last WM8904 settings 2014-08-02 14:27:42 -06:00
Gregory Nutt
1f2428c087 WM8904: Ad the MCLK frequency to the interface definition. The WM8904 driver needs to know this frequency in order to configure the FLL to generate the correct bitrate 2014-08-01 18:37:56 -06:00
Gregory Nutt
e59bb45b33 Add debug logic to dump WM8904 registers 2014-08-01 18:07:20 -06:00
Gregory Nutt
83dab03576 SAMA5 WM8904: Fix errors in programmable clock output configuration 2014-08-01 15:18:58 -06:00
Gregory Nutt
805a02965c SAMA5 SSC: Start Delay is now configurable 2014-08-01 14:10:37 -06:00
Gregory Nutt
50bd2ba46c SAMA5 SSC: Frame Synch Delay is now configurable 2014-08-01 12:25:31 -06:00
Gregory Nutt
e836a974a5 Updated README 2014-07-31 15:00:24 -06:00
Gregory Nutt
5074f6cf7e SAMA5D3x-EK NxPlayer: Updated Configuration 2014-07-31 11:32:44 -06:00
Gregory Nutt
72f43393ed SAMA5D3x-EK: Add a configuration to support the command line NxPlayer. 2014-07-31 11:17:28 -06:00
Gregory Nutt
8450147004 SAMA5D3X-EK: Add support for the WM8904 audio CODEC 2014-07-31 11:15:52 -06:00
Gregory Nutt
c657139b30 SAMA5D3X-EK: Add support for the WM8904 audio CODEC 2014-07-31 11:14:57 -06:00
Gregory Nutt
78ffe6df56 SAMA5D3X-EK NSH: Refresh configuration 2014-07-31 11:13:10 -06:00
Gregory Nutt
0ad5d9f85d Add short document for running the NxWM demo 2014-07-31 08:18:07 -06:00
Gregory Nutt
2bdb126d2c SAMA5D4-EK NxWM: The USB keyboard is now the default input device 2014-07-30 17:37:02 -06:00
Gregory Nutt
f91c608d4c dd support for a USB keyboard as the NxConsole and text widget input. Not fully functional as of this initial check-in. Basic functionality is there, but there are conditions were the keyboard gets lost. 2014-07-30 17:01:51 -06:00
Gregory Nutt
376a7bcc12 Costmetic: Update TODO list, README files, refreshed configuration, updated comments 2014-07-30 14:26:50 -06:00
Gregory Nutt
276cc44878 SAMA5 HSMCI: e-enable TX DMA and verify that DMA writes to the SD card are functional. They are so now TX DMA is re-enabled in the driver. This might affect the SAMA5D3 platforms where the TX DMA problem was found. The SAMA4D3 and 4 use the same HSMCI driver. Much has change since then and it is not surprising that DMA is now functional. However, the has not be re-verified on the SAMA5D3 which has a different DMA controller. 2014-07-30 11:20:06 -06:00
Gregory Nutt
9c80dfb31c Updated README file, cosmetic changes to comments and debug output 2014-07-30 10:19:09 -06:00
Gregory Nutt
941df0945a Update TODO listi and README 2014-07-29 20:02:34 -06:00
Gregory Nutt
a826adb679 The SAMA5D4-EK NSH and NxWM configurations now have the auto-mounter configured to automatically mount the FAT file system on HSMCI0 at /mnt/sdcard 2014-07-29 16:36:15 -06:00
Gregory Nutt
3d49eadc80 Cosmetic updates to comments and README files and some naming 2014-07-29 16:35:47 -06:00
Gregory Nutt
d547e59767 Minor warning/latent bug clean-up of auto-mounter logic 2014-07-29 16:35:17 -06:00
Gregory Nutt
7b1b915226 SAMA5D4: Add auto-mounter support for HSMCI0 2014-07-29 15:34:31 -06:00
Gregory Nutt
35d8e3bfcb Update ChangeLog 2014-07-29 12:52:21 -06:00
Gregory Nutt
551b106e2b SAMA5: Poll USB keyboard at a higher rate for better response 2014-07-29 08:57:35 -06:00
Gregory Nutt
53930d5531 SAMA5D-EK: Correct system timer frequency. Input clock is MCK/2, not MCK 2014-07-29 07:12:36 -06:00
Gregory Nutt
1b6eec572d Cosmetic changes to comments 2014-07-29 07:11:16 -06:00
Gregory Nutt
a428bb753f SAMA5D4-EK: Disable PMIC workaround... it does not work 2014-07-28 17:48:55 -06:00
Gregory Nutt
8c2b458d75 Fixes to last SAMA5 PMIC checkin 2014-07-28 17:09:37 -06:00
Gregory Nutt
950a6979ec SAMA5D4-EK: Add logic to disable the faulty PMIC. This must be done with JP23 open. It is perfomed only from the DRAMBOOT loader 2014-07-28 16:34:19 -06:00
Gregory Nutt
d09ee81320 Change naming from cp_XYZ_cache() to arch_XYP_cache() so that all cache operations will pick up L2 support if it is enabled 2014-07-26 18:47:33 -06:00
Gregory Nutt
16eef02eec Updated README 2014-07-25 10:03:01 -06:00
Gregory Nutt
176b8163bc Port ADC, DAC, and PWM logic from the configs/zkit-arm-1769. From Max. 2014-07-24 15:44:08 -06:00
Gregory Nutt
2b07f11c69 AMA5D4-EK NxWM: Configuration refreshed 2014-07-24 15:06:19 -06:00
Gregory Nutt
82aa010083 NxWM: Beginning integration of NxPlayer into Nxwm::MediaPlayer. Gets handle, sets device, and releases handle. Lots more to be done 2014-07-23 18:19:00 -06:00
Gregory Nutt
4e96cacc80 SAMA5D4-EK NSH: Enable the command line media player in the NSH configuration as well (still does not work, however). 2014-07-23 15:33:54 -06:00
Gregory Nutt
8621769516 SAMA5D4 NxWM: Configuration now has the audio subsystem and the NxPlayer enabled 2014-07-23 15:20:54 -06:00
Gregory Nutt
ca7d7c34ce Audio: Add a NULL audio device that can be used to simply unit-level testing of audio decoders 2014-07-23 10:12:32 -06:00
Gregory Nutt
c79f86c72c SAMA5D3/4: All configurations. I suspect a MMC/SD multi-block DMA transfer issue. So for name, this feature is disabled in all configurations 2014-07-23 07:58:10 -06:00
Gregory Nutt
d7a9633dcd Rename pcm_decode.h to pcm.h since it will hold more than just decoding definitions. Fix some porting errors like idbg should auddbg, etc. Add wav file header and a few low-level wav utilities. 2014-07-22 15:54:56 -06:00
Gregory Nutt
a4dcd690bb Add new framework for the PCM decoder. It is now a 'front end' for lower-level drivers like the WM8904 that performs the PCM decoding from end 2014-07-22 11:54:13 -06:00
Gregory Nutt
9c30888fd6 Update README 2014-07-22 09:25:38 -06:00
Gregory Nutt
2ede6c43a7 Make sure that all sim configurations have CONFIG_SIM_M32 undefined. That is probably the wrong default setting, but we need to be consistent above all 2014-07-21 18:44:19 -06:00
Gregory Nutt
f3763c9501 sim/nettest, updated defconfig file 2014-07-21 18:41:34 -06:00
Gregory Nutt
3d384de76f Updated README 2014-07-21 18:38:41 -06:00
Gregory Nutt
5b659a0987 SAMA5D4-EK: HSMCI0 must use XDMAC0 (or made unsecure) 2014-07-21 17:54:37 -06:00
Gregory Nutt
f4bcb730d2 WM8904 w/NxPlayer: Fix some compile errors and warnings with debug enabled 2014-07-20 09:17:36 -06:00
Gregory Nutt
4f6625380b The WM8904 audio driver is mostly code complete and ready to begin initial testing 2014-07-19 18:52:58 -06:00
Gregory Nutt
f0b94617b2 SAMA5D4-EK: Add PCK pin disambiguation 2014-07-19 13:56:29 -06:00