Commit graph

89 commits

Author SHA1 Message Date
RobotMan2412
e85e52e11f Remove errant includes. 2022-06-09 08:50:15 +02:00
RobotMan2412
1ed24d6faf Include the WiFi code for convenience. 2022-06-09 08:39:28 +02:00
RobotMan2412
668c03d4b0 Make the demo feature the buttons a bit and add more color. 2022-06-08 19:26:34 +02:00
RobotMan2412
c3d3ee6c96 Rename this more inline with the launcher FW. 2022-06-08 16:42:04 +02:00
RobotMan2412
f9daf1868d MORE DEMO APP 2022-06-08 16:24:28 +02:00
Renze Nicolai
ecfa663110 Add better fault indication 2022-06-06 04:01:49 +02:00
Renze Nicolai
5c4e99738c Update RP2040 firmware 2022-06-06 04:01:37 +02:00
Renze Nicolai
0f660dca5d Fix percentage calculation for battery 2022-06-06 04:01:20 +02:00
Renze Nicolai
dbbeb6df44 Check USB and battery voltages during factory test 2022-06-06 01:08:07 +02:00
Renze Nicolai
57a9b0c32e Add webusb mode 2022-06-06 01:07:58 +02:00
Renze Nicolai
3bc3cd4420 Webusb mode 2022-06-05 02:28:13 +02:00
Renze Nicolai
04e6eb8ba3 Green! 2022-06-04 16:20:10 +02:00
Renze Nicolai
3da15dd4ed Add ADC reading 2022-06-04 02:30:23 +02:00
Renze Nicolai
9f36d027a2 Use PROJECT_VER variable for version, display version on main menu 2022-06-03 07:17:22 +02:00
Renze Nicolai
a123f04ecf Increase stack size for main task and undo changes to ota 2022-06-03 07:00:06 +02:00
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