Is C-code costomization of variable-declaration possible?
Posted: Fri Aug 04, 2017 11:42 am
Hey
Is it possible to costomize the C-code in connection to variable declaration in FlowCode 7? I have found out that it is possible with most of the blocks in the Flow-diagram, but i can't find the functionality in connection to variable declarations.
I'm working on a project with 3 arrays which is placed in two memory Banks of a PIC16F88. However I would like to enlarge all of them, so that 3-banks are needed however, this makes the XC8 compiler complain about not beeing able to find space for all 3 arrays, so I would like to see what happens if I force the variables to be in certain banks by the use of absolute variables, which implies that I need to add the following to the declaration of the variables: '@ address'.
My goal is to make 3 60-byte arrays fit into 3-banks of 80 or 96 bytes each. All other variables in the program should be able to fit in the remaining space of the microcontroller.
- Andreas
Is it possible to costomize the C-code in connection to variable declaration in FlowCode 7? I have found out that it is possible with most of the blocks in the Flow-diagram, but i can't find the functionality in connection to variable declarations.
I'm working on a project with 3 arrays which is placed in two memory Banks of a PIC16F88. However I would like to enlarge all of them, so that 3-banks are needed however, this makes the XC8 compiler complain about not beeing able to find space for all 3 arrays, so I would like to see what happens if I force the variables to be in certain banks by the use of absolute variables, which implies that I need to add the following to the declaration of the variables: '@ address'.
My goal is to make 3 60-byte arrays fit into 3-banks of 80 or 96 bytes each. All other variables in the program should be able to fit in the remaining space of the microcontroller.
- Andreas