Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Badger2040w #633

Merged
merged 46 commits into from
Feb 16, 2023
Merged

Badger2040w #633

merged 46 commits into from
Feb 16, 2023

Conversation

Gadgetoid
Copy link
Member

@Gadgetoid Gadgetoid commented Jan 12, 2023

This PR includes a new firmware build for Badger2040w. It has several crucial changes which differ from or outright break compatibility with the regular Badger 2040-

  • the launcher and examples are now included as an (optional) appended filesystem where the user can see and modify them directly.
  • Badger 2040W uses PicoGraphics rather than Badger's own custom graphics library. PicoGraphics (currently) does not support pen "thickness." (edit: except for Hershey fonts where it has been specifically enabled)
  • examples have been updated to use PicoGraphics via a "badger2040w" library that attempts to shim compatibility for stuff that's missing from PicoGraphics (drawing icons and images from data, for example) and catch calls to functions which don't exist in PicoGraphics (thickness, invert, etc)

Questions

  • Is the "badger2040w" shim a good idea if it hides PicoGraphics?
  • What example(s) could be added to showcase WiFi functionality?

TODO

  • get launcher icons loading from JPEG files
  • get the launcher working & tested
  • need icons for "Network Info" and "News"
  • get LED working
  • drop battery meter from launcher, add WiFi connection status indicator maybe?
  • get "halt" working
  • test wakeup GPIO state etc works
  • can we do anything about "thickness"?
  • port and test remaining examples- are any (other than ntptime in the clock) suitable for WiFi connectivity?

@Gadgetoid Gadgetoid force-pushed the feature/badger2040w branch 12 times, most recently from 6130746 to 8e591cf Compare January 19, 2023 12:21
@ZodiusInfuser ZodiusInfuser added documentation Improvements or additions to documentation [- pico graphics library -] micropython This issue or request relates to micropython (either code or bindings) c++ This issue or request relates to C++ code labels Jan 20, 2023
@Gadgetoid Gadgetoid force-pushed the feature/badger2040w branch 11 times, most recently from 27dcfbb to 2bfbbcc Compare January 31, 2023 15:31
@Gadgetoid Gadgetoid force-pushed the feature/badger2040w branch 2 times, most recently from ef8951c to 7c0f4d7 Compare February 7, 2023 15:56
@ZodiusInfuser ZodiusInfuser merged commit 943ea13 into main Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[- pico graphics library -] c++ This issue or request relates to C++ code documentation Improvements or additions to documentation micropython This issue or request relates to micropython (either code or bindings)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants