Commit Graph

9852 Commits

Author SHA1 Message Date
Jeff Epler 38fd6aea02
Disable synthio on two boards where it doesn't fit 2023-04-25 12:05:54 -05:00
Dan Halbert 5014ddb43c
Merge pull request #7854 from CDarius/m5stack_core2
Add M5Stack Core2
2023-04-20 14:55:33 -04:00
Scott Shawcroft 13bb801211
Fix docs and windows 2023-04-19 15:42:02 -07:00
Scott Shawcroft 66edcf5d03
Add PicoDVI support
PicoDVI in CP support 640x480 and 800x480 on Feather DVI, Pico and
Pico W. 1 and 2 bit grayscale are full resolution. 8 and 16 bit
color are half resolution.

Memory layout is modified to give the top most 4k of ram to the
second core. Its MPU is used to prevent flash access after startup.

The port saved word is moved to a watchdog scratch register so that
it doesn't get overwritten by other things in RAM.

Right align status bar and scroll area. This normally gives a few
pixels of padding on the left hand side and improves the odds it is
readable in a case. Fixes #7562

Fixes c stack checking. The length was correct but the top was being
set to the current stack pointer instead of the correct top.
Fixes #7643

This makes Bitmap subscr raise IndexError instead of ValueError
when the index arguments are wrong.
2023-04-19 15:14:02 -07:00
Scott Shawcroft 09c2c5ef0e
Merge pull request #7876 from thess/CORS-update
Simplify CORS checks and don't restrict host names.
2023-04-19 11:07:34 -07:00
Dan Halbert e105bf1690
Merge pull request #7879 from milindmovasha/espressif_analogbufio_fix
Bug fixes for analogbufio espressif implementation
2023-04-19 13:17:59 -04:00
Milind fd1e9cf8f1
1. Changed attenuation from ADC_ATTEN_DB_0 to ADC_ATTEN_DB_11
2. Scaling the 12-bit values received from DMA engine to 16-bit value
2023-04-19 21:46:08 +05:30
CDarius 14ecc44fbc Merge branch 'main' into m5stack_core2 2023-04-19 08:22:10 +00:00
CDarius e5a5a348fd Fixed wrong GPIO number for touch screen interrupt 2023-04-19 08:17:10 +00:00
Ted Hess 8980ebfa16 Simplify CORS checks and don't restrict host names.
Minor socket cleanup.
2023-04-18 22:09:48 -04:00
silabs-BelaV 4e25a4f6b3
Silabs' new Pull Request for submoduling the ports/silabs/tools/slc_cli_linux/ (#7874)
Doing a squash merge to avoid having the `slc_cli_linux` .zip files in the history. They were added in one commit and removed and replaced with a submodule in another.

* Initial commit for xg24

* Fix SLC issue

* Fix SLC extract fail

* Change board's name

* Correct spelling of code

Build immediately after slc generate

* Remove VID and PID

* Change creator and creation id

* Apply new creator_id and creation_id

* Update makefile, error message, mcu_processor function

* Update mpconfigboard.mk

* Update Board extensions, PORT_DEPS

* Update makefile

* Add exclude_patterns

* Show java, jinja2 version

* Show path for debugging CI

* Add requirements-dev for slc

* Add PATH slc_cli

* Update background function

* Add jinja2 PATH

* Show PATH

* Update jinja2 path

* Update jinja2 path

* Update jinja2 path

* Update jinja2 path

* Change slc folder

* Change markupsafe folder

* Add symbolic link for slc

* Update makefile

* Update makefile

* Update MX25R3235F.toml from submodule nvm.toml

* alphabetize the list

* Remove slc_cli_linux folder

* Update slc_cli submodule

---------

Co-authored-by: Chat Nguyen <cvnguyen@silabs.com>
Co-authored-by: silabs-ChatNguyen <chat.nguyen@silabs.com>
Co-authored-by: silabs-ChatNguyen <126220343+silabs-ChatNguyen@users.noreply.github.com>
2023-04-18 12:42:16 -04:00
CDarius d765efd71c Moved EXTEN and DCDC2 on register 0x12 2023-04-14 13:08:52 +00:00
CDarius 681eb66824 Fixed DCDC2 output voltage register 2023-04-14 13:02:51 +00:00
CDarius 32ffdcdc7c Fix I2S pins 2023-04-14 08:02:56 +00:00
CDarius ed86f710c2 Refactored AXP192 code and moved under ports/espressif 2023-04-13 13:45:56 +00:00
CDario 88644613b5 Add M5Stack Core2 2023-04-11 12:29:43 +00:00
Scott Shawcroft 06aa426e76
Merge pull request #7849 from stonehippo/micromod-samd51-update
Update pins to include UART1 RTS and CTS
2023-04-10 10:30:24 -07:00
Bill Sideris 20f84767dd
Merge branch 'adafruit:main' into YD_ESP32_S3 2023-04-09 01:32:21 +03:00
George White c37af65ee1
Update pins to include UART1 RTS and CTS
Previous pins definition stated that the UART1 RTS and CTS were not connected. They are connected and can currently be used via A1 and PWM0 respectively. To make things a little clearer, enabling the RTS1/CTS1.
2023-04-08 16:29:50 -04:00
Scott Shawcroft bc30475d09
Fix frequencyio 2023-04-07 12:02:54 -07:00
Scott Shawcroft 097af804cd
Fix ticks
In #7497 port_background_task was renamed to port_background_tick
but the actual call site wasn't changed. This meant that it was
no longer called!

Rename more functions from task to tick to make it clearer which is
which.
2023-04-07 09:49:51 -07:00
Scott Shawcroft 76f9c187e0
Merge pull request #7843 from waptang/Waveshare_RP2040-LCD-0.96
Add Waveshare RP2040-LCD-0.96
2023-04-07 09:10:57 -07:00
Bill Sideris 42ab93fa4c
YD_ESP32_S3 2023-04-07 18:34:10 +03:00
John Sanders af35337136 Add Waveshare RP2040-LCD-0.96 2023-04-07 03:24:30 -07:00
MicroDev 50e259fefc
Merge pull request #7836 from thess/rfc-web-server
RFC: Web Workflow reliability and performance improvements
2023-04-07 09:20:37 +05:30
Jeff Epler 081e9b995e
samd51 can also handle 12 voices @ 24kHz! 2023-04-06 08:55:00 -05:00
Jeff Epler 046397aaff
sort block of settings 2023-04-06 08:54:49 -05:00
Scott Shawcroft 6df88ac948
Merge pull request #7825 from jepler/better-synthio
Better synthio
2023-04-05 12:23:10 -07:00
Ted Hess 9825b7fbb7 Web Workflow sockets and threads handling improvements.
Fixes polling thread looping forever hangs preventing new connections.
Don't lose listening sockets on mp resets and re-init.
Keep better separation of "system" and "user" sockets.
Track socket states to prevent re-use of sockets before closed.
Close REST socket when transaction completes. No post-init.
Remove unnecessary state flags.
2023-04-05 13:50:42 -04:00
Dan Halbert a8ea8ea81a
Merge pull request #7834 from dhalbert/adafruit-feather-rp2040-can
Add Adafruit Feather RP2040 CAN
2023-04-05 13:25:19 -04:00
Jeff Epler 685fdf29e3
remove include directory that doesn't exist 2023-04-05 10:31:05 -05:00
Jeff Epler 4c7b962d16
Increase synthio channels to 12 on rp2040
with the AudioMixer workaround for #7837 this appears to work
even up to 48kHz.
2023-04-05 10:30:57 -05:00
Jeff Epler b9dea05dbf
Enable audiomixer on unix port, for testing 2023-04-05 09:02:03 -05:00
Dan Halbert 85cc21adc0 add Adafruit Feather RP2040 USB Host 2023-04-04 19:44:06 -04:00
Dan Halbert 44d7f4e7e1 fix Neopixel for RP2040 CAN 2023-04-04 19:33:39 -04:00
Dan Halbert 5d56ef06e7 Add Adafruit Feather RP2040 CAN 2023-04-04 19:16:39 -04:00
Jeff Epler b011468251
Add synthio.Synthesizer
In contrast to MidiTrack, this can be controlled from Python code,
turning notes on/off as desired.

Not tested on real HW yet, just the acceptance test based on checking
which notes it thinks are held internally.
2023-04-02 20:37:23 -05:00
Jeff Epler 05cf5213e2
Allow disabling each class in keypad
.. for boards like pewpewm4 which need a specific kind. And need
some space.
2023-04-01 19:22:52 -05:00
Jeff Epler 13e17e6dcd
Make synthio debuggable in unix coverage port 2023-04-01 11:46:36 -05:00
Jeff Epler 02f8a45dfa
synthio: allow increasing number of channels
12 channels works well on metro m7
2023-04-01 11:46:27 -05:00
Dan Halbert 0aacb146ef take wifi.radio.enabled into account 2023-03-31 22:31:41 -04:00
Dan Halbert 5c429320a8 Add wifi.radio.connected, wifi.radio.ap_active 2023-03-31 17:57:53 -04:00
Dogus Cendek 2d48e9b0b7 Fix VID and Local_Hostname of DeneyapKart1A_v2
Fix VID and Local_Hostname of DeneyapKart1A_v2
2023-03-31 11:44:23 +03:00
Dan Halbert b07de078f9
Merge pull request #7818 from CDarius/m5stack_stickc_fixes
M5stack Stick-C fixes
2023-03-30 09:33:07 -04:00
CDario 1ea6d7b9f4 Updatate PMU initializaiton. Increased low battery waring levels and disabled some interrupts 2023-03-30 09:24:52 +00:00
CDario 808df200ab Added pin connected to AXP192 N_VBUSSEN 2023-03-30 09:15:17 +00:00
CDario 24ed20b1fc Fixed boot led inverted status 2023-03-30 09:06:34 +00:00
Dan Halbert b863fba992
Merge pull request #7813 from gneverov/issue_7790
don't set tcp_err callback for listen sockets (fixes #7790)
2023-03-29 17:14:42 -04:00
Dan Halbert 9203b66142
Merge pull request #7815 from bill88t/intercontinental-ballistic-typo
24Mhz -> 240Mhz
2023-03-29 17:12:09 -04:00
Bill Sideris b746fd05ba
24Mhz -> 240Mhz 2023-03-29 23:58:54 +03:00