Commit Graph

475 Commits

Author SHA1 Message Date
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