about summary refs log tree commit diff stats
path: root/Makefile.wii
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-09-16 16:11:15 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-09-16 16:11:15 -0400
commit4fe95cc1e7412e309d026e53cd44239bd3ef031d (patch)
treec1b711ed5a81976d9054da6205f5f9b2c3133248 /Makefile.wii
parente2a76d1f0fd978f285edf1dbc0f6e87cf89c63ce (diff)
downloadgen3uploader-4fe95cc1e7412e309d026e53cd44239bd3ef031d.tar.gz
gen3uploader-4fe95cc1e7412e309d026e53cd44239bd3ef031d.tar.bz2
gen3uploader-4fe95cc1e7412e309d026e53cd44239bd3ef031d.zip
Wii can now send a POST request to a website
The extractor now uses libfat to read a config file off the root of the
SD card, a model for which is included in the repository. The extractor
is capable of negotiating an HTTPS connection, but it requires a
download of the target site's root CA certificate to be on the SD card
and pointed at by the config file. TLS/SSL functionality is provided by
wolfSSL. I had to make a couple of minor changes to wolfSSL for it to
work properly, and those changes are located in the devkitpro branch of
my fork, hatkirby/wolfssl.

The Wii program now arranges some of the information that the GBA sends
it into a JSON object, which is then sent off (along with some
authentication information from the config file) to the endpoint defined
in the config file. The code used to maintain the network connection is
from the WiiTweet project, which was licensed under the GPL. Some of the
code used to send the HTTP request also comes from said project.
Diffstat (limited to 'Makefile.wii')
-rw-r--r--Makefile.wii6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.wii b/Makefile.wii index 8e2f2c8..60d072e 100644 --- a/Makefile.wii +++ b/Makefile.wii
@@ -19,7 +19,7 @@ TARGET := gen3uploader_wii
19BUILD := build 19BUILD := build
20SOURCES := source 20SOURCES := source
21DATA := data 21DATA := data
22INCLUDES := source include 22INCLUDES := source include vendor/include
23 23
24#--------------------------------------------------------------------------------- 24#---------------------------------------------------------------------------------
25# options for code generation 25# options for code generation
@@ -33,14 +33,14 @@ LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map
33#--------------------------------------------------------------------------------- 33#---------------------------------------------------------------------------------
34# any extra libraries we wish to link with the project 34# any extra libraries we wish to link with the project
35#--------------------------------------------------------------------------------- 35#---------------------------------------------------------------------------------
36LIBS := -logc 36LIBS := -lfat -logc -lwolfssl -lm
37 37
38 38
39#--------------------------------------------------------------------------------- 39#---------------------------------------------------------------------------------
40# list of directories containing libraries, this must be the top level containing 40# list of directories containing libraries, this must be the top level containing
41# include and lib 41# include and lib
42#--------------------------------------------------------------------------------- 42#---------------------------------------------------------------------------------
43LIBDIRS := $(DEVKITPPC)/lib $(CURDIR) 43LIBDIRS := $(DEVKITPPC)/lib $(CURDIR) $(CURDIR)/vendor
44 44
45#--------------------------------------------------------------------------------- 45#---------------------------------------------------------------------------------
46# no real need to edit anything past this point unless you need to add additional 46# no real need to edit anything past this point unless you need to add additional