using viper decorator

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
Ephreal
Posts: 28
Joined: Tue Jan 15, 2019 1:41 pm

using viper decorator

Post by Ephreal » Thu Sep 23, 2021 3:52 pm

Hi

I'm trying to use the @micropython.viper decorator on a function in my code. The code_file resides in frozen folder.
I get compile error when trying to compile it and it seems that its a known bug.

Where do i put script files with these decorators, in memzip folder ?

Regards

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: using viper decorator

Post by Roberthh » Thu Sep 23, 2021 4:50 pm

Which board do you use?

Ephreal
Posts: 28
Joined: Tue Jan 15, 2019 1:41 pm

Re: using viper decorator

Post by Ephreal » Fri Sep 24, 2021 7:46 am

I'm using a custom build for the NIOS II processor

Ephreal
Posts: 28
Joined: Tue Jan 15, 2019 1:41 pm

Re: using viper decorator

Post by Ephreal » Fri Sep 24, 2021 9:33 am

seems I got it working. might have been a syntax error though the debug information is not that great

Post Reply