Commit graph

187 commits

Author SHA1 Message Date
Renze Nicolai e1030d1363 Disable sensor init and make boot much faster 2022-06-01 23:35:22 +02:00
Renze Nicolai 9bc2efd1c8 Fix redraw and back button behaviour for file browser 2022-06-01 23:33:34 +02:00
RobotMan2412 799cd513b0 The WiFi menu is almost finished. 2022-06-01 18:29:44 +02:00
RobotMan2412 15707599de Basic WiFi scan menu done 2022-06-01 11:30:02 +02:00
Renze Nicolai cb475bea49
Merge pull request #49 from badgeteam/renze/refactoring
Refactoring
2022-05-31 22:47:28 +02:00
Renze Nicolai 2cc0b5dca4 Update RP2040 firmware 2022-05-31 22:38:51 +02:00
Renze Nicolai 8e506008d3 Update FPGA selftest firmware, fix compilation issues 2022-05-31 22:35:51 +02:00
Sylvain Munaut 68da02427c New FPGA self test routine
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-05-31 22:27:22 +02:00
Renze Nicolai a1ae09acdd Move every menu thing from main to a separate file 2022-05-31 22:10:08 +02:00
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