mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Remove CONFIG_GRAN_SINGLE. It adds no technical benefit (other than some minor reduction in the number of interface arguments) but adds a lot of code complexity. Better without it.
This commit is contained in:
-10
@@ -92,16 +92,6 @@ config GRAN
|
||||
allocation size to 32 granaules. That restriction could be
|
||||
eliminated with some additional coding effort.
|
||||
|
||||
config GRAN_SINGLE
|
||||
bool "Single Granule Allocator"
|
||||
default n
|
||||
depends on GRAN
|
||||
---help---
|
||||
Select if there is only one instance of the granule allocator (i.e.,
|
||||
gran_initialize will be called only once. In this case, (1) there
|
||||
are a few optimizations that can can be done and (2) the GRAN_HANDLE
|
||||
is not needed.
|
||||
|
||||
config GRAN_INTR
|
||||
bool "Interrupt level support"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user