Commit Graph

241 Commits

Author SHA1 Message Date
Gregory Nutt
2b65239466 Various fixes to traveler joystick input logic and to simulated joystick device 2014-12-14 12:23:19 -06:00
Gregory Nutt
f16d78b52c Mouse simulatin should receive mouse positional input even if no button is pressed 2014-12-14 11:14:13 -06:00
Gregory Nutt
82f9391763 SIM: Several fixes to the simulated joystick driver. Still buggy 2014-12-14 11:11:04 -06:00
Gregory Nutt
ca3977e91e SIM: Add an X11 mouse-based simulation of an analog joystick device 2014-12-14 10:19:07 -06:00
Gregory Nutt
9268fcc8ba Include sched.h to avoid warning 2014-12-14 07:46:46 -06:00
Gregory Nutt
cf1caa48ce SIM: Fix simulated console... it needs to return immediately when even one byte is read 2014-12-13 13:04:02 -06:00
Gregory Nutt
2330c9c842 Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU is all MCU Ethernet drivers 2014-11-16 08:10:06 -06:00
Gregory Nutt
f4e947ee80 Remove use of NET_LL_HDRLEN from Ethernet drivers. Use ETH_HDRLEN instead 2014-11-15 09:05:34 -06:00
Gregory Nutt
bf984b2b3a Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday 2014-11-15 08:22:51 -06:00
Gregory Nutt
f988838d40 SIM: Add more symbols to /arch/sim/src/nuttx-names.dat 2014-11-02 11:44:09 -06:00
Gregory Nutt
84d555c1be Oops... accidentally checked in a debug-only change with the last commit 2014-11-02 08:03:34 -06:00
Gregory Nutt
ed2519dce3 Can't use isatty, tcsetattr, or tcgettr is CONFIG_SERIAL_CONSOLE is not defined 2014-11-02 07:59:56 -06:00
Gregory Nutt
db9901e2f9 Update everything under nuttx/arch to use the corrected syslog interfaces 2014-10-08 12:48:47 -06:00
Gregory Nutt
48c76840a9 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
31049a203c Add support for 64-bit lonjmp/setjmp in simulator platform 2014-10-03 08:23:57 -06:00
Gregory Nutt
6e86d87ba5 Simulation: Change how simulated UART data availability is signaled. The last change is not safe (but I don't like this workaround either -- maybe something better will come to me). 2014-10-01 14:59:51 -06:00
Gregory Nutt
e1aa0b039f Mostly cosmetic changes to simulator 2014-10-01 08:40:52 -06:00
Gregory Nutt
4e303a5c4a Update some comments 2014-09-30 17:45:42 -06:00
Gregory Nutt
16712b09fe Fix a cornercase problem in in the UART simulation 2014-09-30 15:49:30 -06:00
Gregory Nutt
56574a03da Restore up_internal.h. Changes its name was a bad idea... at least for now 2014-09-30 14:41:58 -06:00
Gregory Nutt
24c5eb8f95 Simulated UART seems functional 2014-09-30 14:41:58 -06:00
Gregory Nutt
38a548faab Forgot to add a file 2014-09-30 14:41:57 -06:00
Gregory Nutt
f7e857b42b Completes simulated uart implementation... does not work 2014-09-30 14:41:57 -06:00
Gregory Nutt
18ed0123a6 simulation: Add a simulatied UART input device. Also lots of misc clean-up for stylistic compatibility with other architectures 2014-09-30 14:41:57 -06:00
Gregory Nutt
4d73a908e5 Some compiler errors that I added to Ken's code. From Ken Pettit 2014-09-19 10:58:32 -06:00
Gregory Nutt
400d469956 Emulated SPI FLASH driver for the sim target from Ken Pettit 2014-09-19 10:27:18 -06:00
Gregory Nutt
aaf190dcf6 ELF relocations. Some relocation types do not have a named symbol associated with them. The design did not account for that case 2014-09-09 16:52:51 -06:00
Gregory Nutt
3dd3b1f5e2 The 'make export' target needs to bundle up the user C startup file (crt0), not the kernel head object 2014-09-04 13:31:34 -06:00
Gregory Nutt
02c3d38ed0 Add misc/Obsoleted/ChangeLog and misc/Obsoleted/Patches/Remove-8051-2014-9-1.patch 2014-09-01 16:21:29 -06:00
Gregory Nutt
31b8137956 There used to be two ways to pass parameters to new tasks, depending upon the configuration: Either (1) argv[] as created as an array with each string strdup'ed. Or (1) argv[] array and strings were created on the stack before the new task was started. Now, there is only one way, way (1). Way (2) might be slightly more compact, but this is not worth carry the complexity of two different ways of doing the same thing. 2014-09-01 15:39:34 -06:00
Gregory Nutt
fcd7b9336e Rename kfree to kmm_free for consistency with other naming conventions 2014-08-31 17:04:02 -06:00
Gregory Nutt
bcb5a5316e Rename kumalloc to kumm_malloc and kuzalloc to kumm_zalloc for consistency with other naming 2014-08-31 16:24:24 -06:00
Gregory Nutt
e6698045c1 Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency with other naming 2014-08-31 15:27:37 -06:00
Gregory Nutt
e11679acf8 Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL 2014-08-29 14:47:22 -06:00
Gregory Nutt
2566ba7b1d Change naming of ELF interfaces from arch_ to up_ for consistency 2014-08-25 06:47:14 -06:00
Gregory Nutt
5d143578b0 Fix errors in documentation and comments related to the Tickless OS. From Vijay Kumar 2014-08-09 06:41:38 -06:00
Gregory Nutt
6455f60c60 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
4dc151097e Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h 2014-08-08 17:53:55 -06:00
Gregory Nutt
c98ece6bec Move task control files from sched/ to sched/task 2014-08-08 16:44:08 -06:00
Gregory Nutt
1c99d53bb1 Move clock functions from sched/ to sched/clock 2014-08-08 14:43:02 -06:00
Gregory Nutt
39183d37b8 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
f140e112e0 Implements the tickless OS 2014-08-07 11:39:16 -06:00
Gregory Nutt
c275ebef35 Add support for a simulated interval timer support verification of the tickless OS. 2014-08-06 18:29:29 -06:00
Gregory Nutt
595ec296fb Don't build in sched_processtimer.c if CONFIG_SCHED_TICKLESS is selected. 2014-08-06 18:27:10 -06:00
Gregory Nutt
94afad9b70 if CONFIG_SCHED_TICKLESS is defined, then the global variable g_system_timer does not exist 2014-08-06 18:26:16 -06:00
Gregory Nutt
8bbbc5b255 Cosmetic changes to comments 2014-07-29 07:17:01 -06:00
Gregory Nutt
87055cff08 NET: Standardize naming of all protocal header lengths 2014-07-05 13:04:48 -06:00
Gregory Nutt
d7fe256821 NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed. 2014-07-04 19:13:08 -06:00
Gregory Nutt
99ce3a44d7 Remove all inclusion of uip.h 2014-07-04 16:58:22 -06:00
Gregory Nutt
11e3a21411 NET: More renaming 2014-07-04 15:40:49 -06:00