Commit graph

128 commits

Author SHA1 Message Date
Renze Nicolai
3a63e59751 Refactoring 2022-05-30 23:56:23 +02:00
Robot
d61750ceed
Merge pull request #47 from badgeteam/wifi_test
Basic scanning routines finished
2022-05-30 18:09:47 +02:00
Renze Nicolai
e870c4e5b5
Merge pull request #46 from badgeteam/tnt/psram-turbo
sdkconfig: Run PSRAM at 80 MHz
2022-05-29 18:38:23 +02:00
Sylvain Munaut
fa65756315 sdkconfig: Run PSRAM at 80 MHz
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-28 19:37:34 +02:00
Frans Faase
6e3dc8299d
Merge pull request #45 from badgeteam/tnt/spi-keys
Small fixes for the SPI key report mechanism
2022-05-28 19:36:39 +02:00
Sylvain Munaut
db3d5365aa fpga_download: Fix endianness of key report SPI messages
SPI uses big endian conventionally.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-28 19:22:33 +02:00
Sylvain Munaut
c3ce551769 fpga_download: Remove debug messages
Those are left over and can't even be uncommented (causes compilation
to fail).

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-28 19:22:33 +02:00
RobotMan2412
aa344a1d6c Add missing import. 2022-05-28 15:53:31 +02:00
RobotMan2412
d5af8b6325 Finish basic scanning routines. 2022-05-28 15:44:03 +02:00
Frans Faase
01f9292fbf Forward button presses to FPGA in FPGA download mode (3) #43
Did some code clean-up. Also updated fpga.py. Will now show
messages send through serial USB. Might aid debugging.
2022-05-26 21:12:33 +02:00
Frans Faase
c6b04d5b3e Forward button presses to FPGA in FPGA download mode (2) #43
This no longer has the delay as with the previous commit.
Bits are mapped to the following keys:
 0 - joystick down
 1 - joystick up
 2 - joystick left
 3 - joystick right
 4 - joystick press
 5 - home
 6 - menu
 7 - select
 8 - start
 9 - accept
10 - back
2022-05-26 19:27:30 +02:00
Frans Faase
fe9ad7f15d Forward button presses to FPGA in FPGA download mode #43 2022-05-25 21:40:19 +02:00
Robot
ab92043c75
Merge pull request #42 from badgeteam/wifi_test
Prepare for enterprise WiFi.
2022-05-25 17:09:10 +02:00
RobotMan2412
64da1576ad Prepare for enterprise WiFi. 2022-05-24 14:35:05 +02:00
Renze Nicolai
1b0fd5da10
Merge pull request #41 from badgeteam/renze/i2c
FPGA bugfix (and use component branches with some i2c fixes in them)
2022-05-23 20:51:37 +02:00
Renze Nicolai
af2a037d7c Fixes and tests 2022-05-20 01:23:53 +02:00
Renze Nicolai
e2e7f797dd
Merge pull request #40 from badgeteam/bme680_stub
Add BME680 stub and update submodules
2022-05-18 23:28:53 +02:00
Renze Nicolai
e4e6c76546 Add BME680 stub and update submodules 2022-05-18 23:28:00 +02:00
Renze Nicolai
7d8e2261d2
Merge pull request #38 from badgeteam/Mecrisp-patch-1
Update README.md
2022-05-18 22:58:54 +02:00
Renze Nicolai
44aa0c6855
Merge pull request #39 from badgeteam/renze/fpgatool
Add FPGA bitstream uploading tool
2022-05-18 22:58:46 +02:00
Renze Nicolai
4e42133b6e Add FPGA bitstream uploading tool 2022-05-18 22:55:33 +02:00
Renze Nicolai
76fbf0dfb1
Merge pull request #37 from badgeteam/tnt/fpga-turbo
Turbo SPI mode and better SPI testing to match
2022-05-18 21:11:51 +02:00
Matthias Koch
fdeaed591f
Update README.md
Added instructions for making the firmware.
2022-05-18 20:31:40 +02:00
Sylvain Munaut
eb28403e74 fpga_test: Better SPI test routine
We do longer transfers, actually check the data automatically and
report errors, and also execute the test 128 times to build some
confidence it's working reliably.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-17 11:03:59 +02:00
Sylvain Munaut
9489194e27 Update components for iCE40 turbo tx mode
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-17 11:03:59 +02:00
Sylvain Munaut
4a49fc22b7 fpga_test: Import updated selftest bitstream
This includes a tiny change to improve margin when receiving
SPI at very high speeds.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-17 11:03:48 +02:00
Sylvain "tnt" Munaut
a8f12b24a2
Merge pull request #34 from badgeteam/tnt/fpga-prep
A couple of tweak preparing for future FPGA work
2022-05-16 23:37:54 +02:00
Renze Nicolai
ac19bf687a
Merge branch 'master' into tnt/fpga-prep 2022-05-16 23:22:53 +02:00
Robot
7dd5adf3e0
Merge pull request #36 from badgeteam/text_fix
Fix a text rendering bug in PAX.
2022-05-16 23:22:01 +02:00
RobotMan2412
6f9cfa61c9 Fix a text rendering bug in PAX. 2022-05-16 23:14:40 +02:00
Renze Nicolai
3756bcc01b
Merge pull request #35 from badgeteam/renze/fpga
Add FPGA download mode
2022-05-16 23:08:00 +02:00
Renze Nicolai
4adce1006a Add FPGA download mode 2022-05-16 23:07:30 +02:00
Sylvain Munaut
3499d6dea4 fpga_test: Simplify LCD handover
It's all handled by the deinit

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-16 22:06:26 +02:00
Sylvain Munaut
7ae0bae773 components: Update spi-ili9341
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-16 22:06:26 +02:00
Sylvain Munaut
1fb0e3f6cc build: Split source file on multiple lines
Makes it easier to read and also better for merge/rebase
commits that add source files

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-16 22:06:26 +02:00
Renze Nicolai
6ba6ec5004
Merge pull request #33 from badgeteam/renze/rp2040blfix
Workaround for RP2040 update bug
2022-05-16 22:02:53 +02:00
Renze Nicolai
94dbd4834c Workaround for RP2040 update bug 2022-05-16 22:02:11 +02:00
Renze Nicolai
158d30eaa7
Merge pull request #32 from badgeteam/renze/uid
Add RP2040 UID reading function
2022-05-15 22:02:20 +02:00
Renze Nicolai
764165f7ba Add RP2040 UID reading function 2022-05-15 22:01:40 +02:00
Robot
1dafe38d90
Merge pull request #31 from badgeteam/update_pax
Update PAX to the LESS WARNINGS version
2022-05-15 11:54:46 +02:00
RobotMan2412
402689b7fb Update PAX to the LESS WARNINGS version 2022-05-15 11:51:11 +02:00
Renze Nicolai
3163a4d633
Merge pull request #30 from badgeteam/renze/bsp-submodule
Update submodules
2022-05-15 03:21:47 +02:00
Renze Nicolai
eea56aabee Update submodules 2022-05-15 03:21:25 +02:00
Renze Nicolai
f4f7f236ff
Merge pull request #29 from badgeteam/renze/bsp-submodule
Renze/bsp submodule
2022-05-15 03:03:25 +02:00
Renze Nicolai
247b0a269d Update names of SD card GPIO pins 2022-05-15 03:02:49 +02:00
Renze Nicolai
f25278d3d9 Update bsp submodule 2022-05-15 02:59:35 +02:00
Renze Nicolai
7d49cee648 Add board support component submodule 2022-05-15 02:52:09 +02:00
Renze Nicolai
5ec8d0b912 Remove board support component 2022-05-15 02:51:51 +02:00
Robot
0d8f36d6f4
Merge pull request #28 from badgeteam/update_pax
Update PAX graphics to latest
2022-05-15 00:31:38 +02:00
RobotMan2412
a551a826c0 Update PAX to the NEW CONST(tm) version. 2022-05-15 00:22:15 +02:00