Skip to content
Snippets Groups Projects
PL1

Initial support for MSP430

Merged Imported Juan Font Alonso requested to merge msp430-support into master

Support for systems with only one partition. Support for cyclic and sporadic interfaces. Support for protected and unprotected interfaces.

Edited by Juan Font Alonso

Merge request reports

Checking pipeline status.

Merged by Juan Font AlonsoJuan Font Alonso 4 years ago (Mar 16, 2020 7:15am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
6 6 @@-- Use_POHIC
7 7 @@-- Debug
8 8 @@-- No_Stdlib
9 @@IF@@ not @_Use_POHIC_@
9 @@IF@@ not @_Use_POHIC_@ and @_CPU_Platform_@ /= PLATFORM_MSP430_FREERTOS
  • Author Contributor

    could kazoo calculate (for example in some other template) some parameter like "Skip_POHI" (or any better name) and we could use it here? This part seems to be repeated couple of times and also seems very specific in quite general code.

    By Konrad Grochowski on 2020-01-31T10:40:50

  • Author Contributor

    I think we need to have a generic command line argument that allows to pass any user-defined flag to the templates, in order to select more easily the target backend

    By Maxime Perrotin on 2020-01-31T11:42:07

  • Please register or sign in to reply
  • Juan Font Alonso
  • 78 package Naming is
    79 for Body_Suffix ("C++") use ".cc";
    80 end Naming;
    81
    82 package Compiler is
    83 for Driver ("C") use "msp430-elf-gcc";
    84 for Driver ("C++") use "msp430-elf-g++";
    85
    86 case Build is
    87 when "Release" =>
    88 for Default_Switches ("C") use
    89 ("-I/opt/ti/msp430-gcc/include/",
    90 "-I.",
    91 "-I../FreeRTOS/Source/include",
    92 "-I../FreeRTOS/Source/portable/GCC/MSP430FR5969",
    93 "-mmcu=msp430fr5969",
    • Author Contributor

      does kazoo supports any form of "platform specific options"? because there's a few of MSP430 and here we fix it to a single one. Maybe we should ask Maxime what is a general approach

      By Konrad Grochowski on 2020-01-31T10:52:46

    • Please register or sign in to reply
  • 116
    117 package Linker is
    118 for Driver use "msp430-elf-gcc";
    119
    120 for Default_Switches ("C") use
    121 ("-L/opt/ti/msp430-gcc/include/",
    122 "-I/opt/ti/msp430-gcc/include/",
    123 "-I.",
    124 "-I../FreeRTOS/Source/include",
    125 "-I../FreeRTOS/Source/portable/GCC/MSP430FR5969",
    126 "-mmcu=msp430fr5969",
    127 "-msmall",
    128 "-Wall",
    129 "-Wextra",
    130 "-Wpedantic",
    131 "-Wno-unused-parameter",
  • 38 @@TABLE@@
    39 // @_Out_Port_Names_@ Vector tag: output ports of the partition
    40 // @_Out_Port_Type_Name_@ corresponding parameter type name (optional)
    41 @@END_TABLE@@
    42
    43 @@TABLE@@
    44 // @_Part_Out_Port_Name_@ Vector tag: output ports of the partition (can be several times the same)
    45 // @_Connected_Threads_@ Corresponding thread connected to it
    46 @@END_TABLE@@
    47
    48 #include <msp430.h>
    49
    50 #include "FreeRTOS.h"
    51 #include "task.h"
    52 #include "semphr.h"
    53 #include "timers.h"
  • Juan Font Alonso added 1 commit · Imported

    added 1 commit

    Compare with previous version

    By Rafal Babski on 2020-02-03T09:36:07

  • Juan Font Alonso added 1 commit · Imported

    added 1 commit

    Compare with previous version

    By Rafal Babski on 2020-02-03T13:12:15

  • Juan Font Alonso added 30 commits · Imported

    added 30 commits

    Compare with previous version

    By Rafal Babski on 2020-02-11T07:54:47

  • Juan Font Alonso added 2 commits · Imported

    added 2 commits

    • 94f93371 - MSP430 Hardware initialization routine
    • a290ff5d - Queue sizes for MSP430

    Compare with previous version

    By Rafal Babski on 2020-02-11T08:14:20

  • Juan Font Alonso added 1 commit · Imported

    added 1 commit

    • 8d2331bd - MSP430 - thread priorities (limited to 1-10)

    Compare with previous version

    By Rafal Babski on 2020-02-11T09:51:48

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading