-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathplatformio.ini
34 lines (31 loc) · 1014 Bytes
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
; common build options
[env]
build_flags =
-std=gnu99 -Wall -g -lm
-Iinclude/RAM_Routines/write_erase
-Iinclude/RAM_Routines/verify_CRC32
;-DMEMIMAGE_DEBUG ; activate optional debug output for memory image
;-DMEMIMAGE_CHK_INCLUDE_ADDRESS ; include addresses into ckecksum prior to data
extra_scripts = pre:extra_script.py
; Linux 64-bit
[env:linux_x86_64]
platform = linux_x86_64
prog_name = stm8gal_linux_x86_64
build_flags = ${env.build_flags}
-D__unix__
-DUSE_SPIDEV
; Windows 32-bit
[env:windows_x86]
platform = windows_x86
prog_name = stm8gal_windows_x86
build_flags = ${env.build_flags}
-D__USE_MINGW_ANSI_STDIO=1
-DWIN32