Commit Graph

12070 Commits

Author SHA1 Message Date
Gregory Nutt
12cdd2a8fe Fix some bad conditional compilation 2015-07-24 12:27:15 -06:00
Gregory Nutt
0d71260bf2 sched/: Separate the round-robin logic into a separate file so that it is symmetric with the sporadic stuff. Integrate the sporadic scheduler into the time tick interrupt handling and into the tickless operation. 2015-07-24 11:49:28 -06:00
Gregory Nutt
c6c424583d Fix a test for valid scheduling policies 2015-07-24 10:20:22 -06:00
Gregory Nutt
4490744def Add logic to reset the replenish the sporadic scheduler when a task is resumed 2015-07-24 09:55:02 -06:00
Gregory Nutt
ea7dbc984b Add basic sporadic schedule state machine 2015-07-24 09:03:21 -06:00
Gregory Nutt
3b1306078b Sporadic Scheduler: Ensure that the replenishment period is greater than or equal to the budget period 2015-07-23 15:08:41 -06:00
Gregory Nutt
5baa738019 Most cosmetic, but includes some fixes to some range checking 2015-07-23 14:36:49 -06:00
Gregory Nutt
53a17bfd99 Fix a newly introduced compilation error when round roben scheduling is disabled 2015-07-23 13:35:48 -06:00
Gregory Nutt
f6c102d4c0 A few cosmetic fixes from the last commit 2015-07-23 13:26:41 -06:00
Gregory Nutt
55ba5f8f5d Update ChangeLog 2015-07-23 13:17:44 -06:00
Gregory Nutt
9095e8eab4 include/, sched/, and libc/: Add support for sporadic scheduling parameters in struct sched_param, posix_spawnattr_t, and pthread_attr_t. Update all user interfaces to pass sporadic scheduling parameters. Feature is dependent on EXPERIMENTAL and no changes have yet been made to core scheduling logic. 2015-07-23 13:16:32 -06:00
Gregory Nutt
13e837b957 Merge remote-tracking branch 'origin/master' into sporadic 2015-07-23 11:25:52 -06:00
Gregory Nutt
aa90da2bc8 pthread_create: Fix an (unlikely) error in fallback value in the event of a failure (which should never occur) 2015-07-23 11:25:25 -06:00
Gregory Nutt
2b3aae0ddc Add basic configuration options for SCHED_SPORADIC 2015-07-23 10:33:30 -06:00
Gregory Nutt
146bdc3c93 TCB: Increase the size of the scheduling policy field from 1 to 2 bits to allow additional, planned scheduling policies 2015-07-23 10:15:07 -06:00
Gregory Nutt
bb30fa039f Fix a warning detected by tools/tesbuild.sh. function was not returning the correct value in the case of errors 2015-07-22 15:46:43 -06:00
Gregory Nutt
ff75f68eeb Another warning found to tools/testbuild.sh 2015-07-22 15:04:17 -06:00
Gregory Nutt
ab37a759d8 Eliminate a warning detected by nuttx/tools/testbuild.sh 2015-07-22 14:11:25 -06:00
Gregory Nutt
fbcdb663f9 tools/testbuild.sh: Skip lines in test list that begin with # 2015-07-22 13:20:35 -06:00
Gregory Nutt
9669b5d04b Update submodules 2015-07-22 11:03:31 -06:00
Gregory Nutt
e9a3cc3457 Remove the arch/ subdirectory; replace it with a submodule 2015-07-22 10:56:22 -06:00
Gregory Nutt
afc342c07b Refresh submodules 2015-07-22 09:33:19 -06:00
Gregory Nutt
3092e46f01 Update ChangeLog 2015-07-22 07:33:15 -06:00
David Sidrane
70cd1095b0 Add support for the STM32446. From David Sidrane 2015-07-22 07:26:53 -06:00
David Sidrane
e5a9919c8d Make some STM32F7 pin naming more consistent 2015-07-21 15:33:56 -06:00
David Sidrane
26997bc8f6 STM32: Fix incorrect naming of inclusion guard in IRQ header files 2015-07-21 12:25:15 -06:00
David Sidrane
6b451b29f5 STM32: Fix incorrect naming of inclusion guard in IRQ header files 2015-07-21 11:30:45 -06:00
David Sidrane
ffc9c15a4f STM32 F229: Fix bad inclusion guard in a header file 2015-07-21 11:25:29 -06:00
Gregory Nutt
2a7416238a Syscall fixes: Add support for Cortex-M7; mount syscall has to be suppressed if there are no mountable file systems 2015-07-21 11:20:46 -06:00
Gregory Nutt
05c66b7cc6 Review/updated Cortex-M7 MPU definitions 2015-07-21 11:19:14 -06:00
Gregory Nutt
dd3e1e7d21 STM32 F7: Port some F4 protected mode files to the F7 2015-07-21 07:59:20 -06:00
Gregory Nutt
c51828fb2c Update ChangeLog 2015-07-21 07:18:07 -06:00
Max Neklyudov
8301cd2402 Correct some problems with SAM3/4 watchdog driver. Includes some small improvements. From Max Neklyudov. 2015-07-21 07:15:39 -06:00
David Sidrane
6e8545ddaa Correct some typos in the STM32 F7 RCC register definition header file. From David Sidrane. 2015-07-21 06:51:33 -06:00
Gregory Nutt
1ea40cb0ed STM32 F7 Ethernet: Fix some backward conditinal compilation 2015-07-20 15:49:07 -06:00
Gregory Nutt
1edf465ef6 STM32 F7: Fix some errors in some macro definitions 2015-07-20 15:29:32 -06:00
Gregory Nutt
c1e1c5759d STM32 F7: Port the STM32 F7 2015-07-20 13:54:41 -06:00
Gregory Nutt
37b956f83d STM32 F7 Ethernet: With these last changes, the STM32 F7 Ethernet driver is functional 2015-07-20 10:57:06 -06:00
Gregory Nutt
9276e4d23a Refresh submodules; upated STM22F3 Ethernet debug output 2015-07-20 09:31:49 -06:00
Gregory Nutt
32aa2e937e Update ChangeLog 2015-07-20 07:25:13 -06:00
Alan Carvalho de Assis
a01b2e5bbc drvers/sensor and include/nuttx/sensors: Add support to Bosch BMP180 barometer. From Alan Carvalho de Assis. 2015-07-20 07:18:27 -06:00
Gregory Nutt
e2a62ac814 STM32 F7 Ethernet: RX/TX descriptors should be flushed to memory when they are first initialized 2015-07-20 07:05:35 -06:00
Gregory Nutt
3f01c87820 STM32 F7 Ethernet: Add cache operations to make sure we have data coherency when accessing all DMA-related data 2015-07-19 17:04:43 -06:00
Gregory Nutt
ccd3ec0f52 STM32 F7 Ethernet: Add logic to align all DMA memory to the D-Cache line size 2015-07-19 16:35:25 -06:00
Gregory Nutt
8b9cafe70a Another FIX for gethostbyname if CONFIG_NETDB_DNSCLIENT is not defined 2015-07-19 14:45:34 -06:00
Gregory Nutt
05a2c82409 Update submodules 2015-07-19 14:14:06 -06:00
Gregory Nutt
5a7b2757aa Add definitions for SMSC LAN8742A PHY 2015-07-19 13:09:48 -06:00
Gregory Nutt
9c9c31eca8 STM32 F7: Fix a few of the many Ethernet compilation issues (still more) 2015-07-19 12:58:41 -06:00
Gregory Nutt
1d3329e6d9 STM32 F7: Quick'n'dirty port of the STM32 F4 Ethernet driver. Does not yet even compile 2015-07-19 12:51:23 -06:00
Gregory Nutt
9908449fca STM32 F7: Add Ethernet header file 2015-07-19 12:26:13 -06:00