example_board.asf 711 B

1234567891011121314151617181920
  1. # pio_begin >>>>>> DO NOT MODIFY THIS SECTION! >>>>>>
  2. if { [info exists BOARD_PLL_CLKIN] } {
  3. if { $BOARD_PLL_CLKIN == "PIN_OSC" } {
  4. set_config -loc 18 0 0 CFG_RCOSC_EN 1'b1
  5. }
  6. }
  7. if { [info exists USB0_MODE] } {
  8. alta::tcl_info "USB0_MODE = $USB0_MODE"
  9. set_config -loc 0 1 3 CFG_PULLUP_ENB 1'b0
  10. set_config -loc 0 1 3 CFG_PULLDN_ENB 1'b0
  11. }
  12. puts "************ DESIGN ASF ************"
  13. # Enable PIN_23 (WKUP pin) to wake up device from standby. This function is not available on other pins.
  14. #set_config -pin PIN_23 CFG_WKUP_EN 1'b1
  15. # Use falling edge of the WKUP pin. By default rising edge is used.
  16. #set_config -pin PIN_23 CFG_WKUP_INV 1'b1
  17. # pio_end <<<<<< DO NOT MODIFY THIS SECTION! <<<<<<
  18. ##