This file contains hidden or 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
/*************************************************************************** | |
* __________ __ ___. | |
* Open \______ \ ____ ____ | | _\_ |__ _______ ___ | |
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | |
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | |
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | |
* \/ \/ \/ \/ \/ | |
* This file was automatically generated by headergen, DO NOT EDIT it. | |
* headergen version: 3.0.0 | |
* vsoc2000 version: 0.5 |
This file contains hidden or 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
/*************************************************************************** | |
* __________ __ ___. | |
* Open \______ \ ____ ____ | | _\_ |__ _______ ___ | |
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | |
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | |
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | |
* \/ \/ \/ \/ \/ | |
* This file was automatically generated by headergen, DO NOT EDIT it. | |
* headergen version: 3.0.0 | |
* vsoc2000 version: 0.5 |
This file contains hidden or 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
unsigned long value = HW_ICOLL_STATUS; /* read register */ | |
unsigned long status = BR_ICOLL_STATUS(STATUS); /* read register and extract field */ | |
BW_ICOLL_CLR(STATUS(status)); /* (clear interrupt) write register (CLR variant) */ | |
unsigned long ctrl_addr = HW_ICOLL_CTRL_ADDR; /* get address */ | |
/* write register (CLR variant) by ORing fields */ | |
BW_ICOLL_CTRL_CLR(SFTRST(1), CLKGATE(1)); | |
/* write register by ORing fields */ | |
BW_ICOLL_CTRL(TZ_LOCK_V(LOCKED)); | |
/* you can do any combination of the above, using indexes too */ | |
BW_ICOLL_ENABLE(10, CPU0_TZ(1), CPU0_TYPE_V(FIQ), CPU0_PRIO(NMI), CPU1_PRIO(MASKED), CPU2_PRIO(MASKED), CPU3_PRIO(MASKED)); |
This file contains hidden or 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
#invocation ./check_defines.sh ../www/buildserver/builds USB_ENABLE_HID | |
iriverh100: <make error> | |
iriverh120: <make error> | |
iriverh300: <make error> | |
iaudiox5: <make error> | |
iaudiom5: <make error> | |
iaudiom3: <make error> | |
mpiohd200: <make error> | |
mpiohd300: <make error> | |
ipodnano1g: USB_ENABLE_HID USB_ENABLE_HID |
This file contains hidden or 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
/* | |
* Convention 1: Freescale style | |
*/ | |
/* register address */ | |
unsigned long ctrl_addr = HW_ICOLL_CTRL_ADDR; /* get address */ | |
/* read/write register */ | |
unsigned long value = HW_ICOLL_STATUS; /* read */ | |
HW_ICOLL_STATUS = value; /* write */ | |
/* fields define */ |
This file contains hidden or 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
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh | |
index 34ecfce..6232546 100755 | |
--- a/tools/rockboxdev.sh | |
+++ b/tools/rockboxdev.sh | |
@@ -211,7 +211,7 @@ build() { | |
./configure --prefix=$prefix $configure_params | |
;; | |
*) | |
- CFLAGS=-U_FORTIFY_SOURCE ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params | |
+ CFLAGS="-U_FORTIFY_SOURCE -fgnu89-inline" ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params |
This file contains hidden or 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
--- myrockbox/tools/rockboxdev.sh 2016-05-25 00:18:27.221812317 +0200 | |
+++ rockboxdev.sh 2016-05-27 19:52:17.461994508 +0200 | |
@@ -211,7 +211,7 @@ | |
./configure --prefix=$prefix $configure_params | |
;; | |
*) | |
- CFLAGS=-U_FORTIFY_SOURCE ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params | |
+ CFLAGS="-U_FORTIFY_SOURCE -fgnu89-inline" ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params | |
;; | |
esac |
This file contains hidden or 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
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh | |
index 34ecfce..6232546 100755 | |
--- a/tools/rockboxdev.sh | |
+++ b/tools/rockboxdev.sh | |
@@ -211,7 +211,7 @@ build() { | |
./configure --prefix=$prefix $configure_params | |
;; | |
*) | |
- CFLAGS=-U_FORTIFY_SOURCE ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params | |
+ CFLAGS="-U_FORTIFY_SOURCE -fgnu89-inline" ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params |