M Starch
a5c853b9cf
NATIVE_INT_TYPE portNum to FwIndexType portNum ( #3236 )
2025-02-14 12:25:12 -08:00
Simone Morettini
36514483e3
Fix autogeneration of header guards and tests ( #1734 )
...
* Fix autogeneration of header guards and tests
* Updated namespace generation to support nested namespaces
* Update namespace generation for arrays and enums to support C++11
* Made UT of nested namespaces for enum and arrays
* Fix of wrong path changed locally
* #1734 : Fix Python formatting
* #1734 : Fix Python formatting
---------
Co-authored-by: Simone Morettini <simone.morettini@redwirespaceeurope.com>
2023-02-03 13:36:29 -08:00
M Starch
b76d8c9a0c
Update/types refactor as constants ( #1623 )
...
* lestarch: adding logical types implementation into Linux/StandardTypes.hpp
* lestarch: removing VxWorks StandardTypes from repository
* updated fprime types for correct compilation with vxworks and baremetal
* lestarch: refactoring types and configuration header w.r.t type design
* lestarch: replacing usages of AssertArg with FwAssertArgType
* lestarch: missspelled configuration
* lestarch: minor compilation fixes
* lestarch: renaming StandardTypes.hpp -> PlatformTypes.hpp
* lestarch: updating PRI tokens
* lestarch: replacing BasicTypes.hpp includes with FpConfig.hpp
* lestarch: UT and compilation fixes for types refactor
* lestarch: sp
* lestarch: fixing RPI issues in PassiveConsoleTextLogger
* lestarch: converting RPI build to debug
* lestarch: removing duplicate config imports
* lestarch: fixing documentation
* lestarch: fixing up multiple definitions and RPI compilation problems
* lestarch: reverting debug build
* lestarch: reverting platform types to class-based constants
* lestarch: reworking basic types
* lestarch: configured types refactor into classes
* lestarch: fixing bugs with static constants in classes
* lestarch: fixing platform types spelling and documentation
* lestarch: adding include guards to types headers
Co-authored-by: Kevin F Ortega <kevin.f.ortega@jpl.nasa.gov>
2022-08-18 13:25:56 -07:00
kevin-f-ortega
8d5a182d21
Fixed bugs found while compiling for baremetal. ( #1462 )
...
* Fixed bugs found while compiling for baremetal.
* line number in which assert occurs has changed due to the addition of the operator=. Updating the expected line numbers to match where the asserts are now.
* addressing pr comments.
* updated line numbers in unit test to match what is auto generated.
* fixed comment
2022-05-24 13:20:03 -07:00
M Starch
ed69e41957
lestarch: removes copyright headers from generated files. Fixes #1345 ( #1379 )
...
* lestarch: removing copyright problems
* lestarch: minor pip package correction
* lestarch: removing unmaintained scripts with toxic headers
* lestarch: fixing header-dependent UT
2022-04-13 16:34:33 -07:00
M Starch
073843ad9e
Update/object names 0 ( #1389 )
...
* lestarch: stripping out FW_OBJECT_NAMES from Autocoder tests
* lestarch: scrubbing FW_OBJECT_NAMES from templates
* lestarch: scrubbing FW_OBJECT_NAMES from templates dir
* lestarch: fixing polytype toString usage
* lestarch: fixing more FW_OBJECT_NAMES
2022-04-12 18:05:34 -07:00
bocchino
3af84c2c25
Merge branch 'fpp' into pass-by
2021-09-29 15:56:40 -07:00
Joshua Anderson
234bb5d176
Replace NULL with nullptr ( #1049 )
2021-09-29 09:04:52 -07:00
bocchino
a10d260a74
Merge branch 'release/v3.0.0' into pass-by
2021-09-28 13:29:51 -07:00
Joshua Anderson
da3bd77a01
Autocoder: Remove deprecated C style headers
2021-08-31 11:36:26 -07:00
rohandkn
8e02596d4e
Merge branch 'pass-by-logic' into release/v3.0.0
2021-08-20 14:09:25 -05:00
rohandkn
666b297ee8
Removed all pass_by values and fixed all tests
2021-08-16 13:07:50 -05:00
Joshua Anderson
c875ab3b17
Resolve merge conflicts merging from devel branch
2021-08-02 12:14:15 -07:00
rohandkn
7e17023951
Removed heap allocation from enum_xml test
2021-07-23 14:02:15 -04:00
rohandkn
03a87f252f
Fixed enum_xml merge issue
2021-07-23 14:01:56 -04:00
rohandkn
5bb75dc0da
Changed variable names and other minor fixes
2021-07-23 14:00:35 -04:00
rohandkn
ff46cf18e9
Added new pass_by logic and fixed merge issues
2021-07-23 13:59:46 -04:00
Joshua Anderson
1b9c785ce6
Remove void from parameterless functions ( #811 )
2021-07-14 12:54:01 -07:00
M Starch
5dcbb5c322
Merge pull request #795 from rohandkn/scalar-default-member
...
Default values for stuct members and scalar initialization of array members
2021-07-02 10:00:34 -07:00
Rohan Dhesikan
b70c2c6933
Changed representation to serializable
2021-06-22 15:13:09 -04:00
Rohan Dhesikan
b4009b7a30
Added seperate test for serializable structs - first test is default initialization
2021-06-17 13:36:23 -05:00
Rohan Dhesikan
0429137eb9
Replaced I32 usage with FwEnumStoreType
2021-06-17 12:37:28 -05:00
Rohan Dhesikan
1e245642bd
Added U8 unit test for enum representation change
2021-06-15 12:42:16 -05:00
Rohan Dhesikan
64a76e99b5
Added newline to end of file
2021-06-14 14:53:15 -05:00
Rohan Dhesikan
83543f73e1
Added test for default representation type
2021-06-14 14:51:29 -05:00
Rohan Dhesikan
807a477600
Fixed test for serializable member default
2021-06-09 17:35:19 -07:00
Rohan Dhesikan
7e26628ff5
Added representation types for enums
2021-06-08 13:54:52 -07:00
rohandkn
ca64fc82af
XML support for enum default values ( #681 )
...
* Added support for default attributes in discrete enum declaration in XML
* Added tests and fixed header file include in hpp file
* Added enum fixes to cpp template, changed default documentation, and tested XmlEnumParser.py
* Added enum fixes to cpp template, changed default documentation, and tested XmlEnumParser.py
* Added test for uninitialized value for not-set default values
* Added nothing
* Removed changes from gitignore
* Added default value tests for enum
* Added minor changes to improve readability of enum default value initialization
* Merged changes from upstream f prime
* Resolved Enum XML merge conflict
* Resolved Enum XML merge conflict
* Added change to enum default value test
* Removed unneeded files
2021-06-07 19:01:57 -07:00
Joshua Anderson
8058e79185
Remove schema refrence in XML files
...
Our XML files had incorrect schema paths, so they needed to be corrected or removed.
Because of the upcoming transition to F'' YAML modeling, removing the schema refrences is an easier
approach than correcting all component xml files.
2021-06-01 20:38:33 -07:00
Michael D Starch
8eea39a429
Merge pull request #568 from joshuaa/fix-enum-include
...
Include enum in component header when imported in component xml
2020-10-01 11:12:34 -07:00
Joshua Anderson
0d9d34aba8
Include enum in component header when imported in component xml
2020-09-23 14:33:47 -07:00
Michael D Starch
e2b3fa356c
mstarch: updating references to build-ut and impl-ut in docs
2020-09-23 10:15:22 -07:00
bocchino
f081d9bb9a
Fix README file
2020-07-28 08:10:13 -07:00
bocchino
ed857fa7cb
Fix initializers
2020-07-24 08:49:06 -07:00
bocchino
aab7ff82b7
Clean up UnitTestAssert
...
Add longer testing string of 256 character, so we don't have
to mess round with C-style character arrays
2020-07-23 20:16:31 -07:00
bocchino
8f6689b4f2
Remove extraneous comment
2020-07-23 19:15:26 -07:00
bocchino
56a4e855e4
Revise enum autocoder unit tests
2020-07-23 18:14:29 -07:00
bocchino
78839b0dba
Revise enum autocoder unit tests
2020-07-23 18:05:34 -07:00
bocchino
a8dbc82214
Revise enum autocoder unit tests
2020-07-23 17:51:58 -07:00
bocchino
1a00ab0c05
Revise CMakeLists.txt
2020-07-23 14:43:51 -07:00
bocchino
2adc192bc9
Add cov script; revise README
2020-07-23 11:57:51 -07:00
bocchino
c39cbdaa75
Remove trailing spaces in code
2020-07-23 09:30:44 -07:00
bocchino
deae5f3c97
Revise enum XML unit tests
2020-07-23 09:28:08 -07:00
bocchino
f83ce15165
Add run script
2020-07-23 09:01:16 -07:00
bocchino
c5a2d84fe3
Add README
2020-07-23 09:00:04 -07:00
bocchino
b2733b2443
Move bld --> build
2020-07-23 08:58:14 -07:00
bocchino
e4fcb6ff74
Add bld script
2020-07-23 08:57:44 -07:00
bocchino
b0569a591c
Clean up enum XML test
2020-07-22 20:33:31 -07:00
bocchino
4243f29a13
Revise enum XML unit tests
2020-07-22 19:17:43 -07:00
bocchino
903fb88dd3
Revise enum XML unit tests
2020-07-22 18:21:13 -07:00