diff options
Diffstat (limited to 'nuttx/configs/teensy')
-rwxr-xr-x | nuttx/configs/teensy/include/board.h | 4 | ||||
-rwxr-xr-x | nuttx/configs/teensy/nsh/defconfig | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/configs/teensy/include/board.h b/nuttx/configs/teensy/include/board.h index ecaaa91dfa..9e9c1205f1 100755 --- a/nuttx/configs/teensy/include/board.h +++ b/nuttx/configs/teensy/include/board.h @@ -49,8 +49,10 @@ /* Configuration ************************************************************/ /* Clocking *****************************************************************/ +/* Assume default CLKDIV8 fuse setting is overridden to CLKDIV1 */ -#define BOARD_CPU_CLOCK 16000000 /* F_CPU = 16MHz */ +#define BOARD_XTAL_FREQ 16000000 /* 16MHz crystal */ +#define BOARD_CPU_CLOCK BOARD_XTAL_FREQ /* F_CPU = 16MHz */ /* LED definitions **********************************************************/ /* The Teensy++ 2.0 has a single on-board LEDs connected to PortD, Pin 6 */ diff --git a/nuttx/configs/teensy/nsh/defconfig b/nuttx/configs/teensy/nsh/defconfig index f9bb1927c2..95010358d6 100755 --- a/nuttx/configs/teensy/nsh/defconfig +++ b/nuttx/configs/teensy/nsh/defconfig @@ -792,7 +792,7 @@ CONFIG_BOOT_COPYTORAM=n CONFIG_CUSTOM_STACK=n CONFIG_STACK_POINTER= CONFIG_IDLETHREAD_STACKSIZE=512 -CONFIG_USERMAIN_STACKSIZE=512 +CONFIG_USERMAIN_STACKSIZE=1024 CONFIG_PTHREAD_STACK_MIN=256 CONFIG_PTHREAD_STACK_DEFAULT=512 CONFIG_HEAP_BASE= |