-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
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
pnp sample #28
Merged
Merged
pnp sample #28
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
1d427b4
pnp sample
danewalton-msft e1356b7
some pr comments
danewalton-msft 067642b
updates
danewalton-msft 31d8a04
reshuffle includes
danewalton-msft 75c22ce
fix build
danewalton-msft 1c492eb
add check for pnp sample bin
danewalton-msft 28cb210
certified sample
danewalton-msft 2284fd1
remove time dependencies
danewalton-msft ec2800f
add for other boards
danewalton-msft fdd028c
PR comments
danewalton-msft f1d1465
pr comments
danewalton-msft 04be131
fix build warnings
danewalton-msft a6a0881
couple more
danewalton-msft 90be270
pr comments
danewalton-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"image": "tizho/azurertos-regression", | ||
"runArgs": [ "--cap-add=NET_ADMIN"], | ||
"postStartCommand": ".github/scripts/init_linux_port_vm_network.sh", | ||
"extensions": [ | ||
"ms-vscode.cpptools", | ||
"ms-vscode.cmake-tools" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,3 +60,42 @@ add_custom_command(TARGET ${PROJECT_NAME} | |
COMMAND ${CMAKE_OBJCOPY} -Obinary $<TARGET_FILE:${PROJECT_NAME}> ${PROJECT_NAME}.bin | ||
COMMENT "Generate Bin file" | ||
VERBATIM) | ||
|
||
# Add PnP Sample | ||
danewalton-msft marked this conversation as resolved.
Show resolved
Hide resolved
|
||
add_executable(${PROJECT_NAME}-pnp ${PROJECT_SOURCES}) | ||
target_include_directories(${PROJECT_NAME}-pnp PUBLIC | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. currently in gcc_flags we set the map file to be output.map, and now we have two target generated. This will cause the later target to override previous map file. |
||
${CMAKE_CURRENT_LIST_DIR} | ||
st_code) | ||
target_link_libraries(${PROJECT_NAME}-pnp PRIVATE | ||
FreeRTOS::Timers | ||
FreeRTOS::Heap::5 | ||
FreeRTOS::ARM_CM4F | ||
FreeRTOSPlus::Utilities::backoff_algorithm | ||
FreeRTOSPlus::Utilities::logging | ||
FreeRTOSPlus::ThirdParty::mbedtls | ||
HAL::STM32::L4::RCC | ||
HAL::STM32::L4::RCCEx | ||
HAL::STM32::L4::SPI | ||
HAL::STM32::L4::RTC | ||
HAL::STM32::L4::UART | ||
HAL::STM32::L4::DMA | ||
HAL::STM32::L4::PWR | ||
HAL::STM32::L4::PWREx | ||
HAL::STM32::L4::GPIO | ||
HAL::STM32::L4::CORTEX | ||
HAL::STM32::L4::RNG | ||
HAL::STM32::L4::TIM | ||
HAL::STM32::L4::TIMEx | ||
CMSIS::STM32::L475xx | ||
BSP::STM32::STM32L475E_IOT01 | ||
STM32::NoSys | ||
az::iot_middleware::freertos | ||
SAMPLE::AZUREIOTPNP | ||
SAMPLE::TRANSPORT::MBEDTLS) | ||
|
||
add_custom_command(TARGET ${PROJECT_NAME}-pnp | ||
# Run after all other rules within the target have been executed | ||
POST_BUILD | ||
COMMAND ${CMAKE_OBJCOPY} -Obinary $<TARGET_FILE:${PROJECT_NAME}-pnp> ${PROJECT_NAME}-pnp.bin | ||
COMMENT "Generate Bin file" | ||
VERBATIM) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious which part of their sdk require this depenency ?
I was under impression that our final binary requires OS depenency and middleware
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/Azure-Samples/iot-middleware-freertos-samples/runs/2933684299#step:5:3647
Here's the build failure