Gregory Nutt
43eb04bb8f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:59:15 -06:00
Gregory Nutt
d40a473f72
Without lowsyslog() *llwarn() is not useful. Eliminate and replace with *warn().
2016-06-20 09:37: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
ac18dc27ca
Common/Calypso/C5471: Convert *err() to either *info() or add ERROR:, depending on if an error is reported
2016-06-17 15:22:48 -06:00
Gregory Nutt
b39e53391d
Add underscore at beginning of alert() as well
2016-06-16 12:38:05 -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
6f08216621
Centralize definitions associated with CONFIG_DEBUG_SYSCALL
2016-06-16 08:12:38 -06:00
Gregory Nutt
ba03134bed
Centralize definitions associated with CONFIG_DEBUG_SPI
2016-06-15 10:41:13 -06:00
Gregory Nutt
a97d3ae707
Centralize definitions associated with CONFIG_DEBUG_GPIO
2016-06-15 09:20:23 -06:00
Gregory Nutt
64fa0ab51f
Fix Kconfig dependency
2016-06-14 12:36:59 -06:00
Gregory Nutt
080aa07110
arch/mips/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-14 12:34:29 -06:00
Gregory Nutt
a98bc05f65
New debug macro: alert(). This is high priority, unconditional output and is used to simplify and stanardize crash error reporting.
2016-06-14 09:07:53 -06:00
Gregory Nutt
0f249016a0
Eliminate some warnings
2016-06-13 14:01:32 -06:00
Gregory Nutt
d5275e48d0
Eliminate some warnings
2016-06-13 13:16:03 -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
Gregory Nutt
5ef3e3e215
Replace confusing references to uIP with just 'the network'
2016-05-30 11:52:07 -06:00
Gregory Nutt
2a87741e72
Rename CONFIG_ARCH_HAVE_UARTn to CONFIG_UARTn_SERIALDRIVER
2016-05-25 10:45:01 -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
99e695398c
Rename up_boot to arm_boot
2016-05-12 13:42:49 -06:00
Gregory Nutt
f7d3b8147f
Rename CONFIG_NET_MULTICAST to avoid name conflicts
2016-03-20 13:14:36 -06:00
Gregory Nutt
bd846c2e72
All architectures: Register the schedule note driver if enabled
2016-03-17 17:00:59 -06:00
Gregory Nutt
4d4f54a789
Rename current_regs to g_current_regs; For ARM, g_current_regs needs to be an array to support multiple CPUs
2016-03-09 13:41:48 -06:00
Gregory Nutt
9c63736c98
Standard some naming if code sectino comments
2016-02-21 18:06:09 -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
b373894fbc
MIPS: Replace explict references to g_readytorun with indirect references via the this_task() macro
2016-02-06 16:49:34 -06:00
Gregory Nutt
1166e311b0
Networking: Remove the HSEC argument from devif_timer.
2016-02-03 11:17:15 -06:00
Gregory Nutt
3b6a502eff
For LK MCUs, rename up_spiinitialize to kl_spibus_initialize
2016-01-26 16:19:03 -06:00
Gregory Nutt
ba17c8ea18
For PIC32MX/Z MCUs, rename up_spiinitialize to pic32mx/z_spibus_initialize
2016-01-26 15:47:42 -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
10001f8556
WINTOOl should be selected only for Cygwin. MSYS and native should not have it.
2016-01-09 16:34:33 -06:00
Gregory Nutt
fe94318bb4
PIC32MX/MZ: Fix error in assember macro. Noted by Tilak Tangudu
2016-01-05 10:04:50 -06:00
Gregory Nutt
71c289ce4f
Rename all architecture files of form xyz_internal.h to just xyz.h
2015-12-29 18:07:11 -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
e5e631e57f
include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics.
2015-11-26 12:07:18 -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
14d7ede265
All instances of up_initialize() should call loop_register() is CONFIG_DEV_LOOP=y
2015-11-25 17:10:41 -06:00
Gregory Nutt
79df561669
Rename board_led_off to board_autoled_off
2015-11-01 09:09:36 -06:00
Gregory Nutt
b28e32e3d3
Rename board_led_on to board_autoled_on
2015-11-01 09:07:06 -06:00
Gregory Nutt
4a46a872bd
arch/mips: fix some spacing and alignment issues
2015-10-12 08:18:03 -06:00
Gregory Nutt
7a63e976ad
Remove TABs
2015-10-04 16:00:42 -06:00
Gregory Nutt
6fc6d17760
Fix some spacing problems
2015-10-04 14:59:08 -06:00
Gregory Nutt
9caf33e13b
Standardize the width of all comment boxes in C header files
2015-10-03 07:28:30 -06:00
Gregory Nutt
7ced84c5f0
Standardize the width of all comment boxes in C files
2015-10-03 07:25:03 -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
26347891ac
Apply same fix for ARMv7-M to other architectures
2015-09-30 11:21:04 -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
ba6c0b3fa3
Fix more common typos
2015-08-16 11:06:29 -06:00
Gregory Nutt
e29220183a
Fix some common typos
2015-08-16 10:59:10 -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
8e4f3bddb6
Add CONFIG_NETDEV_LATEINIT that can be used to suppress calls to up_netinitialize() from early initialization
2015-07-17 07:20:16 -06:00
Gregory Nutt
6129df90d6
PIC32 USB device: Fix some backward conditional compilation; fix some warnings
2015-07-03 14:37:46 -06:00
Gregory Nutt
35bd9756ff
PIC32 SPI: Fix some backward conditional compilation
2015-07-03 14:36:56 -06:00
Gregory Nutt
e7177afca4
MIPS32 header: Missing comma in prototype. How did that happen
2015-07-03 14:36:19 -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
c07a9632cc
Clean up and review of header files for conformance to standards
2015-06-12 19:17:42 -06:00
Gregory Nutt
7bd3d5eaf1
Clean up and review of header files for conformance to standards
2015-06-12 19:00:52 -06:00
Gregory Nutt
38735fafeb
More missing semicolons after DEBUGASSERT
2015-05-27 13:32:39 -06:00
Gregory Nutt
d77a19f0a2
Two r's and only two r's in the word interrupt
2015-04-23 14:04:43 -06:00
Gregory Nutt
ae15c6963c
Make some file section headers more consistent with standard
2015-04-08 08:04:12 -06:00
Gregory Nutt
ef1dda9207
PIC32MZ Ethernet: Add support for LAN4720A and fix IRQ namespace. From Kristopher Tate
2015-03-29 07:18:17 -06:00
Gregory Nutt
70dc3d68c5
PIC32MZ: Correct the base address of Ethernet registers. From Kristopher Tate
2015-03-29 07:15:29 -06:00
Gregory Nutt
947d1056ac
PIC32MZ: Rename Ethernet files to proper convention. From Kristopher Tate.
2015-03-29 07:10:13 -06:00
Gregory Nutt
b65f7f0b8a
Add support for LAN8740
2015-03-23 15:34:10 -06:00
Gregory Nutt
a885c05861
PIC32MZ: Clone PIC32MX Ethernet driver to PIC32MZX (not yet verified)
2015-03-23 08:10:49 -06:00
Gregory Nutt
c52868bebe
PIC32MZ: Correct conversion of IRQ nubmers to IRSx register addresses. From Kristopher Tate
2015-03-22 08:41:54 -06:00
Gregory Nutt
60529baf3d
PIC32MZ: Add missing call to initialize peripheral clocking. From Kristopher Tate
2015-03-22 08:15:26 -06:00
Gregory Nutt
16ece4e4bc
PIC32MZ: PPS needs to start from the SFR base address. Fix from Kristopher Tate
2015-03-22 08:13:28 -06:00
Gregory Nutt
f172c0b17f
Fix backward help instructions in a Kconfig file
2015-03-21 17:02:15 -06:00
Gregory Nutt
0a13a27fca
More changes for PIC32MZ build under XC32
2015-03-21 16:38:24 -06:00
Gregory Nutt
000381db37
PIC32MZ: Changes that will permit building of the PIC32MZ Start Kit configuration using MPLAB and the XC32 toolchain. From David Sidrane
2015-03-17 14:50:11 -06:00
Gregory Nutt
48efd2a6a8
PIC32MZ: Fixes from Kristopher Tate
2015-03-11 10:25:51 -06:00
Gregory Nutt
9d32caaa2c
SAMV7: Add serial driver
2015-03-08 10:15:42 -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
b17303e8ab
PIC32MZ: Add DMA register definition header file
2015-03-03 15:57:47 -06:00
Gregory Nutt
e290a10fa6
PIC32MZ: Add I2C register definition file
2015-03-03 14:40:09 -06:00
Gregory Nutt
ef23616f8f
PIC32MX: Copy some of the configuration updates from PIC32MZ
2015-03-03 13:16:58 -06:00
Gregory Nutt
4183594466
PIC32MZ SPI: Implement exchange() method; update SPI_REGDEBUG configuration and clean up implementation
2015-03-03 12:23:27 -06:00
Gregory Nutt
a3464c54bd
PIC32MX SPI: Fix typos in Kconfig; Move constant SPI config data to ROM-able const structure
2015-03-03 10:06:49 -06:00
Gregory Nutt
da2319a27f
PIC32MZ: Default SPI configuration setting is backward; refresh configuration
2015-03-03 09:16:10 -06:00
Gregory Nutt
1269fe8b58
PIC32MZ: Add a basic SPI driver
2015-03-03 08:58:27 -06:00
Gregory Nutt
9cb90824a1
PIC32MZ Starter Kit: Add support for on-board buttons
2015-03-02 10:01:10 -06:00
Gregory Nutt
625cd7b43a
PIC32MZ: Implement support for IO port interrupts
2015-03-02 09:24:43 -06:00
Gregory Nutt
7ae730c810
PIC32MZ: Add ability to select flash ECC options
2015-03-01 09:08:44 -06:00
Gregory Nutt
b9f1e7e301
PIC32MZ: Fix yet another error in DEVCFG settings
2015-02-28 14:35:40 -06:00
Gregory Nutt
9377ec2f80
PIC32MZ: More fixups to DEVCFG settings. Still can't debug
2015-02-28 14:18:22 -06:00
Gregory Nutt
18b7234ad7
PIC32MZ: Ooops DMTCNT maximum value still bad
2015-02-28 13:48:16 -06:00
Gregory Nutt
0c7a1382b2
PIC32MZ: Fix reserved RAM for MPLABX; Revert FPLLRNG calculation; Fix maximum DMTCNT value
2015-02-28 12:49:03 -06:00
Gregory Nutt
f0a00f685a
PIC32MZ: Fix some configuration settings and POSC mode should be external clock
2015-02-28 11:54:47 -06:00
Gregory Nutt
ee84648f96
PIC32MZ: Add an option to use the MIPS32 or the microMIPS ISA
2015-02-28 08:22:37 -06:00
Gregory Nutt
429863f348
arch/: board function prototypes are now in include/nuttx/board.h. Remove from architecture header file; Add inclusion of nuttx/board.h to all files referencing board functions
2015-02-27 17:19:38 -06:00
Gregory Nutt
c0d2e33288
PIC32MZ: Correct a few more DEVCFG issues
2015-02-27 16:20:28 -06:00
Gregory Nutt
a7c1053f9d
PIC32MZ: Review DEVCFG setting; adjust a few to match example code
2015-02-27 10:54:18 -06:00
Gregory Nutt
7378a97c74
PIC32MZ: Fix some repeated typos and work around an issue with passing defined parameters to a macro that takes multiple parameters
2015-02-26 15:39:57 -06:00
Gregory Nutt
a688cdc2ee
PIC32MZ: Add logic to configure peripheral pins for the selecte UARTs
2015-02-26 15:05:11 -06:00
Gregory Nutt
db9b6b5f1a
PIC32MZ: Add peripheral pin selection register definitions
2015-02-26 13:19:40 -06:00
Gregory Nutt
6961f84e62
Costmetic updates comments and style; Add NFS dependency on IPv4
2015-02-26 06:04:23 -06:00
Gregory Nutt
a4d514c79b
PIC32MX/Z: Partial review of PIC32MZ cp0 register -- need to do more; Also found issues with definitions for PIC32MX -- need to be retested
2015-02-25 13:33:09 -06:00
Gregory Nutt
2c929aa55f
PIC32MZ: Add file for GPIO interrupt support. There are issues so configuration is EXPERIMENTAL for now
2015-02-25 11:09:04 -06:00
Gregory Nutt
8f8ed30d52
PIC32MZ: Add IOPort header file and GPIO configuration logic
2015-02-25 10:43:12 -06:00
Gregory Nutt
1b4bc931cd
Adjust microMIPS compile options to enable interlinking with 32-bit code
2015-02-25 09:54:48 -06:00
Gregory Nutt
b99ff9e03b
Refresh configuration
2015-02-25 07:22:58 -06:00
Gregory Nutt
0d6ba023a1
PIC32MZ: Add serial driver
2015-02-24 19:44:25 -06:00
Gregory Nutt
c3d282df7b
PIC32MZ: Add low level UART support
2015-02-24 17:23:56 -06:00
Gregory Nutt
87faa1008f
PIC32MZ: Add UART register definition header file
2015-02-24 17:00:14 -06:00
Gregory Nutt
65d762f902
PIC32MZ: Add error exception handling and interrupt decode logic
2015-02-24 16:11:30 -06:00
Gregory Nutt
6798e67177
PIC32MZ: Add support for a timer interrupt
2015-02-24 15:36:08 -06:00
Gregory Nutt
d0940671cf
PIC32MZ: Add interrupt controller support
2015-02-24 14:50:54 -06:00
Gregory Nutt
acef552fac
PIC32MZ: Add interrupt controller register definitions
2015-02-24 13:16:04 -06:00
Gregory Nutt
6cf496ee67
PIC32MX: Standardize of naming in comments
2015-02-24 11:32:15 -06:00
Gregory Nutt
f5a0fb060d
PIC32MZ: Add Oscillator header file; Add logic to set up peripheral clocks on reset
2015-02-24 11:16:32 -06:00
Gregory Nutt
354e5a9a11
PIC32MZ: Add beginnings of CPU initialization logic. Still some bad logic for setting up peripheral clocking
2015-02-24 09:30:30 -06:00
Gregory Nutt
15579510e8
PIC32MZ: Fix some PLL setup logic
2015-02-23 17:27:28 -06:00
Gregory Nutt
db10058d27
PIC32MZ: Fix an error in the branch target of the hard-coded power up reset branch
2015-02-23 17:09:57 -06:00
Gregory Nutt
9e92b9041b
PIC32MZ: Most related to start up file a FLASH device configuration setup
2015-02-23 16:36:35 -06:00
Gregory Nutt
cfd139e8af
PIC32MZ: Make sure that the microMIPS ISA is selected on all common MIPS32 assembly files when the PIC21MZ is selected
2015-02-23 12:09:34 -06:00
Gregory Nutt
9a4f360265
PIC32MZ: Resolve a PIC32 dependency in the generic MIPS32 code
2015-02-23 11:56:16 -06:00
Gregory Nutt
b7a8a1f8aa
Finishes PIC32MZ device configuration definitions
2015-02-23 09:58:34 -06:00
Gregory Nutt
d75acb630d
PIC32MZ: Add memorymap and devcfg header files
2015-02-22 16:21:12 -06:00
Gregory Nutt
5559b72abd
PIC32MZ: Framework for startup function. Still has too much PIC32MX garbage in it to be credible
2015-02-22 14:30:53 -06:00
Gregory Nutt
9c9fc13b6c
MIPS: Add some build support for the M14K and also for the PIC32MZ Starter Kit. Still a long way to go
2015-02-22 13:45:59 -06:00
Gregory Nutt
a81ebff6e0
Remove support for obsolete PIC32 toolchain configuration names
2015-02-22 12:14:20 -06:00
Gregory Nutt
024a5cb278
PIC32MZ: Add just enough PIC32MZ logic that we can run 'make menuconfig'
2015-02-22 10:53:24 -06:00
Gregory Nutt
f273bcfa82
Fix a typo that prevents building PIC32... How long has that been there?
2015-02-21 19:41:59 -06:00
Gregory Nutt
c5b3e3e7aa
Current Pinguino toolchain uses prefix p32 instead of mips
2015-02-21 19:41:26 -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
30b141e2c8
Remove CONFIG_DEBUG_STACK. Adding CONFIG_STACK_COLORATION makes this configuration option pointless
2015-01-24 06:49:51 -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
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
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
60d2547cd7
Move selection for CONFIG_SERIAL_TERMIOS out of MCU Kconfigs to common drivers/serial/Kconfig. Add CONFIG_ARCH_HAVE_SERIAL_TERMIOS to indicate if an MCU supports TERMIOS
2014-10-27 11:31:16 -06:00
Gregory Nutt
4b4f3212f3
For PIC32MX7, DEVCFG0 bit 2 must be set
2014-10-09 14:03:54 -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
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
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
ec086adfae
Reanem kzalloc to kmm_zalloc for consistency
2014-08-31 17:34:44 -06:00
Gregory Nutt
10ca085b09
Rename kmalloc to kmm_malloc for consistency
2014-08-31 17:26:36 -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
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
35b11a7533
Fix an error introduced into ALL implmentations of interrupt dispatch logic
2014-08-28 08:41:57 -06:00
Gregory Nutt
8bdde7b2d1
Add address environment support to ALL implementatins of up_release_pending()
2014-08-28 08:10:19 -06:00
Gregory Nutt
1b24afe6fc
Add address environment support to ALL implementatins of up_reprioritize_rtr()
2014-08-28 07:54:07 -06:00
Gregory Nutt
9c6fea03d0
MIPS: Move address environment switch from the task switchers to the interrupt handler. That may save doing the action multiple times per interrupt
2014-08-28 07:16:14 -06:00
Gregory Nutt
756054d745
Add ADDRENV support to ALL implmentations of _exit()
2014-08-27 16:31:02 -06:00
Gregory Nutt
7055bce8b4
Add ADDRENV support to ALL implementations of up_unblock_task()
2014-08-27 16:15:46 -06:00
Gregory Nutt
5bf114e604
Add ADDRENV support to all implementations of up_block_task()
2014-08-27 15:36:52 -06:00
Gregory Nutt
2bc16b2ba5
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
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
594083d870
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
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
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
00667926a9
Move include/nuttx/net/uipopt.h to include/nuttx/net/netconfig.h
2014-06-24 08:53:28 -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
bac1ab9a34
Make sure that all references to up_prioritize_irq() are conditioned on CONFIG_ARCH_IRQPRIO. Noted by Make Smith
2014-05-20 17:48:39 -06:00
Gregory Nutt
af2bb81ac2
Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna
2014-05-08 09:00:33 -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
c708eff608
Make sure that there is one space after for
2014-04-12 13:28:22 -06:00
Gregory Nutt
33d5d24964
Make sure that there is one space between while and condition
2014-04-12 13:09:48 -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
5b9f1f54c2
Add option to dump buffered USB trace data on an assertion
2014-03-20 10:56:30 -06:00
Gregory Nutt
07454e9241
configs/pic32-starterkit/nsh converted to use the kconfig-frontends tools
2014-03-01 11:10:30 -06:00
Gregory Nutt
74c50c12de
configs/mirtoo/nsh converted to use the kconfig-frontends tools
2014-03-01 10:49:19 -06:00
Gregory Nutt
a26b03d0d0
rename up_led*() functions to board_led_*()
2014-01-24 14:28:49 -06:00
Gregory Nutt
231889c888
The optimization level can now be selected as part of the configuration
2014-01-24 07:45:35 -06:00
Gregory Nutt
f53f269a84
Kconfigs: Interrupt prioritization should not be automatically selected
2013-12-20 08:42:54 -06:00
Gregory Nutt
d01808c603
LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks
2013-12-05 10:37:55 -06:00
Gregory Nutt
b8085906b9
Extend stack debug logic to include IDLE and interrupt stacks. Also color the heap as well. Based on suggestions from David Sidrane
2013-11-01 11:16:51 -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
52b0a16cd3
Move CONFIG_NET_DUMPPACKET from LPC17 and STM32 to commong network drivers. Automatically enabled CONFIG_NETDEVICES when any Ethernet driver is enabled
2013-09-25 11:50:05 -06:00
Gregory Nutt
82cd614b66
Add prefex ETH0 to all PHY configurations to support multiple NICs
2013-09-17 10:45: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
dfe6452b8e
Add untested OHCI driver for the SAMA5; structure naming and header files for USB host initialization prototypes
2013-08-11 17:11:32 -06:00
Gregory Nutt
2f772c84fd
Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_
2013-07-26 10:09:17 -06:00
Gregory Nutt
a954eb76b2
Created new directories to hold SPI-related files
2013-07-01 08:11:54 -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
34c9e7284b
Fix null packet handling in the PIC32 USB device driver. This is a critical bug fix for PIC32. Add support for the USB monitor to the Sure-PIC32MX configuration
2013-05-28 13:36:01 -06:00
Gregory Nutt
03478d02aa
Fix Sure PIC32 LOOPSPERMSEC
2013-05-27 16:29:41 -06:00
Gregory Nutt
f7ef927019
Converted all configurations to use the kconfig-frontends tools, cleaned up the directory structure and naming to match some of the more recent configurations, and added a segment LCD driver for the board. The initial checkin of the LCD driver is just a clone of configs/pcblogic-pic32mx/src/pic32mx_lcd1602 and it not yet expected to be functional.
2013-05-26 16:44:53 -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
803a860d34
New Kconfig convention: Extra indentation in comments will render as HTML preformatted text
2013-04-22 09:10:58 -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
990c1febf8
Add support for nested system calls
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5752 42af7a65-404d-4744-a932-0658087f49c3
2013-03-17 16:13:28 +00:00
patacongo
d455b94545
Fix more compile errors and warnings introduced in recent commits
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5744 42af7a65-404d-4744-a932-0658087f49c3
2013-03-15 01:32:47 +00:00
patacongo
c85fcaecdb
Rename g_heapbase to g_idle_topstack; Fix kernel build heap allocation which cannot use g_heapbase
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5739 42af7a65-404d-4744-a932-0658087f49c3
2013-03-14 14:42:52 +00:00
patacongo
8159804f9c
Fix some ARMv7-M syscall logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5736 42af7a65-404d-4744-a932-0658087f49c3
2013-03-12 21:53:18 +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
edeb45f8c5
More kernel build fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5716 42af7a65-404d-4744-a932-0658087f49c3
2013-03-07 14:27:47 +00:00
patacongo
bd1488bdab
Fix some bad syscall dispatching log. This change is not testable until these is a tested NuttX kernel build.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5713 42af7a65-404d-4744-a932-0658087f49c3
2013-03-06 19:56:32 +00:00
patacongo
33a78ff078
Fix for compilation issues reported by Mike Smith
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5702 42af7a65-404d-4744-a932-0658087f49c3
2013-03-04 00:00:19 +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
f84c45c220
Some NuTiny-SDK-NUC120 size reduction; All serial driver vtables should be static const
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5683 42af7a65-404d-4744-a932-0658087f49c3
2013-02-27 22:24:49 +00:00
patacongo
f7833e1c8e
MIPS stack alignment fix for floating point from Helmut
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5681 42af7a65-404d-4744-a932-0658087f49c3
2013-02-27 16:31:03 +00:00
patacongo
c254d0bb3e
Add an NSH configuration for the NuTiny-SDK-NUC120. Still does not work
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5678 42af7a65-404d-4744-a932-0658087f49c3
2013-02-26 21:53:12 +00:00
patacongo
fd9eac63a9
Some fixes needed for STM32 build after recent scheduler changes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5620 42af7a65-404d-4744-a932-0658087f49c3
2013-02-07 16:58:43 +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
b27ce2030e
Misc clean; mark assertions as non-returning; allow toolchain prefix to be overriden from make command line
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5591 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 23:29:34 +00:00
patacongo
cec4563394
Missing calls to class SUSPEND/RESUME methods in all USB drivers
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5590 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 19:20:26 +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
1b8979d24f
Serial driver needed even when no console; Fix user LED settings in all STM32 configurations
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5575 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 15:03:17 +00:00
patacongo
6cfe0a45e9
Move stream data from TCB to task group structure.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5569 42af7a65-404d-4744-a932-0658087f49c3
2013-01-26 22:25:21 +00:00
patacongo
43659b5840
Move file data from TCB to task group
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5567 42af7a65-404d-4744-a932-0658087f49c3
2013-01-26 20:17:29 +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
65a1c61e6c
Beginning of support for LCD1602
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5545 42af7a65-404d-4744-a932-0658087f49c3
2013-01-21 22:46:37 +00:00
patacongo
ee2be652aa
Implement vfork() for the MIPS32 architecture
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5520 42af7a65-404d-4744-a932-0658087f49c3
2013-01-15 15:40:18 +00:00