Difference between revisions of "Selecting Compiler Options (ESP)"

From Flowcode Help
Jump to navigationJump to search
(Created page with "<sidebar>Sidebar: Managing Compiler Options</sidebar> Allows users to set the Compiler options. '''Options list''' See the Managing Compiler Options topic for more info...")
 
 
Line 13: Line 13:
 
__NOTOC__
 
__NOTOC__
 
==Compiler==
 
==Compiler==
[[File:Gen_Compiler_Options_Compiler_ARM.png|right|524x400px]]
+
[[File:Gen_Compiler_Options_Compiler_ESP.png|right|]]
 
'''Compiler location'''
 
'''Compiler location'''
  
Line 20: Line 20:
 
Default:
 
Default:
  
<code>'''$(compilerstarm)batch\stm32comp.bat'''</code>
+
<code>'''$(fcddir)ESP\Batch\esp32_build.bat'''</code>
  
  
Line 29: Line 29:
 
Default:
 
Default:
  
<code>'''""$(target)" "$(outdir)" "$(chipalt)" "$(family)" "$(lscript)" "$(clock)" "$(romsize)" "$(ramsize)"'''</code>
+
<code>'''"""$(compileresp)" "$(target)" "$(outdir)" esp32_sdkconfig'''</code>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
  
  
Line 47: Line 55:
  
 
==Linker/Assembler==
 
==Linker/Assembler==
[[File:Gen_Compiler_Options_Linker_Assembler_ARM.png|right|524x400px]]
+
[[File:Gen_Compiler_Options_Linker_Assembler_ESP.png|right]]
 
'''Linker/Assembler location'''
 
'''Linker/Assembler location'''
  
Line 66: Line 74:
  
 
There are no default parameters
 
There are no default parameters
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
  
Line 81: Line 98:
  
 
==Programmer==
 
==Programmer==
[[File:Gen_Compiler_Options_Programmer_ARM.png|right|524x400px]]
+
[[File:Gen_Compiler_Options_Programmer_ESP.png|right]]
 
'''Programmer location'''
 
'''Programmer location'''
  
Line 88: Line 105:
 
Default:
 
Default:
  
<code>'''$(compilerstarm)batch\stm32prog.bat'''</code>
+
<code>'''$(fcddir)ESP\Batch\esp32_prog.bat'''</code>
  
  
Line 97: Line 114:
 
Default:
 
Default:
  
<code>'''""$(outdir)" "$(target)"'''</code>
+
<code>'''"$(compileresp)" "$(target)" "$(outdir)" $(comport) 115200'''</code>
  
  

Latest revision as of 23:37, 21 March 2023

<sidebar>Sidebar: Managing Compiler Options</sidebar> Allows users to set the Compiler options.


Options list

See the Managing Compiler Options topic for more information on using this feature.


Substitute variables used by Flowcode are the same for all platforms.


Compiler

Gen Compiler Options Compiler ESP.png

Compiler location

Sets the location of the file controlling compilation

Default:

$(fcddir)ESP\Batch\esp32_build.bat


Compiler parameters

Adds command line parameters when called from Flowcode

Default:

"""$(compileresp)" "$(target)" "$(outdir)" esp32_sdkconfig













Linker/Assembler

Gen Compiler Options Linker Assembler ESP.png

Linker/Assembler location

Sets the location of the file controlling linking and assembly

Default:

$(appdir)tools\DoNothing\DoNothing.exe


Linker/Assembler parameters

Adds command line parameters when called from Flowcode

Default:

<empty>

There are no default parameters












Programmer

Gen Compiler Options Programmer ESP.png

Programmer location

Sets the location of the file controlling the programming of the target device

Default:

$(fcddir)ESP\Batch\esp32_prog.bat


Programmer parameters

Adds command line parameters when called from Flowcode

Default:

"$(compileresp)" "$(target)" "$(outdir)" $(comport) 115200


Use programmer to set configuration options

This box should be left unchecked


Configuration parameters

This box should be left empty. Configuration parameters are set and downloaded from the Build > Configure menu.