forked from benhoyt/inih
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
140 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
idf_component_register(SRCS "../unittest.c" | ||
INCLUDE_DIRS "../") | ||
INCLUDE_DIRS "../") | ||
spiffs_create_partition_image(storage ../spiffs_image FLASH_IN_PROJECT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Name, Type, SubType, Offset, Size, Flags | ||
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap | ||
nvs, data, nvs, 0x9000, 0x6000, | ||
phy_init, data, phy, 0xf000, 0x1000, | ||
factory, app, factory, 0x10000, 1M, | ||
storage, data, spiffs, , 100K, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" | ||
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is an error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
indented |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[section1] | ||
name1=value1 | ||
[section2 | ||
[section3 ; comment ] | ||
name2=value2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[bom_section] | ||
bom_name=bom_value | ||
key“ = value“ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[section1] | ||
single1 = abc | ||
single2 = xyz | ||
[section1] | ||
single1 = def | ||
single2 = qrs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[section1] | ||
single1 = abc | ||
multi = this is a | ||
multi-line value | ||
single2 = xyz | ||
[section2] | ||
multi = a | ||
b | ||
c | ||
[section3] | ||
single: ghi | ||
multi: the quick | ||
brown fox | ||
name = bob smith ; comment line 1 | ||
; comment line 2 | ||
foo = bar ;c1 | ||
Hi World ;c2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[section_list] | ||
section0 | ||
section1 | ||
|
||
[section0] | ||
key0=val0 | ||
|
||
[section1] | ||
key1=val1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
; This is an INI file | ||
[section1] ; section comment | ||
one=This is a test ; name=value comment | ||
two = 1234 | ||
; x=y | ||
|
||
[ section 2 ] | ||
happy = 4 | ||
sad = | ||
|
||
[empty] | ||
; do nothing | ||
|
||
[comment_test] | ||
test1 = 1;2;3 ; only this will be a comment | ||
test2 = 2;3;4;this won't be a comment, needs whitespace before ';' | ||
test;3 = 345 ; key should be "test;3" | ||
test4 = 4#5#6 ; '#' only starts a comment at start of line | ||
#test5 = 567 ; entire line commented | ||
# test6 = 678 ; entire line commented, except in MULTILINE mode | ||
test7 = ; blank value, except if inline comments disabled | ||
test8 =; not a comment, needs whitespace before ';' | ||
|
||
[colon_tests] | ||
Content-Type: text/html | ||
foo:bar | ||
adams : 42 | ||
funny1 : with = equals | ||
funny2 = with : colons | ||
funny3 = two = equals | ||
funny4 : two : colons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[section] | ||
a = b | ||
user = parse_error | ||
c = d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters