Commit Graph

3219 Commits

Author SHA1 Message Date
Gregory Nutt
f9c1d9a939 Move clock functions from sched/ to sched/clock 2014-08-08 14:43:02 -06:00
Gregory Nutt
899025527c 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
49deb059d4 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
7edc6a5666 Remove CONFIG_DISABLE_CLOCK 2014-08-07 12:35:24 -06:00
Gregory Nutt
f2e342e9d0 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
6663d87227 Updated README 2014-08-06 12:30:35 -06:00
Gregory Nutt
a00d6c5d96 Update some defconfig files; enable network initialization thread 2014-08-06 12:22:51 -06:00
Gregory Nutt
3d4cc16245 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
1ff92f2f95 SAMA5D3 HSMCI: TX DMA is again disabled 2014-08-05 07:07:39 -06:00
Gregory Nutt
19df85d31b SAMA5: Some usage documents for media players 2014-08-04 19:23:20 -06:00
Gregory Nutt
8d13a7cfcd WM8904: Update READMEs and defconfigs to last tested configuration 2014-08-04 15:36:16 -06:00
Gregory Nutt
971e14eeb1 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
930a986dc4 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
02e5721251 SAMA5 WM8904: Add option to use MAINCK as WM8904 MCLK 2014-08-03 11:01:02 -06:00
Gregory Nutt
1db7842e2e SAMA5 PCK: Add Main clock as an option for the PCK clock source 2014-08-03 10:17:50 -06:00
Gregory Nutt
b4eb6ea9ca SAMA5D3X-EK NxPlayer Configuration: Update with last WM8904 settings 2014-08-02 14:27:42 -06:00
Gregory Nutt
0b23fc2c86 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
66c4db92d4 Add debug logic to dump WM8904 registers 2014-08-01 18:07:20 -06:00
Gregory Nutt
b722e46427 SAMA5 WM8904: Fix errors in programmable clock output configuration 2014-08-01 15:18:58 -06:00
Gregory Nutt
2e77455c6f SAMA5 SSC: Start Delay is now configurable 2014-08-01 14:10:37 -06:00
Gregory Nutt
67792ef05b SAMA5 SSC: Frame Synch Delay is now configurable 2014-08-01 12:25:31 -06:00
Gregory Nutt
906edfef85 Updated README 2014-07-31 15:00:24 -06:00
Gregory Nutt
986fd56650 SAMA5D3x-EK NxPlayer: Updated Configuration 2014-07-31 11:32:44 -06:00
Gregory Nutt
92194800b4 SAMA5D3x-EK: Add a configuration to support the command line NxPlayer. 2014-07-31 11:17:28 -06:00
Gregory Nutt
b1d63af30e SAMA5D3X-EK: Add support for the WM8904 audio CODEC 2014-07-31 11:15:52 -06:00
Gregory Nutt
0fb3f7803c SAMA5D3X-EK: Add support for the WM8904 audio CODEC 2014-07-31 11:14:57 -06:00
Gregory Nutt
025e5bc3a5 SAMA5D3X-EK NSH: Refresh configuration 2014-07-31 11:13:10 -06:00
Gregory Nutt
afff17a8ee Add short document for running the NxWM demo 2014-07-31 08:18:07 -06:00
Gregory Nutt
928adfcc1a SAMA5D4-EK NxWM: The USB keyboard is now the default input device 2014-07-30 17:37:02 -06:00
Gregory Nutt
7e4e5ee543 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
40e27add0b Costmetic: Update TODO list, README files, refreshed configuration, updated comments 2014-07-30 14:26:50 -06:00
Gregory Nutt
2b0c56a31d 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
df57bd319d Updated README file, cosmetic changes to comments and debug output 2014-07-30 10:19:09 -06:00
Gregory Nutt
812db2e5ae Update TODO listi and README 2014-07-29 20:02:34 -06:00
Gregory Nutt
9652872800 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
47aa0e0baf Cosmetic updates to comments and README files and some naming 2014-07-29 16:35:47 -06:00
Gregory Nutt
9414e97f01 Minor warning/latent bug clean-up of auto-mounter logic 2014-07-29 16:35:17 -06:00
Gregory Nutt
42b28ba383 SAMA5D4: Add auto-mounter support for HSMCI0 2014-07-29 15:34:31 -06:00
Gregory Nutt
d7432c4b07 Update ChangeLog 2014-07-29 12:52:21 -06:00
Gregory Nutt
17a9b2b4be SAMA5: Poll USB keyboard at a higher rate for better response 2014-07-29 08:57:35 -06:00
Gregory Nutt
ff0de0d603 SAMA5D-EK: Correct system timer frequency. Input clock is MCK/2, not MCK 2014-07-29 07:12:36 -06:00
Gregory Nutt
2f3e83e793 Cosmetic changes to comments 2014-07-29 07:11:16 -06:00
Gregory Nutt
00c7b4765f SAMA5D4-EK: Disable PMIC workaround... it does not work 2014-07-28 17:48:55 -06:00
Gregory Nutt
f632aef535 Fixes to last SAMA5 PMIC checkin 2014-07-28 17:09:37 -06:00
Gregory Nutt
5c5477b981 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
8e20aae28f 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
e436b0bc96 Updated README 2014-07-25 10:03:01 -06:00
Gregory Nutt
97f47a0f4a Port ADC, DAC, and PWM logic from the configs/zkit-arm-1769. From Max. 2014-07-24 15:44:08 -06:00
Gregory Nutt
33c49e70c6 AMA5D4-EK NxWM: Configuration refreshed 2014-07-24 15:06:19 -06:00
Gregory Nutt
bc6b713a37 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
d3eb13ed66 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
3e49c4c510 SAMA5D4 NxWM: Configuration now has the audio subsystem and the NxPlayer enabled 2014-07-23 15:20:54 -06:00
Gregory Nutt
02ebeddeb0 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
8edc57137c 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
e20182c2fb 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
2ad6e4452b 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
36ae0dfa42 Update README 2014-07-22 09:25:38 -06:00
Gregory Nutt
09f846a56d 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
2491fe4ac0 sim/nettest, updated defconfig file 2014-07-21 18:41:34 -06:00
Gregory Nutt
1451690569 Updated README 2014-07-21 18:38:41 -06:00
Gregory Nutt
dbec0d5390 SAMA5D4-EK: HSMCI0 must use XDMAC0 (or made unsecure) 2014-07-21 17:54:37 -06:00
Gregory Nutt
1518adff14 WM8904 w/NxPlayer: Fix some compile errors and warnings with debug enabled 2014-07-20 09:17:36 -06:00
Gregory Nutt
5abc23b0a8 The WM8904 audio driver is mostly code complete and ready to begin initial testing 2014-07-19 18:52:58 -06:00
Gregory Nutt
c413c03b6d SAMA5D4-EK: Add PCK pin disambiguation 2014-07-19 13:56:29 -06:00
Gregory Nutt
54986c41d8 SAMA5 PCK: Add support for the slow clock as the PCK clock source 2014-07-19 13:55:08 -06:00
Gregory Nutt
f240f7e513 SAMA5: Add slow clock support 2014-07-19 13:07:55 -06:00
Gregory Nutt
414fb2b154 SAMA5D4-EK: Add WM8904 initialization logic 2014-07-19 11:58:53 -06:00
Gregory Nutt
17fdc797ed WM8904: A few initial definitions for for the SAMA5D4-EK 2014-07-17 17:57:57 -06:00
Gregory Nutt
173c49d3fd SAMA5D4-EK NxWM Configuration: Increase number of preallocated watchdogs and don't save child status (it is not being reaped) 2014-07-17 17:56:36 -06:00
Gregory Nutt
117765da5e NxWM: Increase default priority of mouse and keyboard listener threads. Does not seem to make any difference but still seems like a good idea 2014-07-17 15:06:05 -06:00
Gregory Nutt
3feb03566c NxWM::CApplicationWindow: Created the custom font for the toolbar title, but never used it. 2014-07-17 13:38:37 -06:00
Gregory Nutt
af65bd6732 NxWidgets::CGlyphSliderHorizontal: No longer uses a hard-coded slider height; the slider height is now provided as a parameter, replacing the widget height which is now calculated from the glip image height 2014-07-17 12:12:02 -06:00
Gregory Nutt
bb6ba5198b Rename CONFIG_NX_MOUSE to CONFIG_NX_INPUT, then add CONFIG_NX_XYINPUT_MOUSE and CONFIG_XYINPUT_TOUCHSCREEN 2014-07-16 16:31:31 -06:00
Gregory Nutt
f28b632a2c NxWM::CMediaPlayer: Convert CLabel to a CListBox 2014-07-16 14:11:02 -06:00
Gregory Nutt
808e5c6933 NxWM::CMediaPlayer: Fix of state related bugs + Size if CLabel is increased (in preparation for becoming a CListBox) 2014-07-16 11:11:55 -06:00
Gregory Nutt
1089dddc25 SAMA5D4-EK: Use borders around buttons 2014-07-14 17:01:59 -06:00
Gregory Nutt
aa8ff82b0f SAMA4D3/4-EK NxWM: Use larger fonts 2014-07-14 11:23:41 -06:00
Gregory Nutt
458fc71ff0 SAMA5D4-EK: Media player is enabled in the NxWM configuration 2014-07-14 09:38:04 -06:00
Gregory Nutt
085c48c52a SAMA5D3x-EK: use large icons in the NxWM configuration like the SAMA5D4-EK 2014-07-14 06:37:33 -06:00
Gregory Nutt
b039f76778 Minor update to README 2014-07-13 18:22:34 -06:00
Gregory Nutt
e4169d8c0b SAMA5D4-EK: NxWM configuration uses large fonts by default 2014-07-13 18:22:18 -06:00
Gregory Nutt
63196bb13d NxWM: Add 47x49 calculator icon 2014-07-13 09:58:50 -06:00
Gregory Nutt
a86fb3a38c SAMA5D4-EK: Valid MXT interrupts should only occur on the falling edge of the ~CHG signal 2014-07-12 14:03:08 -06:00
Gregory Nutt
d44e30685e SAMA5D4-EK: The MXT should be able to handle an I2C frequency of 400KHz 2014-07-12 14:02:24 -06:00
Gregory Nutt
78adc980e6 SAMA5 LCDC: Back out the delay kludge. Increase the LCDC input clock from MCK to 2*MCK was sufficient for all timing instbility problems 2014-07-12 11:24:14 -06:00
Gregory Nutt
6298ead42c SAMA5D4-EK LCDC: Change source clock to 2*Mck seems to solve stability issues 2014-07-12 09:45:05 -06:00
Gregory Nutt
3a0450b6ab SAMA5D4-EK LCDC: Adding a delay after enabling the LCD solves lots of start-up timing issues 2014-07-12 08:05:22 -06:00
Gregory Nutt
ee024c622c SAMA5D4x-EK NxWM: Update background colors to match the calibration screen 2014-07-11 21:25:18 -06:00
Gregory Nutt
073cd0e887 NX: Don't change the background if the color has not really changed 2014-07-11 20:47:12 -06:00
Gregory Nutt
646312d50f Clean-up up some warning 2014-07-11 11:58:46 -06:00
Gregory Nutt
0222f5816f Fixes for clean NxWM build; Updated README files 2014-07-10 15:29:41 -06:00
Gregory Nutt
06f8b5a613 Update README's to document the new SAMA5D4-EK NxWM configuration 2014-07-10 14:10:36 -06:00
Gregory Nutt
c99dcd9da3 SAMA5D4-EK: Add an NxWM configuration 2014-07-10 14:00:56 -06:00
Gregory Nutt
41c1135531 SAMA5D4-EK: The NX graphics example is now enabled by default 2014-07-10 12:38:18 -06:00
Gregory Nutt
a0c2202ff5 SAMA5D4-EK LCD: Actual hardware with appears to be RGB888 2014-07-10 12:23:41 -06:00
Gregory Nutt
ad3542ad95 SAMA5D4-EK: LCDC works (with a few color problems) 2014-07-10 12:03:10 -06:00
Gregory Nutt
f694e10be6 SAMA5D4-EK: The maXTouch controller and test is now enabled by default in the NSH configuration 2014-07-10 08:42:25 -06:00
Gregory Nutt
32f22b6611 SAMA5D44-EK: Cosmetic changes 2014-07-09 07:18:43 -06:00
Gregory Nutt
ad9b0653f5 Some cosmetic typo fixes 2014-07-09 07:12:16 -06:00
Gregory Nutt
0aae99b377 Fix some recurring typos: postion->position, *atino->*ation 2014-07-08 13:12:36 -06:00