Gregory Nutt
ded155c638
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:22:58 -06:00
Gregory Nutt
b4695c5ee9
hostfs: Add support for fstat().
2017-02-14 09:54:08 -06:00
Gregory Nutt
40f8e8b41f
Fix some backward DEBUGASSERT tests in ROMFS and FAT.
2017-02-13 14:06:39 -06:00
Gregory Nutt
e6558df4ad
SIM: Add readlink and setvbuf to nuttx-names.dat
2017-02-09 08:31:00 -06:00
Gregory Nutt
62a1f6f110
up_timer_initialize() is named incorrectly. The prefix should be the architecture name, not up_ since it is private to the architecture. up_timerisr() is similarly misnamed and should also be private since it is used only with the xyz_timerisr.c files. Also updat TODO list.
2017-02-07 10:35:04 -06:00
Gregory Nutt
b39d962021
Soft links: Update Documentation, rename file, add system calls
2017-02-02 17:11:08 -06:00
Gregory Nutt
b656e371d3
ELF: Move sim and x86 ARM versions of ELF relocation logic to libc/machine
2017-01-21 15:40:51 -06:00
Gregory Nutt
34be3e7c3c
Add configuration support for builds with Ubuntu under Windows 10
2017-01-01 15:34:23 -06:00
Gregory Nutt
49fae0ac6b
Revert "All CMP platforms: Apply same fix verified on other platforms found on Xtensa."
...
This reverts commit fb146abee0
.
2016-12-25 07:08:44 -06:00
Gregory Nutt
efb86382c3
SMP: Back out deferred IRQ locking. This was accidentally merged into master and it looks like it is going to be more work than I thought to get it working again. Changes will go to the irqlock branch.
2016-12-24 19:53:37 -06:00
Gregory Nutt
9f7ba21f8a
Implement deferred IRQ locking. Adds support for simulator.
2016-12-23 11:28:43 -06:00
Gregory Nutt
fb146abee0
All CMP platforms: Apply same fix verified on other platforms found on Xtensa.
2016-12-21 14:04:09 -06:00
Gregory Nutt
018db84567
Flesh out more cancellation point logic.
2016-12-09 10:31:40 -06:00
Gregory Nutt
934aded293
arch/: Adapt all Ethernet drivers to work as though CONFIG_NET_MULTIBUFFER were set. Remove all references to CONFIG_NET_MULTIBUFFER
2016-11-29 16:06:48 -06:00
Gregory Nutt
e3fe320e08
SMP: Add support for linking spinlocks into a special, non-cached memory region.
2016-11-26 08:47:03 -06:00
Gregory Nutt
f90525a5d1
SMP: Update some comments; trivial improvement by inlining static function.
2016-11-22 16:48:57 -06:00
Gregory Nutt
bac7153609
SMP: Add logic to avoid a deadlock condition when CPU1 is hung waiting for g_cpu_irqlock and CPU0 is waitin for g_cpu_paused
2016-11-22 11:34:16 -06:00
Gregory Nutt
796969f6b6
Update TODO. Provide do-nothing stubs for mutex attribute interfaces if features not enabled. pthread_cond includes a signaling semaphore and should call sem_setprotocol.
2016-11-05 11:06:52 -06:00
Gregory Nutt
0a5b4f684a
arch: Disable priority inheritance on all semaphores used for signaling in the rest of the MCU drivers
2016-11-03 17:38:26 -06:00
Paul A. Patience
912fe06a86
Add architecture-specific inttypes.h
2016-10-27 16:01:38 -04:00
Gregory Nutt
48fb97e7b5
More of the same cloned typo
2016-10-19 10:11:45 -06:00
Gregory Nutt
841e1aa77f
Fix a cloned typo
2016-10-19 09:14:21 -06:00
Gregory Nutt
300361539a
sched/sched_cpuload_oneshot: Use the oneshot timer with optional entropy to measuer cPU load if so configured.
2016-08-20 12:47:07 -06:00
Gregory Nutt
b2be0be3a6
Simulated oneshot max_delay() method should not return a failure.
2016-08-15 11:43:55 -06:00
Gregory Nutt
ab16ad7530
Fix some bugs in the oneshot driver logic
2016-08-12 14:19:11 -06:00
Gregory Nutt
046acf6b54
Add a simulated oneshot lowerhalf driver
2016-08-12 13:14:03 -06:00
Gregory Nutt
56f2454c86
Fix names of pre-processor variables used in header file idempotence
2016-08-06 18:48:45 -06:00
Gregory Nutt
d41008e220
Update some header commments
2016-08-06 18:16:31 -06:00
Gregory Nutt
f5ae207516
Changes from Review of last PR adding Tiva PWM driver
2016-08-05 07:17:42 -06: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
1f9799b68d
I/O Expanders: Interrupt detection logic should not ignore the no-change case. Still need to handle level interrupts even with no change.
2016-08-03 13:10:20 -06:00
Gregory Nutt
803b540e8a
Fix various issues with I/O expander and GPIO lower half drivers from testing with simulated I/O expander
2016-08-03 12:46:54 -06:00
Gregory Nutt
c11473657c
SIM I/O Expander: Add logic to simulate inverted pins and to generate toggle values on interrupt input pins
2016-08-03 11:19:16 -06:00
Gregory Nutt
778a8131bf
SIM: Add a simulated I/O Expander driver
2016-08-03 09:44:48 -06:00
Gregory Nutt
b7c1544f0f
Sim build: Add sigaddset to nuttx-names.dat
2016-08-01 17:32: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
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
Ken Pettit
b926334a19
Add file was not included in the original commit
2016-07-19 10:39:43 -06:00
Gregory Nutt
8eeecff79d
Replace some C99 comnents with C89 comments
2016-07-19 08:19:53 -06:00
Ken Pettit
148cf1ac22
Adds the simulated QSPI (N25Q) flash to the simulation and modify sim up_spiflash.c to enable it to run with different MTD drivers based on config options (currently m25p, sst26 and w25).
2016-07-19 07:33:44 -06:00
Gregory Nutt
d5388eca05
devrandom_register() must be called before devurandom_register()
2016-07-18 11:24:04 -06:00
Gregory Nutt
1660329d06
Rename up_rnginitialize to devrandom_register
2016-07-18 10:55:37 -06:00
Gregory Nutt
fe315f867a
Costmetic
2016-07-17 17:01:35 -06:00
Gregory Nutt
006f4a5818
HOSTFS: Fix some errors in first cut at repartitioning
2016-07-17 16:31:14 -06:00
Gregory Nutt
2b28a1f3e5
SIM HOSTFS: First cut at changes to get it working on Cygwin.
2016-07-17 15:59:45 -06:00
Gregory Nutt
76dc238baf
Add more name mappings to nuttx-names.dat
2016-07-17 09:44:27 -06:00
David Alessio
6cefbc0c3f
This change provides an option to add /dev/urandom to all architectures. The pseudo-random algorithm I choose strikes an arguably-good balance between being "random" and small/fast enough for 8/16 bit MCUs. It’s the well-documented xorshift128 algorithm. It has an internal state of 128 bits that can be [re-]seeded with a write.
2016-07-17 06:42:26 -06:00
Alan Carvalho de Assis
91ba0be667
Enable TERMIOS support in stm32discovery/pseudoterm configuration
2016-07-16 17:49:37 -06:00
Gregory Nutt
ba62b49190
SIM: Add more names to nuttx-namex.dat
2016-07-16 16:14:18 -06:00
Gregory Nutt
7b298a828d
up_pminitialize() needs to be called from instances of up_initialize()
2016-07-15 13:11:28 -06:00
Gregory Nutt
d3b3c71d97
All architectures: Add logic to automatically register /dev/ptmx a boot time
2016-07-15 11:54:41 -06:00
Gregory Nutt
39e7d5431f
update gitignore
2016-06-24 16:29:15 -06:00
Gregory Nutt
5118264e6c
Rename CONFIG_SYSLOG_CONSOLE to CONFIG_CONSOLE_SYSLOG
2016-06-21 09:35:51 -06:00
Gregory Nutt
485aa6b231
SIM: Comment out skip scheduler debug output that can hang the simulation.
2016-06-21 08:59:01 -06:00
Gregory Nutt
62d8f839c7
SYSLOG: Now a two phase initialization. Some SYSLOG channels cannot be initialized until later in the bringup
2016-06-21 07:52:24 -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
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
Gregory Nutt
0f18f3bd15
Move RAMLOG initialize from up_initialilize.c files to syslog_initialize(). up_initialize.c files now call syslog_initialize() unconditionally
2016-06-19 09:39:21 -06:00
Gregory Nutt
0c8c7fecf0
Add _ to the beginning of all debug macros to avoid name collisions
2016-06-16 12:33:32 -06:00
Gregory Nutt
24c51ec1ff
Centralize definitions associated with CONFIG_DEBUG_LCD
2016-06-15 11:40:33 -06:00
Gregory Nutt
ba03134bed
Centralize definitions associated with CONFIG_DEBUG_SPI
2016-06-15 10:41:13 -06:00
Gregory Nutt
dfc703f250
arch/sim/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-14 11:49:55 -06:00
Gregory Nutt
0f249016a0
Eliminate some warnings
2016-06-13 14:01:32 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2
Rename *lldbg to *llerr
2016-06-11 14:55:27 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Gregory Nutt
3a74a438d9
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
2016-06-11 11:50:18 -06:00
Steve
a75c48c183
Fix for a minor typo that I introduced somewhere along the way during my testing. This makes the bridge code actually compile…
2016-05-21 17:09:50 -06:00
Steve
bd3ef36eda
SUMMARY
...
-------
This patch enhances networking support for the simulation under Linux.
Includes updated support for Linux TUN/TAP, and the addition of support for
Linux bridge devices.
CHANGES
-------
o Check to see if the d_txavail callback is present before calling it in
the arp send code. This prevents a segfault when simulating the telnetd
daemon with arp send enabled.
o Adjust the simulation's netdriver_loop() so it will detect and respond to
ARP requests.
o Do not attempt to take the tap device's hardware address for use by the
simulation. That hardware address belongs to the host end of the link,
not the simulation end. Generate a randomized MAC address instead.
o Do not assign an IP address to the interface on the host side of the TAP
link.
+ Provide two modes: "host route" and "bridge".
+ In host route mode, maintain a host route that points any traffic for the
simulation's IP address to the tap device. In this mode, so long as the
simulation's IP is a free address in the same subnet as the host, no
additional configuration will be required to talk to it from the host.
Note that address changes are handled automatically if they follow the
rule of if-down/set-address/if-up, which everything seems to.
+ In bridge mode, add the tap device to the specified bridge instance. See
configs/sim/NETWORK-LINUX.txt for information and usage examples. This
enables much more flexible configurations (with fewer headaches), such as
running multiple simulations on a single host, all of which can access
the network the host is connected to.
o Refresh configurations in configs/sim where CONFIG_NET=y. They default
to "host route" mode.
o Add configs/sim/NETWORK-LINUX.txt
CAVEATS
-------
- The MAC address generation code is extremely simplistic, and does not
check for potential conflicts on the network. Probably not an issue, but
something to be aware of.
- I was careful to leave it in a state where Cygwin/pcap should still work,
but I don't have a Windows environment to test in. This should be
checked.
- I don't know if this was ever intended to work with OS X. I didn't even
try to test it there.
NOTES
-----
- Was able to get telnetd working and simulate nsh over telnet, but only so
long as listen backlogs were disabled.
There appears to be a bug in the backlog code where sockets are being
returned in SYN_RCVD state instead of waiting until they're ESTABLISHED;
if you perform an immediate send after accepting the connection, it will
confuse the stack and the send will hang; additionally, the connection
will never reach ESTABLISHED state.
Can be worked around by adding a sleep(1) after the accept in telnetd. I
don't have the necessary knowledge of the IP stack to know what the
correct fix is.
2016-05-20 17:36:14 -06:00
Gregory Nutt
fb484a581f
All GCC final arch/*/src/Makefiles: Allow --start-group and --end-group to be redefined for the case where GCC is used to link (instead of LD). Suggested by Paul Alexander Patience.
2016-05-17 10:43:15 -06:00
Gregory Nutt
a3f3cc12c0
Update some comments; Fix grammatic error in ChangeLog.
2016-05-13 17:36:08 -06:00
Gregory Nutt
faca2fb1e7
ARMv7-A/i.MX6: Add logic to handle allocation of CPU IDLE thread stacks more efficiently
2016-05-13 11:39:42 -06:00
Gregory Nutt
70782b0f14
ARMv7-A i.MX6: More SMP logic. Still untested.
2016-05-12 15:04:46 -06:00
Gregory Nutt
aa64214877
FB: Add a display number to the framebuffer planeinfo structure
2016-04-17 10:08:27 -06:00
Gregory Nutt
46846c0c24
Framebuffer driver: Add a display number to each interface in order to support multiple displays
2016-04-14 12:23:15 -06:00
Gregory Nutt
267e20c729
PM: Add domain to all PM interfaces. Internal PM data structures now handle multiple PM domains.
2016-03-27 13:01:32 -06:00
Gregory Nutt
32acc35c88
PM: Add activity domain to all PM callbacks
2016-03-27 11:18:54 -06:00
Gregory Nutt
35707e4d48
SIM: Update scheduler implementation to match prototype changes
2016-03-22 18:18:37 -06:00
Gregory Nutt
e767df5994
SIM: Add another name to the NuttX names list
2016-03-22 13:00:09 -06:00
Gregory Nutt
be5b79875f
Fix an error in the simulator version of up_unblock_task()
2016-03-21 15:20:14 -06:00
Gregory Nutt
bd846c2e72
All architectures: Register the schedule note driver if enabled
2016-03-17 17:00:59 -06:00
Gregory Nutt
82c58eb609
SIM: Register the schedule note driver if enabled
2016-03-17 14:43:29 -06:00
Gregory Nutt
8fbe5b6243
sim: Omit built-in scheduler imstrumentation if buffered instrumentation is selected.
2016-03-17 09:50:33 -06:00
Gregory Nutt
411cf0ba1f
SMP: Add per-CPU initialization logic
2016-03-13 07:16:26 -06:00
Gregory Nutt
2b2f157569
Forgot to add a file before last commit
2016-03-12 15:28:58 -06:00
Gregory Nutt
6288e381ee
Conform to revised SMP interfaces. Improve i.MX6 SMP startup handshake.
2016-03-12 15:22:45 -06:00
Gregory Nutt
a74c19bbae
SIM: Add TLS support to to the simulator
2016-03-11 14:03:27 -06:00
Gregory Nutt
c6a0f284e4
Remove comments before empty sections in C files
2016-02-21 14:19:01 -06:00
Gregory Nutt
bd0d46138c
SIM: Trivial, uninteresting change to file inclusion in IDLE loop
2016-02-20 14:56:25 -06:00
Gregory Nutt
de885064d2
SIM: Clean up some comments
2016-02-18 14:56:17 -06:00
Gregory Nutt
526c90986a
sim SMP: CPU0 should not be the main thread. That introduces an asymmetry since the main thread has no pthread_t ID. Instead, start an additional pthread for CPU0. The main thread will just wait and do nothing in this case
2016-02-18 14:54:48 -06:00
Gregory Nutt
08e2fc0be8
Can't call sdbg() from a signal handler; And another name to nuttx-names.dat
2016-02-18 12:29:37 -06:00
Gregory Nutt
3508e22f3f
SMP: Rename sim_cpupause to sim_cpu_pause for consistency with other naming
2016-02-18 11:46:08 -06:00
Gregory Nutt
3deac3d43d
SMP: Initial implementation of up_cpu_pause and up_cpu_resume. Does not yet work.
2016-02-18 11:12:43 -06:00
Gregory Nutt
e3ea40e4f9
SMP: Cosmetic renaming to clarify functionality of SMP interfaces. Update comments.
2016-02-17 13:35:23 -06:00
Gregory Nutt
063caf3a90
Add warnings and some comments
2016-02-16 16:08:59 -06:00
Gregory Nutt
8ac45d4f4d
Add some additional schedule instrumentation
2016-02-16 15:19:44 -06:00
Gregory Nutt
b4dae46fd7
SIM: Add scheduler instrumentation
2016-02-16 13:40:15 -06:00
Gregory Nutt
9234eec334
SIM: Needs to include stdint.h
2016-02-16 10:12:06 -06:00
Gregory Nutt
17cf9a57a0
Update some comments
2016-02-16 07:50:09 -06:00
Gregory Nutt
1e218415d6
Most cosmetic; fix spelling of teriminate
2016-02-16 07:24:28 -06:00
Gregory Nutt
d2f13e4b12
SIM: If SMP is enabled, show CPU on assertion
2016-02-15 13:47:05 -06:00
Gregory Nutt
e238b29ddf
SIM: Add pthread_yield to the list of name collisions
2016-02-15 11:44:53 -06:00
Gregory Nutt
83bc1c97c3
Rename irqsave() and irqrestore() to up_irq_save() and up_irq_restore()
2016-02-14 16:11:25 -06:00
Gregory Nutt
70e502adb0
Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
2016-02-13 19:11:09 -06:00
Gregory Nutt
a884818e32
SIM: Add empty stubs for SMP function up_cpustop and up_cpustart
2016-02-12 17:12:01 -06:00
Gregory Nutt
d22aa4b588
SIM: In SMP simulation, use pthread_yield(), not up_hostusleep() to reliquish the CPU.
2016-02-12 08:13:44 -06:00
Gregory Nutt
62e6275fe5
SIM:Add missing mutex unlock; need to used up_hostusleep(), not usleep(), in up_idle
2016-02-11 17:18:28 -06:00
Gregory Nutt
e41de0a00e
SIM: Move IDLE thread initialization from sim to OS since it should be common
2016-02-11 14:10:19 -06:00
Gregory Nutt
ac6c9cf617
SIM: Add SMP idle thread setup logic -- forgot to add files before last commit.
2016-02-11 12:17:41 -06:00
Gregory Nutt
b087cb7f9a
SIM: Add SMP idle thread setup logic
2016-02-11 12:16:19 -06:00
Gregory Nutt
0dbbf19fea
SIM: Kconfig now indicates that it supports multiple CPUs.
2016-02-10 17:29:04 -06:00
Gregory Nutt
52f88b0625
SIM: Add simulation of a multi-CPU processor
2016-02-10 14:58:21 -06:00
Gregory Nutt
5e91bf9a03
SIM: Add a fake spinlock.h header file that may be useful someday for testing of SMP features
2016-02-10 10:33:37 -06:00
Gregory Nutt
a1126361da
sim: Replace explict references to g_readytorun with indirect references via the this_task() macro
2016-02-06 17:05:55 -06:00
Gregory Nutt
1166e311b0
Networking: Remove the HSEC argument from devif_timer.
2016-02-03 11:17:15 -06:00
Gregory Nutt
a9dec09444
Minor fix to comment
2016-01-27 08:16:46 -06:00
Gregory Nutt
b7cbbab761
Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law
2016-01-23 18:10:21 -06:00
Gregory Nutt
4bd6adb725
Add dummy hwfeatures method to all SPI interfaces
2016-01-23 15:09:38 -06:00
Gregory Nutt
2030784891
sim: Add more symbols to nuttx-names.dat
2016-01-14 15:14:25 -06:00
Gregory Nutt
927b1dcc1f
Initialize the telnet factory as part of the common architecture intialization
2015-12-07 11:40:29 -06:00
Gregory Nutt
3afc0799ad
Eliminate a warning
2015-12-05 10:35:11 -06:00
Gregory Nutt
e421258808
Move sim/src/up_appinit.c to configs/sim/src where it really belongs
2015-11-29 13:54:03 -06:00
Gregory Nutt
2afd4595e4
Re-think how __KERNEL__ option is set in architecture Makefiles. Should be passed in EXTRADEFINES
2015-11-26 06:59:35 -06:00
Gregory Nutt
4aa3dcb51a
__KERNEL__ should be defined when compiler architecture specific logic
2015-11-25 18:05:36 -06:00
Gregory Nutt
f4e8f84887
__KERNEL__ should be defined when compiler architecture specific logic
2015-11-25 17:52:14 -06:00
Gregory Nutt
14d7ede265
All instances of up_initialize() should call loop_register() is CONFIG_DEV_LOOP=y
2015-11-25 17:10:41 -06:00
Ken Pettit
641ca79321
arch/sim/src: Add a special file system for use with simulator that supports access to the host file system from the simulation. From Ken Petit
2015-11-25 08:36:44 -06:00
Gregory Nutt
d7c5ff98f4
Fix a typo
2015-11-23 18:55:38 +00:00
Gregory Nutt
edb1439d8f
Last change introduced warnings when CONFIG_SIM_M32=y; This fixes those warnings too
2015-11-23 12:44:59 -06:00
Gregory Nutt
9f98dfecb7
sim: Eliminate a warning
2015-11-23 11:59:33 -06:00
Ken Pettit
992d7d1e85
arch/sim/src/up_spiflash.c: Add support for W25 FLASH simulation. From Ken Petit
2015-11-18 07:08:38 -06:00
Gregory Nutt
c340185cb3
arch/sim: Fix spacing/alignment issues
2015-10-14 07:14:28 -06:00
Gregory Nutt
7a63e976ad
Remove TABs
2015-10-04 16:00:42 -06:00
Gregory Nutt
aaa697ec83
Remove dangling whitespace
2015-10-04 15:27:17 -06:00
Gregory Nutt
6fc6d17760
Fix some spacing problems
2015-10-04 14:59:08 -06:00
Gregory Nutt
cae0c9a2e3
Standardize the width of all comment boxes in header files
2015-10-02 17:47:23 -06:00
Gregory Nutt
36726b1bc4
Standardize the width of all comment boxes in header files
2015-10-02 17:42:29 -06:00
Gregory Nutt
82cc93c71b
Add some comments to a Kconfig file
2015-09-24 14:53:04 -06:00
Gregory Nutt
50b64f6991
Sim target on Cygwin64: Modern Cygwin X86_64 machines follow the Microsoft ABI for parameter passing. The older,inux System 5 ABI will not work on X86_64-based Cygwin machines. With this change, the simulator agains works with the newer Cygwin64 platform
2015-09-24 14:41:57 -06:00
Gregory Nutt
569a29a327
Simulation: Newer versions of Cygwin tools do not seem to pre-pend symbol names with underscore character
2015-09-24 09:08:52 -06:00
Gregory Nutt
26eada3446
In all up_initialize() functions, automatically initialize TUN driver is so configureded
2015-09-06 09:35:29 -06:00
Paul A. Patience
a0dc724a5d
Correct #if to #ifdef when the macro can be undefined. Fix bug in AT32UC3 clock initialization: AVR32_CLOCK_PLL_OSC1 should be AVR32_CLOCK_PLL0_OSC1 and AVR32_CLOCK_PLL1_OSC1.
2015-09-01 13:47:06 -04:00
Gregory Nutt
01cfe8c315
Networking: Move where the local loopback device is initialized from board_app_intiialize() to up_intiialize() so that it will happen automatically
2015-08-24 14:25:49 -06:00
Gregory Nutt
c9603b27c0
sim: Add logic to initialize the local loopback device is so configured
2015-08-24 13:46:05 -06:00
Gregory Nutt
0843af5367
Fixes that call sched_resume_scheduler and sched_suspend_scheduler must include nuttx/sched.h
2015-07-29 16:51:26 -06:00
Gregory Nutt
eddf8161a5
Add scheduler resume/suspend calls to all implementations of up_release_pending()
2015-07-26 10:13:29 -06:00
Gregory Nutt
37969b8279
Add scheduler resume/suspend calls to all implementations of up_reprioritize_rtr()
2015-07-26 09:46:28 -06:00
Gregory Nutt
838c5355eb
Correct resume scheduler hooks and add suspend scheduler hooks to all implementations of up_unblock_task
2015-07-26 09:07:47 -06:00
Gregory Nutt
a92c0a10ab
Add scheduler resume/suspend calls in all implementations of up_block_task()
2015-07-26 08:31:23 -06:00
Gregory Nutt
9d98177daa
Add logic to reset the replenish the sporadic scheduler when a task is resumed
2015-07-24 09:54:28 -06:00
Gregory Nutt
724c1eacaa
Add support for a BOARDIOC_RESET boardctl() command. Enable configuration options to support BOARDIOC_RESET for ARMv6-M and ARMv7-M
2015-07-04 10:39:24 -06:00
Gregory Nutt
36ddd9f691
Simulatin: Save the intial terminal mode and restore this before terminating. Otherwise, the NSH shutdown command leaves the console in raw mode
2015-07-04 08:43:10 -06:00
Gregory Nutt
749907cbbe
sim configuration: Add support for board_app_initialize() which is needed when CONFIG_LIB_BOARDCTL=y
2015-07-04 08:16:45 -06:00
Gregory Nutt
8db3a7a13e
Add a board_app_initilize() stub function needed by the simulatin when CONFIG_LIB_BOARDCTL=y
2015-07-04 07:35:14 -06:00
Gregory Nutt
37e681f89a
Implementment board_power_off() for the simulation platform.
2015-07-04 07:22:38 -06:00
Gregory Nutt
fb926e7283
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:08:57 -06:00
Gregory Nutt
29136e51cc
Clean up and review of header files for conformance to standards
2015-06-12 19:26:01 -06:00
Gregory Nutt
a25d0908f8
Simulator: Add more name conversons. From Max Neklyudov
2015-05-29 08:20:06 -06:00
Gregory Nutt
95c885977a
apps/examples/ostest: Add a test for the sigprocmask, sighold, and sigrelse
2015-04-09 15:53:59 -06:00
Gregory Nutt
ae15c6963c
Make some file section headers more consistent with standard
2015-04-08 08:04:12 -06:00
Gregory Nutt
fd9164a18a
More renaming: up_lcdinitialize->board_lcd_initialize, up_lcdgetdev->board_lcd_getdev, up_lcduninitialize->board_lcd_uninitialize
2015-04-04 11:49:15 -06:00
Gregory Nutt
85b18f87b0
rch_tcinitialize() and arch_tcunitinitialize() renamed to board_tsc_setup() and board_tsc_teardown(). These are not long called directly by applications but only indirectly throught the crappy boardctl() OS interface.
2015-03-31 13:21:25 -06:00
Gregory Nutt
c638c67ad4
Add umount2(). umount() is now a macro that just calls umount2() with flags = 0.
2015-03-14 16:48:45 -06:00
Gregory Nutt
a5043d5e60
Add support for dumping board-specific information on assertion. From David Sidrane
2015-03-04 07:00:29 -06:00
Gregory Nutt
f7bb64b327
Suffer the consequences of moving struct timeval to its correct location
2015-02-15 15:18:35 -06:00
Gregory Nutt
8bac6b71ce
SYSLOG: Add an option to use the syslog'ing device as the system consolution. This option enables a low-level, write-only console device at /dev/console (similar to the low-level UART console device). From Pierre-noel Bouteville.
2015-02-08 06:53:24 -06:00
Gregory Nutt
c51ebf8c72
Refresh some configurations
2015-02-01 12:15:46 -06:00
Gregory Nutt
ec6383d2d2
Fix compile issues with configs/sim/nettest
2015-02-01 12:00:30 -06:00
Gregory Nutt
5f72080e0a
SIM: fix a case in the simulated Ethernet driver where it was using a old structure name
2015-02-01 09:00:42 -06:00
Gregory Nutt
b15632e8ba
drivers/ramdisk.c and include/nuttx/fs/ramdisk.h: Add logic to dispose of the drvier and RAM buffer when the RAM disk has been unlinked and all open references to the RAM disk have been closed. Add new parameters to romdisk() to specify what should be done with the RAM/ROM buffer -- Should it be freed or not? Changed all calls to ramdisk() to use these new parameters.
2015-02-01 07:24:16 -06:00
Gregory Nutt
a2efa2fed8
Unix domain: More fixes. With these changes, apps/examples/ustream works
2015-01-28 08:39:48 -06:00
Gregory Nutt
944b34e31f
Unix domain: A few fixes from early integration
2015-01-27 16:39:30 -06:00
Gregory Nutt
af612f6fad
Unix domain: More fixed to build without Ethernet or Slip
2015-01-27 14:26:10 -06:00
Gregory Nutt
9b5fe1e446
Various fixes to get Unix domain sockets to build on the simulator without Ethernet
2015-01-27 14:11:46 -06:00
Gregory Nutt
9588b0e7a7
All Ethernet drivers (again): Missed one place where arp_out() is called and neighber_out() needs to be called
2015-01-21 11:36:33 -06:00
Gregory Nutt
723b7fc430
Networking: Modify all Ethernet drivers: Do neighbor look-up on all outgoing IPv6 packs in order to properly set the destination link layer address.
2015-01-20 15:52:25 -06:00
Gregory Nutt
f6063c3896
Networking: Add missing raw/packet socket support to all Ethernet drivers
2015-01-20 15:14:29 -06:00
Gregory Nutt
07132f462f
Ethernet drivers: Use IFF_IS_IPv4 macro. Cannot rely on the EtherType being set correctly.
2015-01-20 06:26:14 -06:00
Gregory Nutt
ac69e11a5f
Networking: All Ethernet drivers: Call ipv6_input if IPv6 is enabled and an IPv6 packet is received
2015-01-15 09:31:23 -06:00
Gregory Nutt
836a8b1625
- Rename devif_input() ipv4_input()
...
- Copy net/devif/devif_input.c to ipv6_input.c. Remove all IPv4-specific logic.
- Rename net/devif/devif_input.c to ipv4_input.c. Remove all IPv6-specific logic
- Split IPv4 header structure out as net_ipv4hdr_s from net_iphdr_s
2015-01-15 08:03:56 -06:00
Gregory Nutt
6bc54c3541
Networking: Condition certain ARP logic on CONFIG_NET_ARP in all Ethernet drivers
2015-01-15 07:07:39 -06:00
Gregory Nutt
23ac4caf5a
C5471: choice has a default value. It should not
2014-12-28 18:15:17 -06:00
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
639400e599
Allow building simulated framebuffer dirver is NX is not enabled
2014-12-08 08:29:48 -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
ee020e8b06
Merge remote-tracking branch 'origin/master' into bas24
2014-11-02 12:11:45 -06:00
Gregory Nutt
28a74ac02f
MM: Minimum memory allocation must to up to 32 if sizeof pointer is 8-bytes
2014-11-02 12:11:20 -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
371347b144
Fix missing closing quotation mark
2014-09-19 13:00:42 -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
29406c0d20
Add option to select 64-bit build platform
2014-08-22 18:21:32 -06:00
Gregory Nutt
d989807e76
uintptr_t should be 64-bits under Cygwin64
2014-08-22 15:18:55 -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
Gregory Nutt
dfb5bc1413
NET: More renaming
2014-07-03 17:53:16 -06:00
Gregory Nutt
d3357f81f5
Rename apps/examples/uip to apps/examples/webserver
2014-07-03 17:31:17 -06:00
Gregory Nutt
313982ba18
NET: Rename XYZ_uiptxpoll to just XYZ_txpoll
2014-07-01 18:41:08 -06:00
Gregory Nutt
621ec21bfd
Rename uip_poll->devif_poll and uip_timer->devif_timer
2014-06-30 18:40:41 -06:00
Gregory Nutt
ade8807a61
Rename uip_input to devif_input
2014-06-30 18:11:17 -06:00
Gregory Nutt
e4990dda4d
Rename uip_driver_s net_driver_s
2014-06-27 16:48:12 -06:00
Gregory Nutt
57383ea2f3
Rename ip_eth_hdr to eth_hdr_s
2014-06-25 09:57:52 -06:00
Gregory Nutt
11896e1481
Move the remaining files from include/nuttx/net/uip to include/nuttx/net; Rename *_internal.h header files in net/ to just *.h
2014-06-24 10:14:15 -06:00
Gregory Nutt
b34a1f1e01
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/netdev.h
2014-06-24 09:28:44 -06:00
Gregory Nutt
407e72b300
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_
2014-05-30 12:13:06 -06:00
Gregory Nutt
8dbc4714c5
Change all variadic macros to C99 style
2014-05-22 09:01:51 -06:00
Gregory Nutt
ae82fa65a6
Fix spelling, only one t in exiting
2014-04-27 15:49:38 -06:00
Gregory Nutt
25d4ff745b
More trailing whilespace removal
2014-04-13 16:22:22 -06:00
Gregory Nutt
eee82879cb
Make sure that there is one space between if and condition
2014-04-12 12:53:19 -06:00
Gregory Nutt
66df3afd46
mv ramlog.h and syslog.h to new include/nuttx/syslog
2014-04-10 09:29:30 -06:00
Gregory Nutt
b3792fcd86
Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced
2014-02-10 18:08:49 -06:00
Gregory Nutt
b3745e36b7
Move ramdisk.h to include/nutt/fs/ramdisk.h
2013-12-10 09:42:58 -06:00
Gregory Nutt
b4144e21d6
Move include/nuttx/fb.h to include/nuttx/video/fb.h
2013-12-10 09:23:54 -06:00
Gregory Nutt
4aaee6fb3c
Clean up some naming: fd vs. fildes vs. filedes and filep vs filp
2013-09-28 16:50:07 -06:00
Gregory Nutt
56f9092a87
Fix all occurrences of "the the" in documentation and comments
2013-08-27 09:40:19 -06:00
Gregory Nutt
8ff1402958
.dSYM only needs to be in the same .gitignore files as .exe
2013-05-30 15:02:04 -06:00
Gregory Nutt
f0c36e422f
Upate .gitignore files. Add .dSYM. Make sure / is present where needed. Add some missing .gitignore files
2013-05-30 14:45:31 -06:00
Gregory Nutt
efbe6f2b07
Add configuration and example to test MTD partitions
2013-04-30 15:54:02 -06:00
Gregory Nutt
8c4e03bba9
Various Kconfig files still have references to CONFIG_ variables. Some in harmless comments, some in config definionts which is not harmless. All removed
2013-04-25 15:52:00 -06:00
Gregory Nutt
3aa94411be
Remove up_assert_code
2013-04-25 15:19:59 -06:00
Gregory Nutt
91e6580aff
Adding missing registration of /dev/zero; Condition registration of /dev/null. From Ken Petit
2013-04-24 07:17:49 -06:00
Gregory Nutt
65fec0683a
_exit() should not call atexit() or on_exit() functions; Rename task_deletecurrent() to task_exit()
2013-04-18 16:15:20 -06:00
Gregory Nutt
1a07e950ea
Move LPC17xx IOCON register definitions from lpc17_gpio.h to lpc17_iocon.h; fix a few more .gitignore files
2013-04-04 18:12:44 -06:00
Gregory Nutt
1694955188
Clone svn:ignore directory atributed to .gitignore files
2013-04-04 14:27:29 -06:00
patacongo
e29d6479c9
Corrections needed after further test of stack-based task arguments
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5771 42af7a65-404d-4744-a932-0658087f49c3
2013-03-21 23:37:11 +00:00
patacongo
c496b7aad9
Copy siginfo_t to step before calling a user-space signal handler
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5769 42af7a65-404d-4744-a932-0658087f49c3
2013-03-21 20:02:14 +00:00
patacongo
a7b37da2d9
Add a up_stack_frame() interface to allocate a frame of data on a task's stack.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5768 42af7a65-404d-4744-a932-0658087f49c3
2013-03-21 17:35:08 +00:00
patacongo
c86f502f2e
In the kernel build, allocate the stacks for kernel threads from the kernel heap so that they are protected from medddling by the applications
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5766 42af7a65-404d-4744-a932-0658087f49c3
2013-03-20 20:27:08 +00:00
patacongo
020cc2248e
Change prototypes of up_create_stack and up_release_stack to include a task type parameter
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5765 42af7a65-404d-4744-a932-0658087f49c3
2013-03-20 18:22:21 +00:00
patacongo
3dc5b1fa9f
Create sched_ufree and sched_kfree from sched_free; Use user-accessible heap to allocae stacks
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5725 42af7a65-404d-4744-a932-0658087f49c3
2013-03-10 15:32:33 +00:00
patacongo
e47c64204c
More changes for a kernel-mode allocator (more to be done)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5724 42af7a65-404d-4744-a932-0658087f49c3
2013-03-09 21:12:20 +00:00
patacongo
9207732f18
Add debug output when memory allocations fail
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5686 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 15:31:58 +00:00
patacongo
bc69dc2c5a
Rename _TCB to struct tcb_s
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
2013-02-04 18:46:28 +00:00
patacongo
b1aa82fcca
Add syslog.h; rename lib_rawprintf() to syslog()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 21:55:16 +00:00
patacongo
71a8d7d104
Fix poll/select issue reported by Qiang
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5559 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 19:19:38 +00:00
patacongo
b94547ff97
configs/sim/nxwm now uses kconfig-frontends
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5449 42af7a65-404d-4744-a932-0658087f49c3
2012-12-21 21:30:33 +00:00
patacongo
cd20adb63d
Patches from Petteri Aimonen + stdbool and rand() changes for Freddie Chopin
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5415 42af7a65-404d-4744-a932-0658087f49c3
2012-12-07 16:00:56 +00:00
patacongo
00d2b645e6
Missing comma in EVERY DELFILE/DELDIR macro call in every Makefile
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5373 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 15:47:41 +00:00
patacongo
756e84977b
Most of the changes needed to support Windows native clean; distclean is has a problem
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
2012-11-17 18:54:53 +00:00
patacongo
7163ac74fa
Move some (hopefully) un-necessary quotes in Makefiles for Mike
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
2012-11-15 17:43:29 +00:00
patacongo
fbdc3246fd
A few more build fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5340 42af7a65-404d-4744-a932-0658087f49c3
2012-11-12 01:54:54 +00:00
patacongo
bf8f1e986c
Correct some issues with last check-in; ez80 still does not build
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5339 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 23:44:31 +00:00
patacongo
fac751de6b
Partial change: Removing bash ARCHIVE loop
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5335 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 15:42:12 +00:00
patacongo
9b822f3086
arch/../src/Makefiles now use only libraries in lib/
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5333 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 13:52:31 +00:00
patacongo
362302e003
Create an STM32F4Discovery configuration for testing uClibc++
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5300 42af7a65-404d-4744-a932-0658087f49c3
2012-11-02 23:22:48 +00:00
patacongo
64741f2bcc
Add libsupc++ to sim/cxxtest configuration
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5296 42af7a65-404d-4744-a932-0658087f49c3
2012-11-02 00:22:52 +00:00
patacongo
ecca51d044
ARM and ARMv7-M ELF support; STM32F4Discovery ELF loader test configuration
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5264 42af7a65-404d-4744-a932-0658087f49c3
2012-10-26 19:53:20 +00:00
patacongo
0074eca835
Rename elf.h to elf32.h; Additional ELF loader changes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5263 42af7a65-404d-4744-a932-0658087f49c3
2012-10-26 02:42:39 +00:00
patacongo
6eca82d4a6
More ELF loader changes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5261 42af7a65-404d-4744-a932-0658087f49c3
2012-10-25 22:10:56 +00:00
patacongo
a34472f4a8
Add x86 ELF support
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5258 42af7a65-404d-4744-a932-0658087f49c3
2012-10-25 16:37:31 +00:00
patacongo
a7490ae029
Change all occurrences of CONFIG_EXAMPLE_ to CONFIG_EXAMPLES_ for consistency; fleshed out a few more Kconfig files
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5211 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 17:36:07 +00:00
patacongo
5acf2fe3e1
Resync new repository with old repo r5166
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5154 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:35:37 +00:00
patacongo
36df84c843
Email address change in nuttx/
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5145 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 18:32:24 +00:00
patacongo
4f469e6316
Reconfigured Shenzhou to use JTAG. Misc Kconfig changes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5118 42af7a65-404d-4744-a932-0658087f49c3
2012-09-09 15:43:18 +00:00
patacongo
40888af331
Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4996 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 00:42:46 +00:00
patacongo
faf4bad3f1
Change all values in all limits.h for all architectures to signed decimal; the hex values were not sign extending appropriate in most uses
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4911 42af7a65-404d-4744-a932-0658087f49c3
2012-07-05 23:45:57 +00:00
patacongo
5181131ee7
NxWM: Finishes touchscreen implementation; NuttX: Standardize touchscreen initialization interfaces for all boards
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4721 42af7a65-404d-4744-a932-0658087f49c3
2012-05-11 00:05:25 +00:00
patacongo
294ca35a9a
More NxWM touchscreen fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4719 42af7a65-404d-4744-a932-0658087f49c3
2012-05-10 01:35:23 +00:00
patacongo
b7f6fe2249
Fix some warnings and fix some simulator builds
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4688 42af7a65-404d-4744-a932-0658087f49c3
2012-05-02 15:36:19 +00:00
patacongo
65609b13b3
more Kconfig stuff
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4626 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 21:53:05 +00:00
patacongo
8779fb2f5f
More Kconfig
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4625 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 21:23:10 +00:00
patacongo
09eb66c89d
Kconfig update
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4599 42af7a65-404d-4744-a932-0658087f49c3
2012-04-13 14:27:44 +00:00
patacongo
fbaeb32b0f
More configuration files
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4588 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 02:04:59 +00:00
patacongo
8948524fd3
Include libgcc.a inside of the group of recursively linked libraries in all Makefiles
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4573 42af7a65-404d-4744-a932-0658087f49c3
2012-04-08 13:03:26 +00:00
patacongo
7221f3b1ed
Updated Kconfig files from Lzyy
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4569 42af7a65-404d-4744-a932-0658087f49c3
2012-04-07 14:50:57 +00:00
patacongo
6708183e27
Beginning of a NuttX configuration tool
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4560 42af7a65-404d-4744-a932-0658087f49c3
2012-04-05 17:44:04 +00:00
patacongo
7667d2a64e
LPC17xx DAC fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4521 42af7a65-404d-4744-a932-0658087f49c3
2012-03-25 16:22:07 +00:00
patacongo
bab4616a8d
Move file-system header files to include/nuttx/fs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 18:01:07 +00:00
patacongo
df43e1b890
Move all non-standard, NuttX header files into include/nuttx/net
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4450 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 23:18:34 +00:00
patacongo
c4dfdea4b3
Add interface to enabled/disable debug output
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4386 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 23:54:26 +00:00
patacongo
d2e05ac96f
Fix a small RAM log bug (the RAM log still does not work)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4385 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 20:27:49 +00:00
patacongo
8595411e4a
Add logic to re-direct debug output to a sysloggin device
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4381 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 14:20:40 +00:00
patacongo
f96a5812a5
Remove a couple of warnings
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4377 42af7a65-404d-4744-a932-0658087f49c3
2012-02-08 17:17:18 +00:00
patacongo
799d40d32d
Some changes to the Telnet/FTPD configuration
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4376 42af7a65-404d-4744-a932-0658087f49c3
2012-02-08 00:05:36 +00:00
patacongo
50138c565e
Candidate fix for the libboard.a dependency problem (from Mike Smith)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4346 42af7a65-404d-4744-a932-0658087f49c3
2012-01-29 20:07:16 +00:00
patacongo
e5e53db35d
Create directory structures to support power-related devices
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4321 42af7a65-404d-4744-a932-0658087f49c3
2012-01-22 16:42:49 +00:00
patacongo
4b1f861e06
Add support for building 32-bit simulation on a 64-bit target
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4307 42af7a65-404d-4744-a932-0658087f49c3
2012-01-17 17:42:31 +00:00
patacongo
7513483666
Fix error in sim build
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4127 42af7a65-404d-4744-a932-0658087f49c3
2011-11-28 22:48:31 +00:00
patacongo
24fe8343b4
Fix sim/nsh2 build
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4039 42af7a65-404d-4744-a932-0658087f49c3
2011-10-11 14:34:18 +00:00
patacongo
4f1e0c062d
Add sim/nsh2 configuration
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4026 42af7a65-404d-4744-a932-0658087f49c3
2011-10-06 16:31:13 +00:00
patacongo
97f7f3d630
Don't run X11 event loop on a pthread; X11 is not thread-safe.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4001 42af7a65-404d-4744-a932-0658087f49c3
2011-09-29 21:13:49 +00:00
patacongo
398d60ede7
Use XGrapButton, not XGrabPointer
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4000 42af7a65-404d-4744-a932-0658087f49c3
2011-09-29 20:54:23 +00:00
patacongo
6fe938c5b2
Add sim touchscreen bugfixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3999 42af7a65-404d-4744-a932-0658087f49c3
2011-09-29 18:26:56 +00:00
patacongo
338fc4ddf8
Add debug instrumentation
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3998 42af7a65-404d-4744-a932-0658087f49c3
2011-09-29 17:49:36 +00:00
patacongo
e89f6654cb
Add a simple touchscreen test
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3995 42af7a65-404d-4744-a932-0658087f49c3
2011-09-29 16:25:21 +00:00
patacongo
ebd783e326
Simulated touchscreen debug fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3994 42af7a65-404d-4744-a932-0658087f49c3
2011-09-28 23:39:57 +00:00
patacongo
fd85adf183
Fixes to x11 event loop
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3993 42af7a65-404d-4744-a932-0658087f49c3
2011-09-28 22:28:21 +00:00
patacongo
ea6d356e9c
Remove some warnings
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3992 42af7a65-404d-4744-a932-0658087f49c3
2011-09-28 19:11:48 +00:00
patacongo
8a07562c87
Change X11 event loop initialization
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3991 42af7a65-404d-4744-a932-0658087f49c3
2011-09-28 19:09:38 +00:00
patacongo
07acb131f0
Fix NXFFS compilation error
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3990 42af7a65-404d-4744-a932-0658087f49c3
2011-09-28 18:24:00 +00:00
patacongo
d9d6990d9f
Add a simulated touchscreen driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3989 42af7a65-404d-4744-a932-0658087f49c3
2011-09-28 17:41:58 +00:00
patacongo
01a398eeea
Fix sim build under Ubuntu 9.09
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3988 42af7a65-404d-4744-a932-0658087f49c3
2011-09-28 14:59:54 +00:00
patacongo
99f4ac37a0
Use only __CYGWIN__ to identify Cygwin
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3987 42af7a65-404d-4744-a932-0658087f49c3
2011-09-28 14:05:46 +00:00
patacongo
eac7114381
Add a basic power management framework
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3936 42af7a65-404d-4744-a932-0658087f49c3
2011-09-04 19:24:27 +00:00
patacongo
d7a03dabb0
Completes test of line/trapezoid drawing routines
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3842 42af7a65-404d-4744-a932-0658087f49c3
2011-08-04 01:25:58 +00:00
patacongo
ab948d453e
Export make target now produces a .zip file by default
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3778 42af7a65-404d-4744-a932-0658087f49c3
2011-07-12 23:54:13 +00:00
patacongo
625d8a33bd
Add an 'export' target to the NuttX top-level Makefile
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3771 42af7a65-404d-4744-a932-0658087f49c3
2011-07-11 22:52:51 +00:00
patacongo
3a29986d80
Add termios header files; add files missed in last commit
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3739 42af7a65-404d-4744-a932-0658087f49c3
2011-07-01 22:23:54 +00:00
patacongo
9db7adaa53
Add support for accessing printf, sprintf, puts, etc. strings that do not lie in the MCU data space
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3738 42af7a65-404d-4744-a932-0658087f49c3
2011-07-01 19:08:04 +00:00
patacongo
b772a58c60
atexit() functions now called when task killed by task delete; For MCUs with <= 64Kb of SRAM, CONFIG_MM_SMALL can be defined to reduce the memory allocation overhead
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3648 42af7a65-404d-4744-a932-0658087f49c3
2011-05-28 21:42:18 +00:00
patacongo
f37cd2e046
Remove user_initialize(); Make sure all integer types are signed that need to be
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3474 42af7a65-404d-4744-a932-0658087f49c3
2011-04-06 17:48:56 +00:00
patacongo
434a24d88f
Stubs are working/Proxies are close
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3451 42af7a65-404d-4744-a932-0658087f49c3
2011-04-01 21:36:17 +00:00
patacongo
a55fc5bb81
header file and file header clean-up
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3434 42af7a65-404d-4744-a932-0658087f49c3
2011-03-28 21:21:11 +00:00
patacongo
f189c65605
Misc build fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3402 42af7a65-404d-4744-a932-0658087f49c3
2011-03-19 21:25:55 +00:00