Commit graph

74 commits

Author SHA1 Message Date
Renze Nicolai
f476ceb3a9 Put OTA update in separate task because of stack overflow 2022-06-03 06:15:26 +02:00
Renze Nicolai
e2fc23eed3 Add button test 2022-06-03 05:59:42 +02:00
Renze Nicolai
5ff7e84997 Move factory test to after RP2040 init and RP2040 firmware update steps 2022-06-03 05:35:42 +02:00
Renze Nicolai
2782665ad8 Add menu item and placeholder action for hatchery 2022-06-03 04:39:49 +02:00
Renze Nicolai
0ed007e3f0 Theming and animation 2022-06-03 04:23:00 +02:00
Renze Nicolai
cf5f513f10 Factory test and a couple of bugfixes 2022-06-03 01:30:50 +02:00
RobotMan2412
7eb02421b1 Don't forget to change the buffer size to reasonable! 2022-06-02 13:55:22 +02:00
RobotMan2412
0eb80a94cf Migrate pax-keyboard to ESP-IDF module. 2022-06-02 13:48:20 +02:00
RobotMan2412
df361e8d6d Update keyboard. 2022-06-02 13:31:24 +02:00
RobotMan2412
872fd5da67 Update UI fonts. 2022-06-02 13:10:56 +02:00
RobotMan2412
4960e10283 Update UI fonts. 2022-06-02 12:39:19 +02:00
Renze Nicolai
a0181292a0 Small fixes 2022-06-02 02:06:05 +02:00
Renze Nicolai
587b1d9a49 Small fixes 2022-06-02 02:02:55 +02:00
Renze Nicolai
501c1b5752 Add RP2040 firmware with version set to 2 2022-06-02 01:58:10 +02:00
Renze Nicolai
0f75e5db6e Show progress indicator during OTA update process 2022-06-02 00:26:49 +02:00
Renze Nicolai
7448c6d23a
Merge pull request #50 from badgeteam/wifi_test
WiFi
2022-06-01 23:44:57 +02:00
Renze Nicolai
2ba444477c Return result, disable PMOD plug test 2022-06-01 23:36:33 +02:00
Renze Nicolai
1caca379f1 Set menu color to black for launcher and settings menus 2022-06-01 23:35:50 +02:00
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
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
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
RobotMan2412
64da1576ad Prepare for enterprise WiFi. 2022-05-24 14:35:05 +02:00
Renze Nicolai
af2a037d7c Fixes and tests 2022-05-20 01:23:53 +02:00
Renze Nicolai
e4e6c76546 Add BME680 stub and update submodules 2022-05-18 23:28:00 +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
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
Renze Nicolai
ac19bf687a
Merge branch 'master' into tnt/fpga-prep 2022-05-16 23:22:53 +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
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
94dbd4834c Workaround for RP2040 update bug 2022-05-16 22:02:11 +02:00
Renze Nicolai
764165f7ba Add RP2040 UID reading function 2022-05-15 22:01:40 +02:00
Renze Nicolai
247b0a269d Update names of SD card GPIO pins 2022-05-15 03:02:49 +02:00
Renze Nicolai
8df4f62d51 Add internal filesystem support 2022-05-15 00:15:45 +02:00
Renze Nicolai
afcac1557b Remove framebuffer pointer from function calls, implement file browser that can install binaries and an uninstaller 2022-05-14 19:32:14 +02:00
Renze Nicolai
0c51951cc8 Add OTA update function 2022-05-14 00:19:15 +02:00