Commit Graph

3310 Commits

Author SHA1 Message Date
Gregory Nutt
de7fbf92a0 Add logic that will permit us to build user libraries with different CFLAGS than kernel code. This is needed because we need the -fno-common option when building ELF code to prevent SHN_COMMON relocations 2014-09-09 15:45:37 -06:00
Gregory Nutt
a9e0e7b41d Update changelog 2014-09-09 13:54:56 -06:00
Gregory Nutt
d7a3a2c432 SAMA5D4-EK kernel config can now boot from a ROMFS file system 2014-09-09 13:51:13 -06:00
Gregory Nutt
a7681312f9 Add README.txt file for CC3200 Launchpad 2014-09-09 08:14:44 -06:00
Gregory Nutt
42299e4394 Update README file 2014-09-08 16:00:57 -06:00
Gregory Nutt
4cda2db309 Update CC3200 OpenOCD config 2014-09-08 16:00:26 -06:00
Gregory Nutt
507a4268db Rename SAMA5D4-EK kernel configuration to knsh for consistency with naming for other platforms 2014-09-08 11:05:05 -06:00
Gregory Nutt
31a908ea3a Cosmetic changes to comments/spacing 2014-09-08 08:57:25 -06:00
Gregory Nutt
f24072a91b SAM3X/Arduino Due: Fix typo in sam3x_periphclks.h; add SCLK definitions to board.h header file. From Fabien Comte 2014-09-08 06:16:35 -06:00
Gregory Nutt
e57d2e5460 SAM3X/Arduino Due: Fix typo in sam3x_periphclks.h; add SCLK definitions to board.h header file. From Fabien Comte 2014-09-08 06:14:59 -06:00
Gregory Nutt
91140ef594 Need to call elf_initialize() on bring-up before attempting to load ELF modules 2014-09-07 13:47:02 -06:00
Gregory Nutt
5849298be8 Refresh configuration 2014-09-07 13:46:14 -06:00
Gregory Nutt
f52b92a51f SAMA5D4-EK kernel configurations needs support for task termination clean-up 2014-09-06 14:40:39 -06:00
Gregory Nutt
8dffb83c84 Several fixes for errors introduced by last check-ins 2014-09-06 11:17:05 -06:00
Gregory Nutt
2332d8a736 SAMA5D4-EK kernel configuration now builds NSH instead of examples/elf 2014-09-06 07:04:14 -06:00
Gregory Nutt
14ed6d0a37 Need to add CRT0 to every Makefile in apps/examples/tests 2014-09-05 16:05:29 -06:00
Gregory Nutt
ae9ffe21b4 Copy more logic from nuttx/tools/Config.mk into the Make.defs file. Plus trivial related changes 2014-09-05 11:25:34 -06:00
Gregory Nutt
d573f5a96c Remove the 16z board support from the main source tree. It is still avaialable in the misc/Obsoleted directory 2014-09-05 07:59:31 -06:00
Gregory Nutt
e958040269 Add capability to perform initial board initialization on a separate worker thread. 2014-09-03 18:36:43 -06:00
Gregory Nutt
ee96ed963c SAMA5D4-EK: Add logic to mount an SD card as a boot device 2014-09-03 08:34:28 -06:00
Gregory Nutt
a488b10ac4 SAMA5D4-EK: Restructure initialization slightly to better support kernel mode 2014-09-03 07:29:49 -06:00
Gregory Nutt
9ee4b9e2b1 Every defconfig file should now have a valid setting for CONFIG_WDOG_INTRESERVE 2014-09-03 06:55:06 -06:00
Gregory Nutt
23147c40a5 Remove final traces of the 8015 from the NuttX source tree 2014-09-01 13:21:15 -06:00
Gregory Nutt
998740e75a Obsolete support for the 8051 family. Trying to maintain compatibility with this family is too much effort and there has never really been a successful NuttX impplementation on these parts 2014-09-01 12:27:17 -06:00
Gregory Nutt
be0a832f65 Updates to the CC3200-Launchpad configuration for better compatibility 2014-09-01 12:07:59 -06:00
Gregory Nutt
1780810d3d Rename kmalloc to kmm_malloc for consistency 2014-08-31 17:26:36 -06:00
Gregory Nutt
54fa3b0b59 Rename kfree to kmm_free for consistency with other naming conventions 2014-08-31 17:04:02 -06:00
Gregory Nutt
e46f8e090b SAMA5D4-EK: Add a configuration for testing the kernel build configuration (still a work in progress) 2014-08-31 11:08:49 -06:00
Gregory Nutt
3c1a70c9dc Remove CONFIG_MM_MULTIHEAP. Non-multiheap operation is no longer supported 2014-08-31 10:54:55 -06:00
Gregory Nutt
351d20717d Separate flat, protected, and kernel mode library selected into separate files. The conditional logic as exceed my able to comprehend and maintain the selections. 2014-08-30 10:43:58 -06:00
Gregory Nutt
50b6e30c40 Cosmetic 2014-08-30 09:26:21 -06:00
Gregory Nutt
40375c9cd6 Enable SYSCALL interface with address environments in the SAMA5D4-EK ELF configuration 2014-08-30 08:48:18 -06:00
Gregory Nutt
38b1f11e57 Refresh all configurations that have MMUs 2014-08-30 07:51:13 -06:00
Gregory Nutt
c52335fa02 Refresh configurations using the MPU 2014-08-30 07:25:29 -06:00
Gregory Nutt
b918b4b808 Add a tool to make refreshing configurations easier when you wnat to do a lot of them 2014-08-29 17:21:24 -06:00
Gregory Nutt
0f5dc2fc65 Various changes/fixes to get configs/stm32f4discovery/kostest working after the big configuration renaming (and after a long period of bit rot) 2014-08-29 16:23:46 -06:00
Gregory Nutt
faf16f229c Some initial clean-up in verifying the CONFIG_BUILD_PROTECTED configuration change 2014-08-29 15:07:35 -06:00
Gregory Nutt
e3ff0689bb Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL 2014-08-29 14:47:22 -06:00
Gregory Nutt
660e939d0c Update README file 2014-08-28 11:08:26 -06:00
Gregory Nutt
7ba9ddee7f STM32 FLASH fixes: use size_t instead of uint16_t, make interface more generic. From Freddie Chopin 2014-08-28 09:11:20 -06:00
Gregory Nutt
0b919b6381 CC3200 Lauchpad updates from Jim Ewing 2014-08-27 15:39:57 -06:00
Gregory Nutt
355bef617f Updated CC3200 Launchpad defconfig file 2014-08-26 16:42:06 -06:00
Gregory Nutt
c3a498264e CC3200 Launchpad updates 2014-08-26 16:31:47 -06:00
Gregory Nutt
f65b319037 Updates to CC3200 board config. Does not quite build yet 2014-08-26 15:49:50 -06:00
Gregory Nutt
b831f241d8 Add basic support for the CC3200 Launchpad. From Jim Ewing 2014-08-26 15:36:02 -06:00
Gregory Nutt
00f5e8f70e Bugfixes.. still integrating SAMA5 ELF with address environment 2014-08-25 15:27:58 -06:00
Gregory Nutt
17cc5caa98 SAMA5 ELF configuration with address environments finally builds without errors 2014-08-25 13:59:02 -06:00
Gregory Nutt
1725946447 Misc changed to get the SAMA5 ELF configuration with address environments working 2014-08-25 13:28:13 -06:00
Gregory Nutt
8c535f00dd Update configs/sama5d4-ek/elf/defconfig 2014-08-25 11:24:54 -06:00
Gregory Nutt
a832f97e90 Resolve ChangeLog conflicts 2014-08-25 06:26:48 -06:00
Gregory Nutt
7e9f569ac6 Add build support for ELF modules. Useless at the moment because there is no x86 relocation logic 2014-08-25 06:09:09 -06:00
Gregory Nutt
285e1cd7be Update some sim/ defconfig files. This now automatically switches them to x86_64 builds 2014-08-25 06:08:17 -06:00
Gregory Nutt
7aea220ebf After cached related fix, the ELF example is now functional 2014-08-24 14:12:45 -06:00
Gregory Nutt
a8034f495f Add a SAMA5 ELF configuration that is buing used to test the address environment changes 2014-08-24 12:59:13 -06:00
Gregory Nutt
df4525de25 Add linker scripts needed to build ELF modules 2014-08-24 12:57:42 -06:00
Gregory Nutt
021c3be415 Add ELF CFLAGS and LDFLAGS in some Make.defs files 2014-08-24 12:56:28 -06:00
Gregory Nutt
ed2d8e438e Fix some SAMA5 configuration dependency problems that are only visible when networking is disabled 2014-08-24 12:55:51 -06:00
Gregory Nutt
1624e2fbcf Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how it is selected -- the architecure must first declare support 2014-08-24 06:42:11 -06:00
Gregory Nutt
7cd8db9425 gran_reserve(): Add a new function to reserve unallocatable regions in the granule heap 2014-08-23 12:43:21 -06:00
Gregory Nutt
e79d6e3c8b A few fixes for compilation errors due to recent address environment fixes 2014-08-22 15:55:00 -06:00
Gregory Nutt
f7899c655a Update some STM32F4Discovery configurations 2014-08-22 15:24:26 -06:00
Gregory Nutt
d863ddb60f Update some STM32F4Discovery configurations 2014-08-22 15:19:25 -06:00
Gregory Nutt
dc13669131 Update ChangeLog and README.txt 2014-08-22 14:56:32 -06:00
Gregory Nutt
935e76df9f Changes to try to get P112 to compile with laster SDCC (it still does not) 2014-08-22 14:48:29 -06:00
Gregory Nutt
ad9b3f8ab8 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
a3f2280fe0 Viewtool STM32F107: Turn on ARP request logic and TCP write buffering 2014-08-21 08:54:51 -06:00
Gregory Nutt
e1d29d8718 Refresh some configurations 2014-08-21 08:36:36 -06:00
Gregory Nutt
c314d4ca2a Refresh some configurations 2014-08-21 08:36:16 -06:00
Gregory Nutt
2c41b35c6b SAM4E-EK: Add an NxWM configuration 2014-08-20 14:15:34 -06:00
Gregory Nutt
1c3d2b3c1a SAM4E-EK LCD finally works 2014-08-20 12:53:08 -06:00
Gregory Nutt
cf242fbeb4 SAM4E-EK: Add ILI9341-based LCD driver 2014-08-20 11:45:01 -06:00
Gregory Nutt
703d4bca7b Add a register definition header file for the ILI9341 LCD 2014-08-19 17:31:10 -06:00
Gregory Nutt
0b400d624a Trivial typo fix 2014-08-19 11:27:39 -06:00
Gregory Nutt
22eab59fb9 Refresh SAM4E-EK configurations 2014-08-19 10:38:35 -06:00
Gregory Nutt
9e44fec80c Change all Spark configurations to use SPI mode 1. From Alan Carvalho de Assis 2014-08-18 11:58:45 -06:00
Gregory Nutt
a8d7772ad6 Update README files, Kconfig help comments, and make the network monitor not EXPERIMENTAL 2014-08-18 07:24:47 -06:00
Gregory Nutt
004788d7c0 Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires 2014-08-17 16:51:56 -06:00
Gregory Nutt
7cc93b708a SAMA5 PHY: Add more debug instrumentation; Fix logic that would be used to disable PHY interrupts 2014-08-17 14:07:53 -06:00
Gregory Nutt
1db9858e9d KSZ80x1 PHY interrupts are active low and should trigger on the falling edge 2014-08-17 13:15:59 -06:00
Gregory Nutt
057af36c1d More of the PHY event notification logic change: Fix some compile errors when full feature is enabled; Add some missing ioctol logic 2014-08-16 15:04:09 -06:00
Gregory Nutt
7c11a84c98 Refresh configuration 2014-08-16 12:54:58 -06:00
Gregory Nutt
ec47914cf8 Convert existing board specific PHY interrupt interfaces to use newly defined standard interface 2014-08-16 08:35:31 -06:00
Gregory Nutt
d79c311508 SAMA5 setenv.sh: Add another CodeSourcery install path 2014-08-16 08:33:20 -06:00
Gregory Nutt
eed1d6c619 When reading the system timer, don't read a struct timespec, convert it to a fake tick count, then back to a timespec. Remove CLOCK_ACTIVETIME.. it is non-standard, unused, and gets in the way of changes like this 2014-08-15 03:55:41 -06:00
Gregory Nutt
eef608b942 Update README files 2014-08-12 10:01:12 -06:00
Gregory Nutt
1787b3e600 SAMA5: Enable the 32.768 crystal if SCHED_TICKLESS is selected 2014-08-11 14:29:43 -06:00
Gregory Nutt
56196ecea1 Fix a computation error in the fix for the last computational error 2014-08-11 12:07:49 -06:00
Gregory Nutt
c6273d083d Updated README files 2014-08-10 20:02:45 -06:00
Gregory Nutt
c7a51f4ef1 Cosmetic changed, updated README files, improved comments 2014-08-10 13:11:31 -06:00
Gregory Nutt
b39b227e2a Update README files 2014-08-10 11:34:20 -06:00
Gregory Nutt
e1769b22f1 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
d4b56eb3cc Move clock functions from sched/ to sched/clock 2014-08-08 14:43:02 -06:00
Gregory Nutt
c9661ad5a7 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
0aa7209765 Change CONFIG_MSEC_PER_TICK to CONFIG_USEC_PER_TICK. This gives more options for system timers in general, but more importantly, let's us realize higher resolution for the case of CONFIG_SCHED_TICKLESS=y -- of course, at the risk of some new interger overvflow problems 2014-08-07 13:42:47 -06:00
Gregory Nutt
caba61999a Remove CONFIG_DISABLE_CLOCK 2014-08-07 12:35:24 -06:00
Gregory Nutt
736d3c169a 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
5e045c26c2 Updated README 2014-08-06 12:30:35 -06:00
Gregory Nutt
0e134b5233 Update some defconfig files; enable network initialization thread 2014-08-06 12:22:51 -06:00
Gregory Nutt
b33beb3e20 NSH Networking: Also add an option to let platform-specific logic select the MAC address. 2014-08-06 10:12:10 -06:00
Gregory Nutt
7b9c44101d SAMA5D3 HSMCI: TX DMA is again disabled 2014-08-05 07:07:39 -06:00