Terminal program for MailStation devices
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Makefile: Don't assume any default LOC, require it specified

+7 -14
+1 -3
Makefile
··· 23 23 24 24 OBJ?= obj/ 25 25 26 - # either "flash" or "ram" 27 - LOC?= ram 28 - 26 + LOC?= 29 27 .if ${LOC:L} == "flash" 30 28 BASE_ADDR= 0x4000 31 29 .elif ${LOC:L} == "ram"
+6 -11
README.md
··· 9 9 10 10 ### Features 11 11 12 - - Support for controlling the internal modem through typed `AT` comments 12 + - Support for [WiFiStation](https://jcs.org/wifistation) (`SOURCE_WIFI`) 13 + - Support for controlling the internal modem through `AT` comments 14 + (`SOURCE_MODEM`) 13 15 - Support for interfacing with the parallel port like a serial port with 14 16 [`tribble_getty`](https://github.com/jcs/mailstation-tools/blob/master/util/tribble_getty.c) 15 17 on the host side ··· 25 27 Install 26 28 [SDCC](http://sdcc.sourceforge.net/). 27 29 28 - Create an `obj` directory with `mkdir obj` and then run `make`. 30 + Create an `obj` directory with `mkdir obj` and then run `make LOC=ram` to 31 + compile to run out of RAM (from Loader). 29 32 30 33 Then transfer `obj/msterm.bin` to the MailStation with 31 34 [Loader](https://github.com/jcs/mailstation-tools) 32 35 which will put the application into `0x8000`. 33 36 34 - ### Flashing to `dataflash` 35 - 36 - Edit `Makefile` to change the `--code-loc` argument to `sdcc` to expect to run 37 - from the `0x4000` area, as well as the `.org` line in `crt0.s`. 38 - 39 - Load the compiled `obj/msterm.bin` to the `dataflash` with 40 - [dataflashloader.asm](https://github.com/jcs/mailstation-tools/blob/master/dataflashloader.asm). 41 - 42 37 ### License 43 38 44 - Copyright (c) 2019-2020 [joshua stein](https://jcs.org/) 39 + Copyright (c) 2019-2021 [joshua stein](https://jcs.org/) 45 40 46 41 Permission to use, copy, modify, and distribute this software for any 47 42 purpose with or without fee is hereby granted, provided that the above