66 Commits

Author SHA1 Message Date
Ali Muhammad
e2898cdffd
added f-string for formatting for better readability (#779)
* for better readability added f-string

* using builtin function type as variable

* removed extra space

* lestarch: correcting formatting failure

Co-authored-by: M Starch <LeStarch@googlemail.com>
2021-07-02 10:35:00 -07:00
Matteo
7b85edcad2 Add Black Formatting 2021-06-23 10:20:26 -07:00
M Starch
76626526c6 lestarch: updating fprime to include versioning information 2021-05-28 09:28:13 -07:00
M Starch
e7b53e0159
Merge pull request #462 from Kemyt/refactor_topology_dict_generation
Refactor topology dictionary generation
2021-04-27 12:53:39 -07:00
Aaron-WSL
77f1f02f4e Fixed TypeError after error during code generation 2021-03-26 11:32:50 +00:00
Kemyt
6ff1949f85 Refactor topology dictionary generation
It gets rid of a lot of code duplication and unifies the way
codegen.py and gds_dictgen generate topology dictionaries.
2021-03-12 22:07:04 +01:00
Josh Soref
126ab639b5 spelling: initialized
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:48:31 -05:00
Josh Soref
518512ddc7 spelling: environment
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:48:29 -05:00
Kemyt
f6daa59546 Move enum duplicates removing to separate file
Functionality to remove duplicates from list of enums was moved to
separate file to allow both gds_dictgen.py and codegen.py to use it
without duplicating code. Also a few typos were spotted and fixed.
2021-03-05 21:45:08 +01:00
Michael D Starch
4f5aeabb97 mstarch: fixes autocoder to allow component imports from other directories 2020-12-09 22:01:19 -08:00
Michael D Starch
113bf26fe1 mstarch: cleaning up issues detected by LGTM 2020-11-14 14:59:41 -08:00
Michael D Starch
6a9beaebfa mstarch: fixing the docker container user for external runs 2020-10-21 20:09:09 -07:00
Michael D Starch
2d5d68f664 mstarch: black formatting and lint fixes 2020-10-12 09:43:49 -07:00
Michael D Starch
9f4da01e7d mstarch: merging in NASA PRs with minor corrections 2020-10-08 16:24:38 -07:00
M Starch
c512c35b67
Merge pull request #210 from AaronMcDaniel/bugfix/codegen
fixed key checks to reference correct dictionary
2020-10-08 16:19:33 -07:00
Michael D Starch
f0511eff14 mstarch: finishing SignalGen example 2020-10-05 17:18:11 -07:00
Aaron McDaniel
531bb74994 fixed key checks to reference correct dictionary 2020-09-15 21:37:05 -04:00
Michael D Starch
de078c0ab9 Merge remote-tracking branch 'upstream/devel' into prerelease/release-1.5 2020-08-13 12:50:41 -07:00
Michael D Starch
04355f929e mstarch: removing commented out AMPCS code and ampcs flags from codegen.py 2020-08-05 17:02:01 -07:00
Michael D Starch
bc3e7e5055 mstarch: merging latest devel 2020-08-05 15:34:57 -07:00
Michael D Starch
a0983a7e51 mstarch: merging in semmel fixes 2020-08-05 12:35:32 -07:00
jhdeerin
6f818d20ff Fixed a misspelled attribute in codegen/gds_dictgen (closes #530) 2020-08-04 09:43:02 -04:00
Michael D Starch
a00adc8a93 mstarch: reformatted code 2020-07-31 10:28:26 -07:00
Michael D Starch
c6e7ed7188 mstarch: pre-release internal/external merge 2020-07-31 10:25:39 -07:00
Michael D Starch
40b9881b19 mstarch: merging in upstream/devel and reformatting with black 2020-07-27 10:20:24 -07:00
Charles Sommer
7fb1062cf4 removed copy/paste of unused variable 2020-07-21 00:14:13 -07:00
Charles Sommer
7ff71be7c6 adding included enum parsing for topology dictionary 2020-07-20 19:37:19 -07:00
Michael D Starch
ccae6fc2e0 mstarch: removing type == type in Autocoder 2020-07-20 17:34:35 -07:00
Michael D Starch
56a1d44160 mstarch: sorting imports automatically 2020-07-19 11:26:10 -07:00
Michael D Starch
2729bb7357 mstarch: fixing None comparisons 2020-07-16 23:56:53 -07:00
Michael D Starch
f81a81b19d mstarch: fixable lint warnings 2020-07-16 23:07:38 -07:00
Michael D Starch
9e9487db8e mstarch: fixing linting errors 2020-07-16 22:43:15 -07:00
Michael D Starch
8a127c2e1d mstarch: correcting use of os.sep 2020-07-16 15:57:27 -07:00
Michael D Starch
bf7557c517 mstarch: black autoformat on Autocoder 2020-07-16 14:04:03 -07:00
Michael D Starch
3092e4ff26 mstarch: pyupgrade auto py3 reformatting 2020-07-16 14:02:32 -07:00
Michael D Starch
3f0ec892a3 mstarch: autoflake unused symbol removal 2020-07-16 13:52:15 -07:00
Michael D Starch
271c516a5e mstarch: ran black formatting 2020-07-14 15:34:30 -07:00
Michael D Starch
0c3aa3635e mstarch: fixing python errors in Autocoder 2020-07-14 14:48:50 -07:00
Michael D Starch
32519ef501 mstarch: merging in latest from upstream/devel 2020-07-13 16:09:21 -07:00
M Starch
6e60946a7d Merge remote-tracking branch 'origin/devel' into update/settings 2020-06-23 18:10:58 -07:00
Michael D Starch
279d00b5aa mstarch: replacing BUILD_ROOT with set of BUILD_ROOTs 2020-06-22 23:11:23 -07:00
jishii
0cfaeca16c Merge FPRIME/devel 2020-06-18 15:13:35 -07:00
Timothy Canham
d2794fc600 Fixes for enum XML generation 2020-06-17 15:33:20 -07:00
jishii
525c6befbd Finished array type 2020-06-16 13:54:21 -07:00
Jordan Ishii
0208a0db00 Added array type to autocoder, added array type imports, started adding array type to Gds 2020-05-29 10:16:39 -07:00
Jordan Ishii
637de9d489 First test commit 2020-05-29 09:49:20 -07:00
Michael D Starch
405bc9d4e4 mstarch: fixing errors with Cheetah templates in autocoders 2020-04-03 10:42:24 -07:00
Michael D Starch
f5fd611497 Merge branch 'devel' of github.com:nasa/fprime into update/nasa-rollup 2020-03-09 13:08:51 -07:00
Michael D Starch
113856fc18 mstarch: modifying AC to add better error reporting 2020-02-24 13:48:54 -08:00
Andrei Zisu
674d422b63 Explicitly call python3 for scripts in the CMake flow
When calling the python command there is no guarantee that your script
will run with Python 3. Therefore, explicitly call python3 for
cross-platform support.
2019-12-06 16:48:23 +01:00