2013-12-27 13:57:56 +00:00
|
|
|
; IP configuration defaults
|
|
|
|
; most of these will be overwritten if dhcp is used for configuration
|
2013-12-13 21:24:03 +00:00
|
|
|
|
|
|
|
.include "../inc/common.i"
|
|
|
|
|
|
|
|
.export cfg_mac
|
|
|
|
.export cfg_ip
|
|
|
|
.export cfg_netmask
|
|
|
|
.export cfg_gateway
|
|
|
|
.export cfg_dns
|
2014-06-12 22:00:53 +00:00
|
|
|
.export dhcp_server
|
2013-12-13 21:24:03 +00:00
|
|
|
.export cfg_tftp_server
|
|
|
|
|
2013-12-27 13:57:56 +00:00
|
|
|
|
2014-04-27 17:17:48 +00:00
|
|
|
.data
|
|
|
|
|
2015-07-08 14:05:19 +00:00
|
|
|
cfg_mac: .byte $00, $80, $10, $00, $51, $00 ; mac address of local machine (will be overwritten if ip65_init is called)
|
2014-04-27 17:17:48 +00:00
|
|
|
cfg_ip: .byte 192, 168, 1, 64 ; ip address of local machine (will be overwritten if dhcp_init is called)
|
|
|
|
; cfg_ip: .byte 0, 0, 0, 0 ; ip address of local machine (will be overwritten if dhcp_init is called)
|
|
|
|
cfg_netmask: .byte 255, 255, 255, 0 ; netmask of local network (will be overwritten if dhcp_init is called)
|
|
|
|
; cfg_gateway: .byte 0, 0, 0, 0 ; ip address of router on local network (will be overwritten if dhcp_init is called)
|
|
|
|
cfg_gateway: .byte 192, 168, 1, 1 ; ip address of router on local network (will be overwritten if dhcp_init is called)
|
|
|
|
cfg_dns: .byte 0, 0, 0, 0 ; ip address of dns server to use (will be overwritten if dhcp_init is called)
|
|
|
|
dhcp_server: .byte 0, 0, 0, 0 ; will be set address of dhcp server that configuration was obtained from
|
|
|
|
cfg_tftp_server: .byte $ff, $ff, $ff, $ff ; ip address of server to send tftp requests to (can be a broadcast address)
|
|
|
|
|
|
|
|
|
2013-12-13 21:24:03 +00:00
|
|
|
|
2013-12-27 13:57:56 +00:00
|
|
|
; -- LICENSE FOR config.s --
|
2013-12-13 21:24:03 +00:00
|
|
|
; The contents of this file are subject to the Mozilla Public License
|
|
|
|
; Version 1.1 (the "License"); you may not use this file except in
|
|
|
|
; compliance with the License. You may obtain a copy of the License at
|
|
|
|
; http://www.mozilla.org/MPL/
|
2013-12-27 13:57:56 +00:00
|
|
|
;
|
2013-12-13 21:24:03 +00:00
|
|
|
; Software distributed under the License is distributed on an "AS IS"
|
|
|
|
; basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
|
|
|
; License for the specific language governing rights and limitations
|
|
|
|
; under the License.
|
2013-12-27 13:57:56 +00:00
|
|
|
;
|
2013-12-13 21:24:03 +00:00
|
|
|
; The Original Code is ip65.
|
2013-12-27 13:57:56 +00:00
|
|
|
;
|
2013-12-13 21:24:03 +00:00
|
|
|
; The Initial Developer of the Original Code is Per Olofsson,
|
|
|
|
; MagerValp@gmail.com.
|
|
|
|
; Portions created by the Initial Developer are Copyright (C) 2009
|
2013-12-27 13:57:56 +00:00
|
|
|
; Per Olofsson. All Rights Reserved.
|
2013-12-13 21:24:03 +00:00
|
|
|
; -- LICENSE END --
|