Skip to content
Snippets Groups Projects
Forked from card10 / firmware
Source project has a limited visibility.
  • rahix's avatar
    b8940bcd
    feat(api): Add initial argument passing · b8940bcd
    rahix authored
    
    This allows pycardium to learn which script it should start once it
    boots.  Arguments can only be read before any API calls are made.
    Afterward they are lost.
    
    To ensure they won't collide with anything during a core 1 restart,
    they are offset by 0x20 from the start of the API buffer.
    
    Signed-off-by: default avatarRahix <rahix@rahix.de>
    b8940bcd
    History
    feat(api): Add initial argument passing
    rahix authored
    
    This allows pycardium to learn which script it should start once it
    boots.  Arguments can only be read before any API calls are made.
    Afterward they are lost.
    
    To ensure they won't collide with anything during a core 1 restart,
    they are offset by 0x20 from the start of the API buffer.
    
    Signed-off-by: default avatarRahix <rahix@rahix.de>