We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENV_AREA_SIZE没有办法设置,现在我直接改了ef_cfg.h,但这样太不稳定了。(包是用pkgs下载的)
ENV_AREA_SIZE
ef_cfg.h
还有配置方面的一些问题,比如现在很多配置的检查是用这样的方式实现的:
#if EF_ENV_CACHE_TABLE_SIZE > 0xFFFF #error "The ENV cache table size must less than 0xFFFF" #endif
而另一些是assert,实际上都可以用assert,这样有机会把它们定义成某种在应用早期计算的全局变量,可以更灵活。
ef_env_init()中的EF_ASSERT(ENV_AREA_SIZE % EF_ERASE_MIN_SIZE == 0);没有什么必要,我需要专门算ENV_AREA_SIZE ,但其实并不会导致什么问题,只是最后有一些空间浪费了而已。
ef_env_init()
EF_ASSERT(ENV_AREA_SIZE % EF_ERASE_MIN_SIZE == 0);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1
ENV_AREA_SIZE
没有办法设置,现在我直接改了ef_cfg.h
,但这样太不稳定了。(包是用pkgs下载的)2
还有配置方面的一些问题,比如现在很多配置的检查是用这样的方式实现的:
而另一些是assert,实际上都可以用assert,这样有机会把它们定义成某种在应用早期计算的全局变量,可以更灵活。
3
ef_env_init()
中的EF_ASSERT(ENV_AREA_SIZE % EF_ERASE_MIN_SIZE == 0);
没有什么必要,我需要专门算ENV_AREA_SIZE ,但其实并不会导致什么问题,只是最后有一些空间浪费了而已。The text was updated successfully, but these errors were encountered: