Arduino: 1.8.11 (Windows 10), TD: 1.50, Board: "Teensy 4.0, Serial, 600 MHz, Faster, US English"
C:\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Arduino\hardware -hardware C:\Users\Frank\AppData\Local\Arduino15\packages -hardware C:\Users\Frank\Documents\Arduino\hardware -tools C:\Arduino\tools-builder -tools C:\Arduino\hardware\tools\avr -tools C:\Users\Frank\AppData\Local\Arduino15\packages -built-in-libraries C:\Arduino\libraries -libraries C:\Users\Frank\Documents\Arduino\libraries -fqbn=teensy:avr:teensy40:usb=serial,speed=600,opt=o2std,keys=en-us -ide-version=10811 -build-path c:\temp\arduino_build_100906 -warnings=all -build-cache c:\temp\arduino_cache_515481 -verbose C:\Users\Frank\Documents\Arduino\_____T4\ClocksT4\ClocksT4.ino
C:\Arduino\arduino-builder -compile -logger=machine -hardware C:\Arduino\hardware -hardware C:\Users\Frank\AppData\Local\Arduino15\packages -hardware C:\Users\Frank\Documents\Arduino\hardware -tools C:\Arduino\tools-builder -tools C:\Arduino\hardware\tools\avr -tools C:\Users\Frank\AppData\Local\Arduino15\packages -built-in-libraries C:\Arduino\libraries -libraries C:\Users\Frank\Documents\Arduino\libraries -fqbn=teensy:avr:teensy40:usb=serial,speed=600,opt=o2std,keys=en-us -ide-version=10811 -build-path c:\temp\arduino_build_100906 -warnings=all -build-cache c:\temp\arduino_cache_515481 -verbose C:\Users\Frank\Documents\Arduino\_____T4\ClocksT4\ClocksT4.ino
Using board 'teensy40' from platform in folder: C:\Arduino\hardware\teensy\avr
Using core 'teensy4' from platform in folder: C:\Arduino\hardware\teensy\avr
Detecting libraries used...
"C:\\Arduino\\hardware\\teensy/../tools/arm9/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=150 -DARDUINO=10811 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "c:\\temp\\arduino_build_100906\\sketch\\ClocksT4.ino.cpp" -o nul
"C:\\Arduino\\hardware\\teensy/../tools/arm9/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=150 -DARDUINO=10811 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "c:\\temp\\arduino_build_100906\\sketch\\clock_functions.cpp" -o nul
Generating function prototypes...
"C:\\Arduino\\hardware\\teensy/../tools/arm9/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=150 -DARDUINO=10811 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "c:\\temp\\arduino_build_100906\\sketch\\ClocksT4.ino.cpp" -o "c:\\temp\\arduino_build_100906\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "c:\\temp\\arduino_build_100906\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Sketch wird kompiliert...
"C:\\Arduino\\hardware\\teensy/../tools/precompile_helper" "C:\\Arduino\\hardware\\teensy\\avr/cores/teensy4" "c:\\temp\\arduino_build_100906" "C:\\Arduino\\hardware\\teensy/../tools/arm9/bin/arm-none-eabi-g++" -x c++-header -O2 -fgcse-after-reload -finline-functions -falign-loops -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=150 -DARDUINO=10811 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Arduino\\hardware\\teensy\\avr/cores/teensy4" "c:\\temp\\arduino_build_100906/pch/Arduino.h" -o "c:\\temp\\arduino_build_100906/pch/Arduino.h.gch"
"C:\\Arduino\\hardware\\teensy/../tools/arm9/bin/arm-none-eabi-g++" -c -O2 -fgcse-after-reload -finline-functions -falign-loops -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=150 -DARDUINO=10811 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\\temp\\arduino_build_100906/pch" "-IC:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "c:\\temp\\arduino_build_100906\\sketch\\clock_functions.cpp" -o "c:\\temp\\arduino_build_100906\\sketch\\clock_functions.cpp.o"
"C:\\Arduino\\hardware\\teensy/../tools/arm9/bin/arm-none-eabi-g++" -c -O2 -fgcse-after-reload -finline-functions -falign-loops -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=150 -DARDUINO=10811 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\\temp\\arduino_build_100906/pch" "-IC:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "c:\\temp\\arduino_build_100906\\sketch\\ClocksT4.ino.cpp" -o "c:\\temp\\arduino_build_100906\\sketch\\ClocksT4.ino.cpp.o"
In file included from C:\Users\Frank\Documents\Arduino\_____T4\ClocksT4\ClocksT4.ino:8:
c:\temp\arduino_build_100906\sketch\clock_functions.h:62: warning: "CCM_ANALOG_PLL_AUDIO_POST_DIV_SELECT" redefined
62 | #define CCM_ANALOG_PLL_AUDIO_POST_DIV_SELECT(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_PLL_AUDIO_POST_DIV_SELECT_SHIFT)) & CCM_ANALOG_PLL_AUDIO_POST_DIV_SELECT_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906\pch\Arduino.h:6:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1570: note: this is the location of the previous definition
1570 | #define CCM_ANALOG_PLL_AUDIO_POST_DIV_SELECT(n) ((uint32_t)(((n) & 0x03) <<19))
|
In file included from C:\Users\Frank\Documents\Arduino\_____T4\ClocksT4\ClocksT4.ino:8:
c:\temp\arduino_build_100906\sketch\clock_functions.h:64: warning: "CCM_ANALOG_MISC2_AUDIO_DIV_MSB" redefined
64 | #define CCM_ANALOG_MISC2_AUDIO_DIV_MSB(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_MISC2_AUDIO_DIV_MSB_SHIFT)) & CCM_ANALOG_MISC2_AUDIO_DIV_MSB_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906\pch\Arduino.h:6:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1620: note: this is the location of the previous definition
1620 | #define CCM_ANALOG_MISC2_AUDIO_DIV_MSB ((uint32_t)(1<<23))
|
In file included from C:\Users\Frank\Documents\Arduino\_____T4\ClocksT4\ClocksT4.ino:8:
c:\temp\arduino_build_100906\sketch\clock_functions.h:65: warning: "CCM_ANALOG_MISC2_AUDIO_DIV_LSB" redefined
65 | #define CCM_ANALOG_MISC2_AUDIO_DIV_LSB(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_MISC2_AUDIO_DIV_LSB_SHIFT)) & CCM_ANALOG_MISC2_AUDIO_DIV_LSB_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906\pch\Arduino.h:6:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1626: note: this is the location of the previous definition
1626 | #define CCM_ANALOG_MISC2_AUDIO_DIV_LSB ((uint32_t)(1<<15))
|
In file included from C:\Users\Frank\Documents\Arduino\_____T4\ClocksT4\ClocksT4.ino:8:
c:\temp\arduino_build_100906\sketch\clock_functions.h:67: warning: "CCM_ANALOG_PLL_VIDEO_POST_DIV_SELECT" redefined
67 | #define CCM_ANALOG_PLL_VIDEO_POST_DIV_SELECT(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_PLL_VIDEO_POST_DIV_SELECT_SHIFT)) & CCM_ANALOG_PLL_VIDEO_POST_DIV_SELECT_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906\pch\Arduino.h:6:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1577: note: this is the location of the previous definition
1577 | #define CCM_ANALOG_PLL_VIDEO_POST_DIV_SELECT(n) ((uint32_t)(((n) & 0x03) << 19))
|
In file included from C:\Users\Frank\Documents\Arduino\_____T4\ClocksT4\ClocksT4.ino:8:
c:\temp\arduino_build_100906\sketch\clock_functions.h:68: warning: "CCM_ANALOG_MISC2_VIDEO_DIV" redefined
68 | #define CCM_ANALOG_MISC2_VIDEO_DIV(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_MISC2_VIDEO_DIV_SHIFT)) & CCM_ANALOG_MISC2_VIDEO_DIV_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906\pch\Arduino.h:6:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1615: note: this is the location of the previous definition
1615 | #define CCM_ANALOG_MISC2_VIDEO_DIV(n) ((uint32_t)(((n) & 0x03) << 30))
|
In file included from C:\Users\Frank\Documents\Arduino\_____T4\ClocksT4\ClocksT4.ino:8:
c:\temp\arduino_build_100906\sketch\clock_functions.h:95: warning: "CCM_ANALOG_PLL_VIDEO_DIV_SELECT" redefined
95 | #define CCM_ANALOG_PLL_VIDEO_DIV_SELECT(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_PLL_VIDEO_DIV_SELECT_SHIFT)) & CCM_ANALOG_PLL_VIDEO_DIV_SELECT_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906\pch\Arduino.h:6:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1582: note: this is the location of the previous definition
1582 | #define CCM_ANALOG_PLL_VIDEO_DIV_SELECT(n) ((uint32_t)(((n) & 0x7F) << 0))
|
In file included from C:\Users\Frank\Documents\Arduino\_____T4\ClocksT4\ClocksT4.ino:8:
c:\temp\arduino_build_100906\sketch\clock_functions.h:104: warning: "CCM_ANALOG_PLL_ENET_DIV_SELECT" redefined
104 | #define CCM_ANALOG_PLL_ENET_DIV_SELECT(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_PLL_ENET_DIV_SELECT_SHIFT)) & CCM_ANALOG_PLL_ENET_DIV_SELECT_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906\pch\Arduino.h:6:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1591: note: this is the location of the previous definition
1591 | #define CCM_ANALOG_PLL_ENET_DIV_SELECT(n) ((uint32_t)(((n) & 0x03) << 0))
|
In file included from C:\Users\Frank\Documents\Arduino\_____T4\ClocksT4\ClocksT4.ino:9:
c:\temp\arduino_build_100906\sketch\Audio_pll.h:22: warning: "CCM_ANALOG_PLL_AUDIO_BYPASS_CLK_SRC" redefined
22 | #define CCM_ANALOG_PLL_AUDIO_BYPASS_CLK_SRC(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_PLL_AUDIO_BYPASS_CLK_SRC_SHIFT)) & CCM_ANALOG_PLL_AUDIO_BYPASS_CLK_SRC_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906\pch\Arduino.h:6:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1572: note: this is the location of the previous definition
1572 | #define CCM_ANALOG_PLL_AUDIO_BYPASS_CLK_SRC(n) ((uint32_t)(((n) & 0x03) <<14))
|
In file included from C:\Users\Frank\Documents\Arduino\_____T4\ClocksT4\ClocksT4.ino:9:
c:\temp\arduino_build_100906\sketch\Audio_pll.h:26: warning: "CCM_ANALOG_PLL_AUDIO_DIV_SELECT" redefined
26 | #define CCM_ANALOG_PLL_AUDIO_DIV_SELECT(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_PLL_AUDIO_DIV_SELECT_SHIFT)) & CCM_ANALOG_PLL_AUDIO_DIV_SELECT_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906\pch\Arduino.h:6:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1575: note: this is the location of the previous definition
1575 | #define CCM_ANALOG_PLL_AUDIO_DIV_SELECT(n) ((uint32_t)((n) & ((1<<6)-1)))
|
In file included from C:\Users\Frank\Documents\Arduino\_____T4\ClocksT4\ClocksT4.ino:8:
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:287:21: note: in expansion of macro 'CCM_ANALOG_TUPLE'
287 | kCLOCK_PllArm = CCM_ANALOG_TUPLE(PLL_ARM, CCM_ANALOG_PLL_ARM_ENABLE_SHIFT), /*!< PLL ARM */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllArm' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:287:21: note: in expansion of macro 'CCM_ANALOG_TUPLE'
287 | kCLOCK_PllArm = CCM_ANALOG_TUPLE(PLL_ARM, CCM_ANALOG_PLL_ARM_ENABLE_SHIFT), /*!< PLL ARM */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:288:21: note: in expansion of macro 'CCM_ANALOG_TUPLE'
288 | kCLOCK_PllSys = CCM_ANALOG_TUPLE(PLL_SYS, CCM_ANALOG_PLL_SYS_ENABLE_SHIFT), /*!< PLL SYS */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllSys' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:288:21: note: in expansion of macro 'CCM_ANALOG_TUPLE'
288 | kCLOCK_PllSys = CCM_ANALOG_TUPLE(PLL_SYS, CCM_ANALOG_PLL_SYS_ENABLE_SHIFT), /*!< PLL SYS */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:289:22: note: in expansion of macro 'CCM_ANALOG_TUPLE'
289 | kCLOCK_PllUsb1 = CCM_ANALOG_TUPLE(PLL_USB1, CCM_ANALOG_PLL_USB1_ENABLE_SHIFT), /*!< PLL USB1 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllUsb1' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:289:22: note: in expansion of macro 'CCM_ANALOG_TUPLE'
289 | kCLOCK_PllUsb1 = CCM_ANALOG_TUPLE(PLL_USB1, CCM_ANALOG_PLL_USB1_ENABLE_SHIFT), /*!< PLL USB1 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:290:23: note: in expansion of macro 'CCM_ANALOG_TUPLE'
290 | kCLOCK_PllAudio = CCM_ANALOG_TUPLE(PLL_AUDIO, CCM_ANALOG_PLL_AUDIO_ENABLE_SHIFT), /*!< PLL Audio */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllAudio' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:290:23: note: in expansion of macro 'CCM_ANALOG_TUPLE'
290 | kCLOCK_PllAudio = CCM_ANALOG_TUPLE(PLL_AUDIO, CCM_ANALOG_PLL_AUDIO_ENABLE_SHIFT), /*!< PLL Audio */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:291:23: note: in expansion of macro 'CCM_ANALOG_TUPLE'
291 | kCLOCK_PllVideo = CCM_ANALOG_TUPLE(PLL_VIDEO, CCM_ANALOG_PLL_VIDEO_ENABLE_SHIFT), /*!< PLL Video */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllVideo' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:291:23: note: in expansion of macro 'CCM_ANALOG_TUPLE'
291 | kCLOCK_PllVideo = CCM_ANALOG_TUPLE(PLL_VIDEO, CCM_ANALOG_PLL_VIDEO_ENABLE_SHIFT), /*!< PLL Video */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:292:22: note: in expansion of macro 'CCM_ANALOG_TUPLE'
292 | kCLOCK_PllEnet = CCM_ANALOG_TUPLE(PLL_ENET, CCM_ANALOG_PLL_ENET_ENABLE_SHIFT), /*!< PLL Enet0 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllEnet' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:292:22: note: in expansion of macro 'CCM_ANALOG_TUPLE'
292 | kCLOCK_PllEnet = CCM_ANALOG_TUPLE(PLL_ENET, CCM_ANALOG_PLL_ENET_ENABLE_SHIFT), /*!< PLL Enet0 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:293:25: note: in expansion of macro 'CCM_ANALOG_TUPLE'
293 | kCLOCK_PllEnet25M = CCM_ANALOG_TUPLE(PLL_ENET, CCM_ANALOG_PLL_ENET_ENET_25M_REF_EN_SHIFT), /*!< PLL Enet1 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllEnet25M' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:293:25: note: in expansion of macro 'CCM_ANALOG_TUPLE'
293 | kCLOCK_PllEnet25M = CCM_ANALOG_TUPLE(PLL_ENET, CCM_ANALOG_PLL_ENET_ENET_25M_REF_EN_SHIFT), /*!< PLL Enet1 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:294:22: note: in expansion of macro 'CCM_ANALOG_TUPLE'
294 | kCLOCK_PllUsb2 = CCM_ANALOG_TUPLE(PLL_USB2, CCM_ANALOG_PLL_USB2_ENABLE_SHIFT), /*!< PLL USB2 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllUsb2' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:294:22: note: in expansion of macro 'CCM_ANALOG_TUPLE'
294 | kCLOCK_PllUsb2 = CCM_ANALOG_TUPLE(PLL_USB2, CCM_ANALOG_PLL_USB2_ENABLE_SHIFT), /*!< PLL USB2 */
| ^~~~~~~~~~~~~~~~
In file included from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
c:\temp\arduino_build_100906\sketch\clock_functions.h:62: warning: "CCM_ANALOG_PLL_AUDIO_POST_DIV_SELECT" redefined
62 | #define CCM_ANALOG_PLL_AUDIO_POST_DIV_SELECT(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_PLL_AUDIO_POST_DIV_SELECT_SHIFT)) & CCM_ANALOG_PLL_AUDIO_POST_DIV_SELECT_MASK)
|
clock_functions.h:329: warning: 'uint32_t CLOCK_GetPeriphClkFreq()' declared 'static' but never defined
329 | static uint32_t CLOCK_GetPeriphClkFreq(void);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906/pch/Arduino.h:6,
from c:\temp\arduino_build_100906\sketch\clock_functions.h:1,
from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1570: note: this is the location of the previous definition
1570 | #define CCM_ANALOG_PLL_AUDIO_POST_DIV_SELECT(n) ((uint32_t)(((n) & 0x03) <<19))
|
In file included from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
c:\temp\arduino_build_100906\sketch\clock_functions.h:64: warning: "CCM_ANALOG_MISC2_AUDIO_DIV_MSB" redefined
64 | #define CCM_ANALOG_MISC2_AUDIO_DIV_MSB(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_MISC2_AUDIO_DIV_MSB_SHIFT)) & CCM_ANALOG_MISC2_AUDIO_DIV_MSB_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906/pch/Arduino.h:6,
from c:\temp\arduino_build_100906\sketch\clock_functions.h:1,
from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1620: note: this is the location of the previous definition
1620 | #define CCM_ANALOG_MISC2_AUDIO_DIV_MSB ((uint32_t)(1<<23))
|
In file included from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
c:\temp\arduino_build_100906\sketch\clock_functions.h:65: warning: "CCM_ANALOG_MISC2_AUDIO_DIV_LSB" redefined
65 | #define CCM_ANALOG_MISC2_AUDIO_DIV_LSB(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_MISC2_AUDIO_DIV_LSB_SHIFT)) & CCM_ANALOG_MISC2_AUDIO_DIV_LSB_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906/pch/Arduino.h:6,
from c:\temp\arduino_build_100906\sketch\clock_functions.h:1,
from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1626: note: this is the location of the previous definition
1626 | #define CCM_ANALOG_MISC2_AUDIO_DIV_LSB ((uint32_t)(1<<15))
|
In file included from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
c:\temp\arduino_build_100906\sketch\clock_functions.h:67: warning: "CCM_ANALOG_PLL_VIDEO_POST_DIV_SELECT" redefined
67 | #define CCM_ANALOG_PLL_VIDEO_POST_DIV_SELECT(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_PLL_VIDEO_POST_DIV_SELECT_SHIFT)) & CCM_ANALOG_PLL_VIDEO_POST_DIV_SELECT_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906/pch/Arduino.h:6,
from c:\temp\arduino_build_100906\sketch\clock_functions.h:1,
from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1577: note: this is the location of the previous definition
1577 | #define CCM_ANALOG_PLL_VIDEO_POST_DIV_SELECT(n) ((uint32_t)(((n) & 0x03) << 19))
|
In file included from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
c:\temp\arduino_build_100906\sketch\clock_functions.h:68: warning: "CCM_ANALOG_MISC2_VIDEO_DIV" redefined
68 | #define CCM_ANALOG_MISC2_VIDEO_DIV(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_MISC2_VIDEO_DIV_SHIFT)) & CCM_ANALOG_MISC2_VIDEO_DIV_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906/pch/Arduino.h:6,
from c:\temp\arduino_build_100906\sketch\clock_functions.h:1,
from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1615: note: this is the location of the previous definition
1615 | #define CCM_ANALOG_MISC2_VIDEO_DIV(n) ((uint32_t)(((n) & 0x03) << 30))
|
In file included from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
c:\temp\arduino_build_100906\sketch\clock_functions.h:95: warning: "CCM_ANALOG_PLL_VIDEO_DIV_SELECT" redefined
95 | #define CCM_ANALOG_PLL_VIDEO_DIV_SELECT(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_PLL_VIDEO_DIV_SELECT_SHIFT)) & CCM_ANALOG_PLL_VIDEO_DIV_SELECT_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906/pch/Arduino.h:6,
from c:\temp\arduino_build_100906\sketch\clock_functions.h:1,
from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1582: note: this is the location of the previous definition
1582 | #define CCM_ANALOG_PLL_VIDEO_DIV_SELECT(n) ((uint32_t)(((n) & 0x7F) << 0))
|
In file included from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
c:\temp\arduino_build_100906\sketch\clock_functions.h:104: warning: "CCM_ANALOG_PLL_ENET_DIV_SELECT" redefined
104 | #define CCM_ANALOG_PLL_ENET_DIV_SELECT(x) (((uint32_t)(((uint32_t)(x)) << CCM_ANALOG_PLL_ENET_DIV_SELECT_SHIFT)) & CCM_ANALOG_PLL_ENET_DIV_SELECT_MASK)
|
In file included from C:\Arduino\hardware\teensy\avr\cores\teensy4/core_pins.h:32,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:39,
from C:\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:45,
from c:\temp\arduino_build_100906/pch/Arduino.h:6,
from c:\temp\arduino_build_100906\sketch\clock_functions.h:1,
from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
C:\Arduino\hardware\teensy\avr\cores\teensy4/imxrt.h:1591: note: this is the location of the previous definition
1591 | #define CCM_ANALOG_PLL_ENET_DIV_SELECT(n) ((uint32_t)(((n) & 0x03) << 0))
|
In file included from c:\temp\arduino_build_100906\sketch\clock_functions.cpp:9:
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:287:21: note: in expansion of macro 'CCM_ANALOG_TUPLE'
287 | kCLOCK_PllArm = CCM_ANALOG_TUPLE(PLL_ARM, CCM_ANALOG_PLL_ARM_ENABLE_SHIFT), /*!< PLL ARM */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllArm' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:287:21: note: in expansion of macro 'CCM_ANALOG_TUPLE'
287 | kCLOCK_PllArm = CCM_ANALOG_TUPLE(PLL_ARM, CCM_ANALOG_PLL_ARM_ENABLE_SHIFT), /*!< PLL ARM */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:288:21: note: in expansion of macro 'CCM_ANALOG_TUPLE'
288 | kCLOCK_PllSys = CCM_ANALOG_TUPLE(PLL_SYS, CCM_ANALOG_PLL_SYS_ENABLE_SHIFT), /*!< PLL SYS */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllSys' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:288:21: note: in expansion of macro 'CCM_ANALOG_TUPLE'
288 | kCLOCK_PllSys = CCM_ANALOG_TUPLE(PLL_SYS, CCM_ANALOG_PLL_SYS_ENABLE_SHIFT), /*!< PLL SYS */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:289:22: note: in expansion of macro 'CCM_ANALOG_TUPLE'
289 | kCLOCK_PllUsb1 = CCM_ANALOG_TUPLE(PLL_USB1, CCM_ANALOG_PLL_USB1_ENABLE_SHIFT), /*!< PLL USB1 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllUsb1' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:289:22: note: in expansion of macro 'CCM_ANALOG_TUPLE'
289 | kCLOCK_PllUsb1 = CCM_ANALOG_TUPLE(PLL_USB1, CCM_ANALOG_PLL_USB1_ENABLE_SHIFT), /*!< PLL USB1 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:290:23: note: in expansion of macro 'CCM_ANALOG_TUPLE'
290 | kCLOCK_PllAudio = CCM_ANALOG_TUPLE(PLL_AUDIO, CCM_ANALOG_PLL_AUDIO_ENABLE_SHIFT), /*!< PLL Audio */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllAudio' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:290:23: note: in expansion of macro 'CCM_ANALOG_TUPLE'
290 | kCLOCK_PllAudio = CCM_ANALOG_TUPLE(PLL_AUDIO, CCM_ANALOG_PLL_AUDIO_ENABLE_SHIFT), /*!< PLL Audio */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:291:23: note: in expansion of macro 'CCM_ANALOG_TUPLE'
291 | kCLOCK_PllVideo = CCM_ANALOG_TUPLE(PLL_VIDEO, CCM_ANALOG_PLL_VIDEO_ENABLE_SHIFT), /*!< PLL Video */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllVideo' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:291:23: note: in expansion of macro 'CCM_ANALOG_TUPLE'
291 | kCLOCK_PllVideo = CCM_ANALOG_TUPLE(PLL_VIDEO, CCM_ANALOG_PLL_VIDEO_ENABLE_SHIFT), /*!< PLL Video */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:292:22: note: in expansion of macro 'CCM_ANALOG_TUPLE'
292 | kCLOCK_PllEnet = CCM_ANALOG_TUPLE(PLL_ENET, CCM_ANALOG_PLL_ENET_ENABLE_SHIFT), /*!< PLL Enet0 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllEnet' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:292:22: note: in expansion of macro 'CCM_ANALOG_TUPLE'
292 | kCLOCK_PllEnet = CCM_ANALOG_TUPLE(PLL_ENET, CCM_ANALOG_PLL_ENET_ENABLE_SHIFT), /*!< PLL Enet0 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:293:25: note: in expansion of macro 'CCM_ANALOG_TUPLE'
293 | kCLOCK_PllEnet25M = CCM_ANALOG_TUPLE(PLL_ENET, CCM_ANALOG_PLL_ENET_ENET_25M_REF_EN_SHIFT), /*!< PLL Enet1 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllEnet25M' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:293:25: note: in expansion of macro 'CCM_ANALOG_TUPLE'
293 | kCLOCK_PllEnet25M = CCM_ANALOG_TUPLE(PLL_ENET, CCM_ANALOG_PLL_ENET_ENET_25M_REF_EN_SHIFT), /*!< PLL Enet1 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: dereferencing a null pointer in '*0'
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:294:22: note: in expansion of macro 'CCM_ANALOG_TUPLE'
294 | kCLOCK_PllUsb2 = CCM_ANALOG_TUPLE(PLL_USB2, CCM_ANALOG_PLL_USB2_ENABLE_SHIFT), /*!< PLL USB2 */
| ^~~~~~~~~~~~~~~~
clock_functions.h:284: error: enumerator value for 'kCLOCK_PllUsb2' is not an integer constant
284 | #define CCM_ANALOG_TUPLE(reg, shift) ((((uint32_t)(&((CCM_ANALOG_Type *)0U)->reg) & 0xFFFU) << 16U) | (shift))
| ^
c:\temp\arduino_build_100906\sketch\clock_functions.h:294:22: note: in expansion of macro 'CCM_ANALOG_TUPLE'
294 | kCLOCK_PllUsb2 = CCM_ANALOG_TUPLE(PLL_USB2, CCM_ANALOG_PLL_USB2_ENABLE_SHIFT), /*!< PLL USB2 */
| ^~~~~~~~~~~~~~~~
dereferencing a null pointer in '*0'