Commit Graph

5525 Commits

Author SHA1 Message Date
Gregory Nutt
5367c5993c SAMV7: Add some conditional logic to handle the case where the board has no 32.768KHz crystal installed 2015-11-30 15:21:25 -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
4d2299896e SAMV7: Add support to network device statistics to the Ethernet driver 2015-11-27 12:30:15 -06:00
Gregory Nutt
8ce454a584 Remove some warnings; eliminate unused variables 2015-11-26 12:46:53 -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
22b4932a4f __KERNEL__ should be defined when compiler architecture specific logic 2015-11-25 18:06:56 -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
Gregory Nutt
b1e17d8892 Fix some conditional compilation. CONFIG_LIBC_LOCALTIME should be checked in most of the same places wehre CONFIG_TIME_EXTENDED is checked 2015-11-25 12:51:07 -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
076b05b460 In Kconfig of all CPUs with 16-bit address, force CONFIG_MM_SMALL=y 2015-11-23 12:16:35 -06:00
Gregory Nutt
9f98dfecb7 sim: Eliminate a warning 2015-11-23 11:59:33 -06:00
Gregory Nutt
30834721df Trivial changes for compliance with coding standard 2015-11-20 17:53:03 -06:00
Gregory Nutt
0ed9c6496b Merged in wail007/arch (pull request #35)
Small bug fix for stm32 lower half timer driver
2015-11-20 17:50:39 -06:00
Wail Khemir
702368fce4 Small bug fix for stm32 lower half timer driver 2015-11-20 18:16:39 -05:00
Wail Khemir
efb8d31af6 Merged nuttx/arch into master 2015-11-20 18:11:17 -05:00
Gregory Nutt
25a2e17347 Rename up_rtcinitialize to up_rtc_initialize so that it looks like other RTC interfaces 2015-11-20 08:27:04 -06:00
Gregory Nutt
25e54726a3 STM32: Fix a build error detected by tools/testbuil.sh: The STM32L does not define UID address 2015-11-18 14:33:27 -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
a6d6c430d9 Changes to last merge from review for compliance to coding standards 2015-11-17 21:10:17 -06:00
Gregory Nutt
ace39d4b18 Merged in marawan31/arch (pull request #34)
Added implementation to get 96-bit stm32 unique id
2015-11-17 20:58:48 -06:00
Marwan Ragab
4999c14085 Added implementation to get 96-bit stm32 unique id 2015-11-17 21:34:41 -05:00
Gregory Nutt
a8ab72f97a Fix some stylistic issues found by tools/nxstyle 2015-11-17 17:31:38 -06:00
Gregory Nutt
3c84aa3b5f (Hopefully) cosmetic changes from review of recent merges for conformance to coding standard 2015-11-17 16:53:21 -06:00
Gregory Nutt
c09622b0f6 Merged in wail007/arch (pull request #33)
Added a lower-half timer driver for stm32 which is compatible with the upper-half driver located at /drivers/timers/timer.c
2015-11-17 16:26:20 -06:00
Wail Khemir
9451b09d3a Added a lower-half timer driver for stm32 which is compatible with the upper-half driver located at /drivers/timers/timer.c 2015-11-17 16:57:02 -05:00
Gregory Nutt
88ebcc895b Fix some spacing problems found by tools/nxstyle.c 2015-11-15 10:47:42 -06:00
Gregory Nutt
bd384d93eb SAMV7 MCAN: Cosmetic change 2015-11-15 08:38:27 -06:00
Gregory Nutt
82b6c8aed7 Add SAME70 to arm/arch/src/samv7/Kconfig 2015-11-14 13:35:24 -06:00
Gregory Nutt
39362feee0 arch/arm/src/samv7: Add pin configuratinos for SAME70. Not all verified. I assume that the SAME70 pin mapping is identical to the SAMV71 minus MediaLB pins 2015-11-14 12:14:27 -06:00
Gregory Nutt
58615a4e69 arch/arm/src/samv7: Add SAME70 memory map 2015-11-14 12:01:28 -06:00
Gregory Nutt
38a3d24706 arch/arm/src/samv7: Add support for SAME70 peripheral clocks 2015-11-14 11:41:53 -06:00
Gregory Nutt
0add2b8910 arch/arm/include/samv7: Add support for the SAME70 family 2015-11-14 11:36:21 -06:00
Gregory Nutt
ba57b5bdc0 SAMV7 FLASH: Fix a cache error, fix an address comparison 2015-11-13 11:32:06 -06:00
Gregory Nutt
a1e9a07c7a SAMV7 progmem: Debug fixes from intial testing 2015-11-13 09:18:26 -06:00
Gregory Nutt
4ecf9b5bec SAMV7 FLASH driver now at least compiles 2015-11-12 12:26:53 -06:00
Gregory Nutt
1593cd7149 SAMV7 flash logic is complete, uncompiled, and untested 2015-11-12 10:46:59 -06:00
Gregory Nutt
78153004ee SAMV7: Don't call can_txdone with the device locked. This can lead to deadlocks on subsequent actions from the upper half can driver 2015-11-12 07:58:09 -06:00
Frank Benkert
54cff3c5ae SAMV7 MCAN: Remove forcing of transfer complete interrupt 2015-11-12 07:35:01 -06:00
Gregory Nutt
b05fb671ff Trivial simplification to logic of last commit 2015-11-11 15:17:36 -06:00
Gregory Nutt
003e022ce9 SAMV7 QSPI: Check if data to be transferred is unaligned; If unaligned, don't use DMA 2015-11-11 14:29:28 -06:00
Gregory Nutt
8554cdbff6 Merged in paulpatience/nuttx-arch (pull request #32)
Fix typo
2015-11-11 12:09:42 -06:00
Paul A. Patience
52454cf79b Fix typo 2015-11-11 13:06:15 -05:00
Gregory Nutt
3964b4ac57 SAMV7: Add framework for on-chip FLASH access 2015-11-11 10:07:41 -06:00
Gregory Nutt
11e89f5a7b Cosmetic changes from code review 2015-11-11 07:41:51 -06:00
Gregory Nutt
518b4b14b2 Merged in petekol/arch (pull request #31)
forgotten changes
2015-11-11 07:38:38 -06:00