Skip to content

Commit

Permalink
Add Nucleo F446ZE port to FreeRTOS_apps (#11)
Browse files Browse the repository at this point in the history
* added nucleo_extension base files WIP

* fixed list of objects in build

* Ping Pong Example Compiles

* Debugging Support, WIP, connecting but not ping ponging

* enabled NVIC on UART3 and added cortex-debug launch file

* Working up to  line 417 in node.c, deallocate(node_secure_root,...)

* added check for null ptr on deallocate

* allocate instead of reallocate if ptr is null, temporary fix?

* remove debug prints

* gitignore update

* cleanup unused wip calls

* moved FreeRTOS-POSIX to lib dir and transport layer to uros_transport dir

* added quick readme to nucleo_f446ze setup

* clean gitignore and vscode debug configuration
Fix STM32 cube MX project
  • Loading branch information
pablogs9 committed Jul 14, 2020
1 parent 26ed5e2 commit f945f08
Show file tree
Hide file tree
Showing 1,096 changed files with 987,715 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/ping_pong/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ void * trigger_guard_condition(void *args){
void appMain(void *argument)
{
//Init RCL options

rcl_init_options_t options = rcl_get_zero_initialized_init_options();
rcl_init_options_init(&options, rcl_get_default_allocator());

// Init RCL context
rcl_context_t context = rcl_get_zero_initialized_context();
rcl_init(0, NULL, &options, &context);
Expand Down
4 changes: 4 additions & 0 deletions microros_nucleo_f446ze_extensions/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.mxproject
arm_toolchain.cmake
build/
core
25 changes: 25 additions & 0 deletions microros_nucleo_f446ze_extensions/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"type": "cortex-debug",
"servertype": "openocd",
"request": "launch",
"name": "Debug microROS",
"executable": "${workspaceRoot}/build/micro-ROS.elf",
"rtos": "FreeRTOS",
"device": "STM32F446ZE",
"armToolchainPath": "${workspaceRoot}/../../toolchain/bin/",
"configFiles": [
"interface/stlink-v2-1.cfg",
"target/stm32f4x.cfg",
],
"cwd": "${workspaceRoot}",
"svdFile": "./STM32F446.svd"
}
]
}
Loading

0 comments on commit f945f08

Please sign in to comment.