Fix freertos_kernel cmake property, Posix Port (#640)

* Fix freertos_kernel cmake property, Posix Port

* Moves the `set_property()` call below the target definition in top level CMakeLists file
* Corrects billion value from `ULL` suffix (not C90 compliant) to `UL` suffix with cast to uint64_t

* Add blank line to CMakeLists.txt
This commit is contained in:
Kody Stribrny 2023-03-06 20:04:15 -08:00 committed by GitHub
parent 7b26ea6263
commit 309a18a03a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -228,10 +228,6 @@ elseif((FREERTOS_PORT STREQUAL "A_CUSTOM_PORT") AND (NOT TARGET freertos_kernel_
" freertos_kernel)")
endif()
########################################################################
# Requirements
set_property(TARGET freertos_kernel PROPERTY C_STANDARD 90)
########################################################################
# Overall Compile Options
# Note the compile option strategy is to error on everything and then
@ -294,3 +290,7 @@ target_link_libraries(freertos_kernel
$<$<TARGET_EXISTS:freertos_config>:freertos_config>
freertos_kernel_port
)
########################################################################
# Requirements
set_property(TARGET freertos_kernel PROPERTY C_STANDARD 90)